AP_SUPPLIER_SITES_ALL
Schema: APmasterOU-striped (ORG_ID)Supplier sites — the purchasing/pay/RFQ site records per supplier, one row per site per operating unit, with the site code and control flags; where supplier data meets MOAC striping
The same supplier repeats across operating units — a site row per OU. Address columns physically exist here but the address is maintained in the trading community model via LOCATION_ID.
What the badges mean
- master
- Data class: what the table holds — master data, transaction documents, control/configuration, interface/staging, or an APPS-schema view.
Fields
12 fields · 1 key
| # | Field | Description | Type | Flags |
|---|---|---|---|---|
| 1 | VENDOR_SITE_ID | Surrogate key of the supplier site | NUMBER | Key |
| 2 | VENDOR_ID | The supplier the site belongs to | NUMBER | |
| 3 | ORG_ID | Operating unit — the same supplier gets one site row per OU (see quirks guide) | NUMBER | |
| 4 | VENDOR_SITE_CODE | The site code users see | VARCHAR2 | |
| 5 | LOCATION_ID | The TCA location that actually holds the address — the address columns here are legacy | NUMBER | |
| 6 | PARTY_SITE_ID | The trading-community party site behind this row | NUMBER | |
| 7 | PURCHASING_SITE_FLAG | Whether POs may be placed against the site | VARCHAR2 | |
| 8 | PAY_SITE_FLAG | Whether invoices may be paid to the site | VARCHAR2 | |
| 9 | RFQ_ONLY_SITE_FLAG | RFQ-only site marker | VARCHAR2 | |
| 10 | INACTIVE_DATE | When the site was inactivated — NULL while active | DATE | |
| 11 | TERMS_ID | Payment terms at the site level | NUMBER | |
| 12 | INVOICE_CURRENCY_CODE | Invoice currency at the site level | VARCHAR2 |
Field provenance: hand-curated. 1 key field.
Boilerplate SQL
Starting point for reading AP_SUPPLIER_SITES_ALLon Databricks — real DATE columns need no conversion, and the org anchor and the LAST_UPDATE_DATE watermark are already in place. Set your Unity Catalog location, schema, and org values below; they’re substituted into the SQL and the copy button.
-- ============================================================
-- Table : AP_SUPPLIER_SITES_ALL — Supplier sites — the purchasing/pay/RFQ site records per supplier, one row per site per operating unit, with the site code and control flags; where supplier data meets MOAC striping
-- Purpose: Column-selected read of AP_SUPPLIER_SITES_ALL — auto-generated from field metadata
-- Grain : One row per operating unit (ORG_ID) + VENDOR_SITE_ID
-- Notes : Auto-generated skeleton for Oracle EBS R12 data landed in your lakehouse. Dates are real DATE/TIMESTAMP columns — no conversion needed. WHO audit columns omitted (see the quirks guide); the optional LAST_UPDATE_DATE watermark filter supports incremental extracts.
-- ============================================================
SELECT
t.VENDOR_SITE_ID AS "Surrogate key of the supplier site",
t.VENDOR_ID AS "The supplier the site belongs to",
t.ORG_ID AS "Operating unit — the same supplier gets one site row per OU (see quirks guide)",
t.VENDOR_SITE_CODE AS "The site code users see",
t.LOCATION_ID AS "The TCA location that actually holds the address — the address columns here are legacy",
t.PARTY_SITE_ID AS "The trading-community party site behind this row",
t.PURCHASING_SITE_FLAG AS "Whether POs may be placed against the site",
t.PAY_SITE_FLAG AS "Whether invoices may be paid to the site",
t.RFQ_ONLY_SITE_FLAG AS "RFQ-only site marker",
t.INACTIVE_DATE AS "When the site was inactivated — NULL while active",
t.TERMS_ID AS "Payment terms at the site level",
t.INVOICE_CURRENCY_CODE AS "Invoice currency at the site level"
FROM <catalog>.<schema>.AP_SUPPLIER_SITES_ALL t
WHERE
t.ORG_ID = <operating_unit_id> -- operating unit (MOAC does not filter extracts)
-- AND t.VENDOR_SITE_ID = <VENDOR_SITE_ID>
-- AND t.LAST_UPDATE_DATE >= TIMESTAMP '<watermark>' -- WHO watermark, bulk-stamped by batch jobs; see quirks guide #who-columns
ORDER BY t.VENDOR_SITE_ID;5 parameters not filled: <catalog>, <schema>, <operating_unit_id>, <VENDOR_SITE_ID>, <watermark>
Relationships
1-hop neighbors — click a table to navigate there. FND lookup decode and translation edges are highlighted; they’re the joins newcomers most often get wrong.
Join details
ON PO_HEADERS_ALL.VENDOR_SITE_ID = AP_SUPPLIER_SITES_ALL.VENDOR_SITE_ID AND PO_HEADERS_ALL.ORG_ID = AP_SUPPLIER_SITES_ALL.ORG_IDON AP_SUPPLIER_SITES_ALL.VENDOR_ID = AP_SUPPLIERS.VENDOR_ID