I'm sure the solution is an easy one but it's just not coming to me!
I am working with two accts receivable tables. One table has an invoice number and billed transaction detail. The other table also has the invoice number and all the payment transactions applied to that invoice. What I need to do is group the billed detail and the payment detail together by the invoice number.
So, I need transactions that are attached to ROPIT.DOCNUM (which is the invoice number for the billing detail) and the transactions that are attached to RHEADER.NUMBER (the invoice number for the payment detail) to print on the report as one group.
ROPIT.DOCNUM AND RHEADER.NUMBER both represent the invoice number. When a payment comes in (RHEADER) it is applied to the original invoice (ROPIT).
Oh, and this would follow the first group which is the Client's account number. Thanks!!
I am working with two accts receivable tables. One table has an invoice number and billed transaction detail. The other table also has the invoice number and all the payment transactions applied to that invoice. What I need to do is group the billed detail and the payment detail together by the invoice number.
So, I need transactions that are attached to ROPIT.DOCNUM (which is the invoice number for the billing detail) and the transactions that are attached to RHEADER.NUMBER (the invoice number for the payment detail) to print on the report as one group.
ROPIT.DOCNUM AND RHEADER.NUMBER both represent the invoice number. When a payment comes in (RHEADER) it is applied to the original invoice (ROPIT).
Oh, and this would follow the first group which is the Client's account number. Thanks!!