J
jdbit2byte
I need help trying to determine if a customer has made a payments on their
account within set amounts of time:
Example:
Current: Date() < 30 days since payment
30 Days: Date() >= 30 days and < 60 days since payment
60 Days: Date() >= 60 days and < 90 days since payment
90 Days: Date() >= 90 days and < 100 days since payment
Credit Hold: Date() >= 100 days since payment
There is also the calculation for if their Payments are Equal with their
purchases
(meaning there is no balance on their account)
I have tried lots of date math and formatting but keep getting all sorts of
errors. The code is lengthy so I can fill in the blanks if someone just
wants to give me an example.
Thanks,
JD
account within set amounts of time:
Example:
Current: Date() < 30 days since payment
30 Days: Date() >= 30 days and < 60 days since payment
60 Days: Date() >= 60 days and < 90 days since payment
90 Days: Date() >= 90 days and < 100 days since payment
Credit Hold: Date() >= 100 days since payment
There is also the calculation for if their Payments are Equal with their
purchases
(meaning there is no balance on their account)
I have tried lots of date math and formatting but keep getting all sorts of
errors. The code is lengthy so I can fill in the blanks if someone just
wants to give me an example.
Thanks,
JD