bigfatgreedykat Posted July 2, 2007 Posted July 2, 2007 Hello all I've had a call from my accountant he requires a list of all outstanding invoices. I've been able to work out invoices due! Each invoice table has a portal named Payments. When client makes a payment this field/record is completed. I think i can create a script that searches PAYMENTID field but returns results if field is empty! Searching HELP now but if anyone has any advise it will be greatly appreciated! regards BFGK
bigfatgreedykat Posted July 2, 2007 Author Posted July 2, 2007 Hello all I got it sorted finally. Was able to use SET FIELD to search on PAYMENTID then again using SET FIELD to search on Amount Due " = " The " = " searches on empty fields. regards BFGK
bcooney Posted July 2, 2007 Posted July 2, 2007 hi again. Wouldn't outstanding invoices be invoices that have a balance due? Can't you just do a find on the balance due field >0?
Søren Dyhr Posted July 3, 2007 Posted July 3, 2007 SET FIELD to search on Amount Due " = " The " = " searches on empty fields. It make me wonder if not the portal is there to facilitate partial payments, otherwise would just a boolean attribute be sufficient. No! make an aggregate (sum) over the related stuff, and hold it against the invoice sum in a seach via a diff'ing calc'field. Then make a search for those >0 to prevent excess payments mixing up with the open ones. --sd
Recommended Posts
This topic is 6414 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