Page 1 of 1

Invoice and purchase order

Posted: Sun Jun 17, 2007 11:40 pm
by masaf
While AP_INVOICES_ALL has invoice info, what table can I join with it to get the Purchase order number for the invoice?

Posted: Mon Jun 18, 2007 12:06 am
by masaf
Answered my own question with Metalink research:

If invoice is matched to a PO, then the po_distribution_id will be populated in ap_invoice_distributions_all table. po_distribution_id is the link between ap_invoice_distributions_all table and PO_Distributions_All table.