Results for “jai_om_cust_address_v”
14 results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
The view APPS.JAI_OM_CUST_ADDRESS_V is a localization object shipped with the JA (Asia/Pacific Localizations) product family in Oracle E-Business Suite 12.1.1 and 12.2.2. Its status in the ETRM repository is VALID, and it is owned by the APPS schema. The view exposes a normalized, bidirectional representation of customer account relationships recorded in the Oracle Receivables and Trading Community model, and is consumed primarily by Order Management (OM) localization logic in the Asia/Pacific region.
The name prefix JAI_OM_ indicates that the object is a JA-localization artifact used within the Order Management flow. Rather than acting as a true address view in the narrow sense, the object flattens the parent-child account relationship defined in Receivables into a two-row-per-relationship structure using a UNION ALL of the same base table. This design lets downstream OM localization code resolve either direction of a customer-account relationship — from customer to related customer, and from related customer back to customer — using a single query and a code discriminator.
Underlying Base Objects
The view is defined exclusively over the synonym HZ_CUST_ACCT_RELATE_ALL, which resolves to the Trading Community Architecture (TCA) table storing customer account relationships. That table records, for each row, a CUST_ACCOUNT_ID, a RELATED_CUST_ACCOUNT_ID, and a relationship type, along with control flags such as CUSTOMER_RECIPROCAL_FLAG.
Because the view is layered directly on this relationship table and performs no joins to HZ_CUST_ACCOUNTS, HZ_PARTIES, or HZ_LOCATIONS, it exposes account identifiers only — not party names, addresses, or site data. Any consumer requiring descriptive address or party attributes must join the output of this view back to the TCA customer and party tables.
Key Columns
- RELATED_CUSTOMER_ID — In the first branch of the
UNION ALL, this is theRELATED_CUST_ACCOUNT_IDfromHZ_CUST_ACCT_RELATE_ALL; in the second branch, it is theCUST_ACCOUNT_ID. It therefore represents the counterparty account identifier from the perspective of the driving branch. - CUSTOMER_ID — The mirror of the column above, sourced from
CUST_ACCOUNT_IDin the first branch and fromRELATED_CUST_ACCOUNT_IDin the second branch. It identifies the "primary" customer account for the row. - CODE — A hard-coded discriminator. A value of
1identifies rows originating from the firstSELECT(relationships where the reciprocal flag isY), and a value of2identifies rows from the secondSELECT, which is unaffected by the reciprocal flag. This allows consumers to distinguish direction and to filter to the relationship orientation they require.
Common Use Cases and Queries
Typical use is resolving the counterparty account when processing an order for a customer that participates in a reciprocal account relationship. A representative query is:
SELECT customer_id, related_customer_id, code FROM apps.jai_om_cust_address_v WHERE customer_id = :p_cust_account_id;SELECT customer_id, related_customer_id FROM apps.jai_om_cust_address_v WHERE code = 1 AND related_customer_id = :p_related_id;
Because a single relationship produces both a CODE = 1 row (only when the reciprocal flag is Y) and a CODE = 2 row, queries should filter on CODE to avoid duplicate output. The view should not be treated as an address source; address and party attributes require additional joins to the TCA tables.
-
View: JAI_OM_CUST_ADDRESS_V 12.1.1
APPS.JAI_OM_CUST_ADDRESS_V·↳ HZ_CUST_ACCT_RELATE_ALL·Explore JA module →
-
View: JAI_OM_CUST_ADDRESS_V 12.2.2
APPS.JAI_OM_CUST_ADDRESS_V·↳ HZ_CUST_ACCT_RELATE_ALL·Explore JA module →
-
12.1.1 FND Design Data 12.1.1
-
12.2.2 FND Design Data 12.2.2
-
eTRM - JA Tables and Views 12.1.1
The 'JA_CN_SYSTEM_PARAMETERS_ALL' table stores information defined by 'System Options' form, 'Electronic Accounting Book Export' program will get most data from data in the table. A legal entity can only have one record in the table.
-
12.2.2 DBA Data 12.2.2
-
eTRM - JA Tables and Views 12.2.2
The 'JA_CN_VOUCHER_NUMBER' table stores the voucher number of GL journal lines.
-
12.1.1 DBA Data 12.1.1
-
eTRM - JA Tables and Views 12.1.1
The 'JA_CN_SYSTEM_PARAMETERS_ALL' table stores information defined by 'System Options' form, 'Electronic Accounting Book Export' program will get most data from data in the table. A legal entity can only have one record in the table.
-
eTRM - JA Tables and Views 12.2.2
The 'JA_CN_VOUCHER_NUMBER' table stores the voucher number of GL journal lines.