Hi All,
I want to extend the invoices module by adding a print / pdf statement function.
As a basic I think I'm going to duplicate and then edit the report by customer layout / script but having a few issues, which are mostly down to my ropey filemaker scripting knowledge and wondered if anyone could help.
What I'd like to achieve is that by clicking on the statement button (currently the envelope button, which we don't use) a statement would be generated for just the company that is currently showing in the main window.
To do this I think I need to perform 2 script steps, both of which are giving me a few problems:
- Find the current records company so that only records from the currently shown company are included into the find set.
- List all the records that have an invoice balance (ie, omit any with a zero balance)
Any help most appreciated
cheers, Matt
Invoice Statements
2 posts
• Page 1 of 1
Posts: 18
Joined: Mon Feb 04, 2008 3:00 pm Location: UK |
event-staff quality crew, stewards & security for your next event
|
Posts: 2764
Joined: Thu Nov 20, 2003 11:01 am |
Hi Matt,
Sounds like your script needs to perform one Find... Set Variable $Customer, InvContactID_kf Enter Find Mode Set Field, InvContactID_kf ; $Customer New Record / Request Insert Calculated Result, InvAmountBalance ; ">0" Perform Find Be sure to trap for no records found in case the customer has no open balance. Hope that helps, John Sindelar
SeedCode |
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 4 guests