AP (Payable) Invoice and Payment details Query
Below given query will fetch details for Payable invoice along with its payments details. It will fetch details like invoice number, currency code, date, supplier name, invoice amount, line amount, term name, check number ,PO number, payment details, operating unit and ledger details. Query : select aia.invoice_num, aia.invoice_currency_code, aia.invoice_date, aps.vendor_name, aila.line_number, aia.invoice_amount, aila.amount line_amount, pha.segment1 po_number, aila.line_type_lookup_code, apt.name Term_name, gcc.concatenated_segments distributed_code_combinations, aca.check_number, aipa.amount payment_amount,...