Gezzat
asked on
Aging Report in ORACLE or MSSQL
Hi all,
I have a bit of a scenario for which I'd really appreciate some help.
I have a database that has client invoices that are churned out on a monthly basis, clients pay against these invoices. However, some clients sometimes don't pay or pay less than the invoiced amounts, some still, pre-pay.
Now, I need to do a debtors aging report showing the distrubution of debts between today (current) and over120 days. I'm able to pull out all my invoiced amounts correctly to allocate them to the correct time bands (30days, 60days, 90days, 120days and over120) but I keep getting errors when it comes to over120 days payments.
Any chance someone has the English query for aging so that I could adapt it to either Oracle or SQL?
Any help offered most appreciated!
Regards,
Gezzat
I have a bit of a scenario for which I'd really appreciate some help.
I have a database that has client invoices that are churned out on a monthly basis, clients pay against these invoices. However, some clients sometimes don't pay or pay less than the invoiced amounts, some still, pre-pay.
Now, I need to do a debtors aging report showing the distrubution of debts between today (current) and over120 days. I'm able to pull out all my invoiced amounts correctly to allocate them to the correct time bands (30days, 60days, 90days, 120days and over120) but I keep getting errors when it comes to over120 days payments.
Any chance someone has the English query for aging so that I could adapt it to either Oracle or SQL?
Any help offered most appreciated!
Regards,
Gezzat
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER