Newbies Cynron Posted January 3, 2005 Newbies Posted January 3, 2005 I'm trying to convince my boss to switch over to a FM7 billing/invoice system of my creation, but I can't figure out how to age outstanding invoices. I've gotten as far as converting the creation date into a number which I thought I could use to calculate vs. a current date. Now I see when the year turns it goes back to 1. Please help...
Ender Posted January 3, 2005 Posted January 3, 2005 Welcome Cynron, I would stick with date fields, calculating the parent key by Get(CurrentDate) - 30, 60, or 90. The relationship would look something like: Interface <=> Invoice Interface::ParentKey_DateLess30 >= Invoice::Date AND Interface::ParentKey_DateLess60 < Invoice::Date AND Interface::gStatusOpen = Invoice::Status Where gStatusOpen is a global with text "Open" (or whatever you use to indicate an unpaid invoice.)
Newbies Cynron Posted January 3, 2005 Author Newbies Posted January 3, 2005 Thank you! I don't exactly understand everything youv'e written (I'm kinda new to this) but I get the gist. I appreciate the help. Thanks again.
Recommended Posts
This topic is 7333 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 accountSign in
Already have an account? Sign in here.
Sign In Now