OK - here's a quick question.
I'm looking for all invoices (in a certain date range) that have been paid. I'm uncertain as to what would be the best way to determine if an invoice is paid.
I was thinking to do one of the following:
1) Take the Invoice DOCAMNT - PYMTRCVD > 0 (not paid)
OR
2) Search for Invoice number in the RM10101, RM20101, RM30101 tables (DOCNUMBR field). -Add up and compare to DOCAMNT.
OR - Suggest something.
Of the two - if either will work of course - it looks like 1) would be the best choice.
I guess the question is - what is the best way to determine if an invoice has been paid.
I'm looking for all invoices (in a certain date range) that have been paid. I'm uncertain as to what would be the best way to determine if an invoice is paid.
I was thinking to do one of the following:
1) Take the Invoice DOCAMNT - PYMTRCVD > 0 (not paid)
OR
2) Search for Invoice number in the RM10101, RM20101, RM30101 tables (DOCNUMBR field). -Add up and compare to DOCAMNT.
OR - Suggest something.
Of the two - if either will work of course - it looks like 1) would be the best choice.
I guess the question is - what is the best way to determine if an invoice has been paid.