_hello
This is the first post for me
I have a database for the
Aging receivables
The problem is:When I make run "Qage"query that calculates Aging receivables depends on "id" field "Gltrans"table look in " Q1" query but I want calculates Aging receivables depends on "Opdate"
The difference lies in the following example which i annexed to the bottom
Customer 7 his balance is 3003
As follows details
3000 £ from 1-30 days
3 £ more than 90 days
But when I run "Qage" query the result is
3 £ from 1-30
3000 more than 90 days
Because the transaction dated 1/1/2016 3000£ contain largest number of id then the query consider it last transaction nor consider the date
Thus the result is wrong
I hope Work necessary modification
Thanks
This is the first post for me
I have a database for the
Aging receivables
The problem is:When I make run "Qage"query that calculates Aging receivables depends on "id" field "Gltrans"table look in " Q1" query but I want calculates Aging receivables depends on "Opdate"
The difference lies in the following example which i annexed to the bottom
Customer 7 his balance is 3003
As follows details
3000 £ from 1-30 days
3 £ more than 90 days
But when I run "Qage" query the result is
3 £ from 1-30
3000 more than 90 days
Because the transaction dated 1/1/2016 3000£ contain largest number of id then the query consider it last transaction nor consider the date
Thus the result is wrong
I hope Work necessary modification
Thanks
Attachments
Last edited: