Hi
I need help with SQL Query to get outstanding payment still pending with customers sorted by salesman code. All the fields are in a single table.
The result need is as following :-
Over due more than 6 months (180 Days) = 99999 Due amount
Over due more than 3 months (90 days ) = 99999
between 1 and 2 months = 99999
Sorted by salesman code
fields we have invoice date, due amount, last payment date, salesman code all fields in a single table.
Your help appreciated.
Thanks
Zab
I need help with SQL Query to get outstanding payment still pending with customers sorted by salesman code. All the fields are in a single table.
The result need is as following :-
Over due more than 6 months (180 Days) = 99999 Due amount
Over due more than 3 months (90 days ) = 99999
between 1 and 2 months = 99999
Sorted by salesman code
fields we have invoice date, due amount, last payment date, salesman code all fields in a single table.
Your help appreciated.
Thanks
Zab