Hello,
I am working on using SQL in GP10 to pull the following information for all of the invoices on a particular check:
Invoice Number (docnumbr?)
Outstanding Amount (?)
Net Paid Amount (APFRMAPLYAMT?)
Discount Taken (APFRMDISCTAKEN)
Net Check Amount (?)
I also need information off of the check header. I have found most of this data on the "Apply To History" table (PM30300), but I have a feeling that I will need to join on the invoice header record from PM30200 (and possibly PM20000 as well). I'm trying to figure out where the join points are and which columns are best to look at for each of these pieces of data.
Thanks in advance for any help you can provide.
I am working on using SQL in GP10 to pull the following information for all of the invoices on a particular check:
Invoice Number (docnumbr?)
Outstanding Amount (?)
Net Paid Amount (APFRMAPLYAMT?)
Discount Taken (APFRMDISCTAKEN)
Net Check Amount (?)
I also need information off of the check header. I have found most of this data on the "Apply To History" table (PM30300), but I have a feeling that I will need to join on the invoice header record from PM30200 (and possibly PM20000 as well). I'm trying to figure out where the join points are and which columns are best to look at for each of these pieces of data.
Thanks in advance for any help you can provide.