Search Results oe_ar_customer_profiles_v
Overview
The OE_AR_CUSTOMER_PROFILES_V view is an APPS-owned, VALID database view shipped with Oracle E-Business Suite (EBS) 12.1.1 and 12.2.2 under the Order Management (ONT) product. It provides a consolidated, denormalized projection of customer profile information relevant to order capture and Receivables processing: payment terms, the sold-to customer account, the invoice-to (bill-to) site use, and the ship-to site use. Rather than requiring callers to navigate the underlying Oracle Trading Community Architecture (TCA) model directly, the view publishes a compact, integration-friendly result set keyed on identifiers that downstream EBS APIs and reports expect.
The view is particularly significant because it exposes INVOICE_TO_ORG_ID. In EBS, the internal identifier used for a bill-to site use in order and invoicing contexts is a SITE_USE_ID from HZ_CUST_SITE_USES, not the customer account identifier. Terminology in external systems frequently refers to this as an "org ID," which is a common source of confusion for developers searching on invoice_to_org_id. This view resolves that ambiguity by aliasing the bill-to SITE_USE_ID explicitly as INVOICE_TO_ORG_ID, making it usable in order import, invoice generation, and interface contexts without additional joins.
Underlying Base Objects
The documented base objects are three TCA synonyms: HZ_CUSTOMER_PROFILES, HZ_CUST_ACCOUNTS, and HZ_CUST_SITE_USES. The view joins them as follows:
HZ_CUSTOMER_PROFILES(aliasPROF) is the driving table, supplying the customer profile rows, the payment term (STANDARD_TERMS), and the join keySITE_USE_IDto the site-use tables.HZ_CUST_ACCOUNTS(aliasCUST_ACCT) supplies the customer account identifier via the join onCUST_ACCOUNT_ID, yielding the sold-to account.HZ_CUST_SITE_USESis joined twice asINV_SITEandSHIP_SITE, both onSITE_USE_ID, filtered bySITE_USE_CODE = 'BILL_TO'andSITE_USE_CODE = 'SHIP_TO'respectively.
Both HZ_CUST_SITE_USES joins are outer joins (indicated by the (+) operators), so a profile row is still returned even when no bill-to or ship-to site use exists; in those cases the corresponding columns are NULL. Because the joins rely on PROF.SITE_USE_ID relating to both bill-to and ship-to rows, the view effectively surfaces a site use in both capacities when a single SITE_USE_ID carries the relevant use codes.
Key Columns
PAYMENT_TERM_ID— sourced fromPROF.STANDARD_TERMS; the payment terms identifier used for the customer profile.SOLD_TO_ORG_ID— sourced fromCUST_ACCT.CUST_ACCOUNT_ID; the sold-to customer account identifier.INVOICE_TO_ORG_ID— sourced fromINV_SITE.SITE_USE_ID; the bill-to site use identifier (theSITE_USE_IDforBILL_TO).SHIP_TO_ORG_ID— sourced fromSHIP_SITE.SITE_USE_ID; the ship-to site use identifier (SITE_USE_IDforSHIP_TO).
Common Use Cases and Queries
Typical uses include looking up the bill-to site use for a customer profile during order import, populating default invoicing attributes in order and invoice interfaces, and reporting on payment terms and site-use relationships. A representative query is:
SELECT SOLD_TO_ORG_ID, INVOICE_TO_ORG_ID, SHIP_TO_ORG_ID, PAYMENT_TERM_ID FROM APPS.OE_AR_CUSTOMER_PROFILES_V WHERE INVOICE_TO_ORG_ID = :p_site_use_id;SELECT SOLD_TO_ORG_ID, SHIP_TO_ORG_ID FROM APPS.OE_AR_CUSTOMER_PROFILES_V WHERE PAYMENT_TERM_ID = :p_term_id;- Join to
HZ_CUST_SITE_USESonINVOICE_TO_ORG_ID = SITE_USE_IDto retrieve bill-to address details for invoice presentation.
Because the view performs no filtering beyond the site-use codes in its join conditions, qualifying queries by SOLD_TO_ORG_ID or INVOICE_TO_ORG_ID is advisable for performance in high-volume environments.
-
View: OE_AR_CUSTOMER_PROFILES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:ONT.OE_AR_CUSTOMER_PROFILES_V, object_name:OE_AR_CUSTOMER_PROFILES_V, status:VALID, product: ONT - Order Management , implementation_dba_data: APPS.OE_AR_CUSTOMER_PROFILES_V ,
-
View: OE_AR_CUSTOMER_PROFILES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:ONT.OE_AR_CUSTOMER_PROFILES_V, object_name:OE_AR_CUSTOMER_PROFILES_V, status:VALID, product: ONT - Order Management , implementation_dba_data: APPS.OE_AR_CUSTOMER_PROFILES_V ,
-
VIEW: APPS.OE_AR_CUSTOMER_PROFILES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:ONT.OE_AR_CUSTOMER_PROFILES_V, object_name:OE_AR_CUSTOMER_PROFILES_V, status:VALID,
-
VIEW: APPS.OE_AR_CUSTOMER_PROFILES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:ONT.OE_AR_CUSTOMER_PROFILES_V, object_name:OE_AR_CUSTOMER_PROFILES_V, status:VALID,
-
12.2.2 FND Design Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.1.1 FND Design Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
SYNONYM: APPS.HZ_CUSTOMER_PROFILES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HZ_CUSTOMER_PROFILES, status:VALID,
-
SYNONYM: APPS.HZ_CUSTOMER_PROFILES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:HZ_CUSTOMER_PROFILES, status:VALID,
-
SYNONYM: APPS.HZ_CUST_SITE_USES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:HZ_CUST_SITE_USES, status:VALID,
-
SYNONYM: APPS.HZ_CUST_SITE_USES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HZ_CUST_SITE_USES, status:VALID,
-
SYNONYM: APPS.HZ_CUST_ACCOUNTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HZ_CUST_ACCOUNTS, status:VALID,
-
SYNONYM: APPS.HZ_CUST_ACCOUNTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:HZ_CUST_ACCOUNTS, status:VALID,
-
eTRM - ONT Tables and Views
12.2.2
description: OM WorkFlow Activity Skip Log. ,
-
12.2.2 DBA Data
12.2.2
-
eTRM - ONT Tables and Views
12.1.1
description: OM WorkFlow Activity Skip Log. ,
-
12.1.1 DBA Data
12.1.1
-
eTRM - ONT Tables and Views
12.1.1
description: OM WorkFlow Activity Skip Log. ,
-
eTRM - ONT Tables and Views
12.2.2
description: OM WorkFlow Activity Skip Log. ,