Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

Sub-summary data embedded in body of an invoice


This topic is 7550 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

I have a client who has thrown me a curve ball...

Simple request... a posting at the bottom of his monthly invoice to his lawn care clients with 0~30, 30~60 and 90+ summaries for overdue accounts... not so simple!!!!

because he only wants to bring up the current month's invoices, not all unpaid invoices...

I gave him the standard: script to find and print current invoices, script to find and sort all past due invoices and print individually by sub-summary aggregate...

Am I missing something?

Posted

Try a self-join on Customer Number.

To make life simple, you probably need to create three new calc fields containing the invoice amount based on the date of that invoice.

Under_30 = Case(date-today < 30, Invoice Amt, 0)

ThirtySixty = Case((date-today) > 20 and (date-today) < 60, Invoice Amt, 0)

Your 0-30 field on your invoice is

Sum(Cust::Under_30) - Invoice Amt

and so on for the other two. You need to subtract the amount for the current invoice because the Sum() will collect all of the records in the relationship, including itself.

  • Newbies
Posted

I have a self-join calc with CoName&CO.ID#&"N" (for not paid) as well as a portal with all the unpaid invoices and a subsummary with 30, 60 and 90 based on a calc of the # of days (Today - Date sent) out the invoice is, so that is fine, but the sub summary 30,60,90 summary fields dont show up unless all the records are present in the found set... : which he doesnt want to have to wade through when sending out this month's invoices... pant pant...

This topic is 7550 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.