Using Crystal Reports 10 and SQL2008 DB (Dynamics GP backend accounting software). I am trying to recreate customer statements that are produced within Dynamics GP.
I want it to look similar to this:
Document # Code Date Debit Credit Balance
517020 Sale 12/12/08 1900.00 1900.00
000001 Payment 1/1/09 196.21 1703.79
000002 Payment 2/1/09 350.00 1353.79
517021 Sale 3/15/09 750.00 2103.79
Table RM20101 contains all the open receivable transactions and then RM20201 contains the applied payment information to the transaction in RM20101.
In the above example document 517020 and 517021 are in RM20101 as open transactions and 000001 and 000002 are in RM20201 as applied payments against 517020.
I am grouping on Rm20101 document number field and then the detail section is the applied payments. The problem is the balance field. How can I calculate the balance as a running total since the sales portion is in the header and the applied payment information is in the detail and then it moves back to the header for the next document number?
Could I arrange this a different way to accomplish it easier?
Thanks!
I want it to look similar to this:
Document # Code Date Debit Credit Balance
517020 Sale 12/12/08 1900.00 1900.00
000001 Payment 1/1/09 196.21 1703.79
000002 Payment 2/1/09 350.00 1353.79
517021 Sale 3/15/09 750.00 2103.79
Table RM20101 contains all the open receivable transactions and then RM20201 contains the applied payment information to the transaction in RM20101.
In the above example document 517020 and 517021 are in RM20101 as open transactions and 000001 and 000002 are in RM20201 as applied payments against 517020.
I am grouping on Rm20101 document number field and then the detail section is the applied payments. The problem is the balance field. How can I calculate the balance as a running total since the sales portion is in the header and the applied payment information is in the detail and then it moves back to the header for the next document number?
Could I arrange this a different way to accomplish it easier?
Thanks!