T.J. Posted June 5, 2012 Posted June 5, 2012 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
eos Posted June 5, 2012 Posted June 5, 2012 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now