Introduction: This blog provides a consolidated SQL query that can be used to generate a Supplier Master Details Report in Oracle Apps R12 (Payables). The report gives a complete view of supplier header, supplier sites, payment methods, payment terms, and contact information across integrated modules.
Cause of the issue: In Oracle Apps R12, supplier information is distributed across multiple base and payment-related tables. There is no single standard table or seeded report that provides all supplier-related details in one place. As a result, business users need a custom report to view complete supplier master information in a single output.
How do we solve: Create a custom RDF or Oracle Report / PLSQL-based report in Oracle EBS R12 using a single consolidated SQL query that joins supplier header, supplier site, payment terms, payment methods, and user/contact details. Use the following query to generate the Supplier Master Details report.
How do we solve: Create a PLSQL based report using the following query -.
|
SELECT a.segment1 AS “Supplier Number”, a.vendor_name AS “Supplier Name”, a.vendor_type_lookup_code AS “Supplier Type”, a.vendor_name_alt AS “Supplier Name Alt”, a.num_1099 AS “Taxpayer ID”, DECODE(a.end_date_active, NULL, ‘ACTIVE’, ‘INACTIVE’) AS “Supplier Status”, ( TO_CHAR(a.creation_date, ‘DD-MM-YYYY’) AS “Supplier Creation Date”, NVL( TO_CHAR(a.last_update_date, ‘DD-MON-YYYY’) AS “Supplier Last Update Date”, NVL( b.vendor_site_code AS “Site Code”, TO_CHAR(b.creation_date, ‘DD-MM-YYYY’) AS “Site Creation Date”, NVL( NVL( TO_CHAR(b.last_update_date, ‘DD-MON-YYYY’) AS “Site Last Update Date”, b.supplier_notif_method AS “Site PO Notif Method”, a.pay_group_lookup_code AS “Pay Group”, ( ( FROM WHERE 1 = 1 AND TRUNC(a.creation_date) >= AND TRUNC(a.creation_date) = AND TRUNC(a.last_update_date) <= AND DECODE(a.end_date_active, NULL, 'ACTIVE', 'INACTIVE') = AND UPPER(a.vendor_name) LIKE AND a.vendor_type_lookup_code = ORDER BY a.vendor_name; |
Conclusion: By creating a consolidated Supplier Master Details query, we achieve a clear and complete view of supplier information across Oracle Apps R12. This solution reduces manual effort, minimizes reporting errors, and improves data accuracy..