Skip to content
EBS Reference

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

Module: PurchasingOperating-unit striped (ORG_ID)
Notes

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.
In field listings, K marks a primary-key field.

Fields

12 fields · 1 key

Table fields: position, field name, description, data type, and flags. 12 fields.
#FieldDescriptionTypeFlags
1VENDOR_SITE_IDSurrogate key of the supplier siteNUMBER
Key
2VENDOR_IDThe supplier the site belongs toNUMBER
3ORG_IDOperating unit — the same supplier gets one site row per OU (see quirks guide)NUMBER
4VENDOR_SITE_CODEThe site code users seeVARCHAR2
5LOCATION_IDThe TCA location that actually holds the address — the address columns here are legacyNUMBER
6PARTY_SITE_IDThe trading-community party site behind this rowNUMBER
7PURCHASING_SITE_FLAGWhether POs may be placed against the siteVARCHAR2
8PAY_SITE_FLAGWhether invoices may be paid to the siteVARCHAR2
9RFQ_ONLY_SITE_FLAGRFQ-only site markerVARCHAR2
10INACTIVE_DATEWhen the site was inactivated — NULL while activeDATE
11TERMS_IDPayment terms at the site levelNUMBER
12INVOICE_CURRENCY_CODEInvoice currency at the site levelVARCHAR2

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.

Query parameters
-- ============================================================
-- 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

  • PO_HEADERS_ALLAP_SUPPLIER_SITES_ALLforeign key · N:1
    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_ID
  • AP_SUPPLIER_SITES_ALLAP_SUPPLIERSforeign key · N:1
    ON AP_SUPPLIER_SITES_ALL.VENDOR_ID = AP_SUPPLIERS.VENDOR_ID

Browse more Purchasingtables →

Maintained by Summit Analytics, a supply chain analytics practice. The tools and references are free — the consulting is selective.

Part of the Summit Analytics reference library.

Work with the practice →

Not affiliated with or endorsed by Oracle. Oracle and Oracle E-Business Suite are registered trademarks of Oracle and/or its affiliates.