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

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

Recommended Posts

Posted

I'm pulling some information from an ERP system which has Invoice Dates and Total Accounts Receivable.

I would like to create a field that is able to identify the last invoice date of the prior month as I would like to set up a Table Occurance and relate this new field to the INV.DATE field of the table occurance in order to pull the Total Accounts Receivable from that date.

Unfortunately as you will see in the example, the invoice date of the prior month is often not on the last day of the month due to weekends and holidays etc.

I'm hoping this can be done with a calculation. If not and this requires a script, I'd appreciate any help with that also.

Thanks

CalculateLastInvDateofPriorMonth.zip

Posted

From the description you want to use the result as the “left side” of a relationship; in this case, a simple calculation won't work, but the field must be stored,

Without knowing your actual workflow, it's hard to make a useful suggestion; check the trigger on the invoice date field, which OnObjectExit updates the “last invoice date”.

CalculateLastInvDateofPriorMonth_new.fmp12.zip

This topic is 4608 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.