I am modifying the check with stub on top and bottom - graphical. I need to show the following on the stub.
Amount (using outstanding amount from the PM_Payment_Stub Duplicate table)
Amount Paid (Using Net paid amount from the PM_Payment_Stub Duplicate table)
Discount Amount (Using Discount amount from the PM_Payment_Stub Duplicate table)
I also need a net check amount. My client wants to show the credit amounts in this field. If I use the net check amount field it shows zeroes for the credit documents.
I created a calc field but it is not quite doing what I need. I first tried to take net paid amount and subtract discount amount but that only works for the invoices because the net paid amount for credit memos is zero. But if I start with the outstanding amount field and then subtract discount amount it doesn’t take the credit memo into account for the net amount paid.
Any way to do this?
an example would be
Invoice
Amount - 5000.00, Amount paid 4925.00, Discount 25.00, Net Amount Paid 4900.00
Credit Memo
Amount - (75.00), Amount Paid (75.00), Discount 0.00, Net Amount Paid (75.00)
*This post is locked for comments