ianmuir Posted June 23, 2010 Posted June 23, 2010 Hi, I have a script that checks the database for debtors. You input start and end date then it looks to see if a job has been invoiced > 30 days , then checks to see if the payment received date field is blank. It then produces a report between the 2 dates you inputted which works O.K. What the boss wants is if an invoice was paid on 17/06/2010 and you run the report from 01/06/2010... 15/06/2010 it still shows on the the report because as of the 15/06/2010 it was not paid. Any ideas?
Vaughan Posted June 23, 2010 Posted June 23, 2010 You need to perform a find with two requests: 1) invoice date: start...end, paid date: = 2) invoice date: start...end, paid date: > end
Recommended Posts
This topic is 5268 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