Results for “ece_customer_phone”
6 results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
ECE_CUSTOMER_PHONE is a read-only database view belonging to the Oracle e-Commerce Gateway (EC) product family within Oracle E-Business Suite. The view is catalogued in the ETRM (E-Business Suite Technical Reference Manual) as part of the documented interface objects used by e-Commerce Gateway processing. Its purpose is to expose a consolidated customer telephone data set that combines the customer master record with the primary customer phone number, giving integration and reporting layers a single, predictable source for outbound transactional and customer-facing extracts.
The object carries particular relevance to the EC module because e-Commerce Gateway interfaces frequently require contact-level detail, including telephone numbers, when transmitting customer information to external trading partners via EDI or flat-file transaction maps. The view abstracts the underlying join so that interface code and report definitions do not need to resolve the customer-to-phone relationship themselves.
Underlying Base Objects
The documented view text defines ECE_CUSTOMER_PHONE over two base objects:
- RA_CUSTOMERS — aliased as RCU, the Oracle Receivables customer master table. This supplies the CUSTOMER_ID and the customer name values exposed by the view.
- ECE_PRIMARY_CUSTOMER_PHONE_V — aliased as EPCP, an e-Commerce Gateway view that resolves the primary telephone record for each customer.
The join condition is RCU.CUSTOMER_ID = EPCP.CUSTOMER_ID (+), an outer join driven from RA_CUSTOMERS. Because RA_CUSTOMERS is the outer table, every customer returned from the Receivables master is preserved even when no matching primary phone record exists in ECE_PRIMARY_CUSTOMER_PHONE_V; in those cases the phone and area code columns resolve to NULL.
The ETRM metadata for release 12.2.2 lists no additional referenced base objects. ETRM also records the object as "Not implemented in this database," indicating that in the referenced environment the view was not deployed. In environments where it is deployed, the view depends transitively on the Receivables customer tables and the underlying telephone structures that ECE_PRIMARY_CUSTOMER_PHONE_V resolves.
Key Columns
The view exposes four columns:
- CUSTOMER_ID — The unique identifier of the customer, sourced from RA_CUSTOMERS.CUSTOMER_ID. This is the join key between the two base objects and the primary linking column for any downstream query or extract.
- CUSTOMER_NAME — The customer name as maintained in the Receivables customer master. Used for display, sorting, and matching against partner-supplied customer names.
- AREA_CODE — The telephone area code portion of the primary customer phone number, sourced through ECE_PRIMARY_CUSTOMER_PHONE_V. Returns NULL when no primary phone record is associated with the customer.
- PHONE_NUMBER — The telephone number portion of the primary customer phone. As with AREA_CODE, this is NULL for customers without a resolved primary phone record.
Note that the documented view text selects four positional values (NULL, NULL, NULL, NULL) for the DBA implementation stub, while the named columns CUSTOMER_ID, CUSTOMER_NAME, AREA_CODE, and PHONE_NUMBER are the interface-facing columns consumed by e-Commerce Gateway processing.
Common Use Cases and Queries
The view is typically used when an outbound interface or ad hoc report must present customer identity alongside primary telephone contact information, particularly where a LEFT JOIN behaviour is required so that customers without phone data are not dropped from the result set.
A representative query retrieving all customers with their primary phone detail:
SELECT customer_id, customer_name, area_code, phone_number FROM ece_customer_phone ORDER BY customer_name;
To isolate records that are missing phone data, for reconciliation or data-quality review:
SELECT customer_id, customer_name FROM ece_customer_phone WHERE phone_number IS NULL OR area_code IS NULL;
To retrieve a single customer's contact detail for an interface payload:
SELECT customer_name, area_code, phone_number FROM ece_customer_phone WHERE customer_id = :p_customer_id;
Because the join to ECE_PRIMARY_CUSTOMER_PHONE_V is an outer join, the first and third queries return one row per Receivables customer regardless of phone availability, which is the behaviour required for reliable gateway extracts and audit listings.
-
View: ECE_CUSTOMER_PHONE 12.2.2
Not implemented in this database·Explore EC module →
-
View: ECE_CUSTOMER_PHONE 12.1.1
Not implemented in this database·Explore EC module →
-
12.1.1 FND Design Data 12.1.1
-
12.2.2 FND Design Data 12.2.2
-
View: ECE_RSU_NOCONTACT 12.1.1
Not implemented in this database·Explore EC module →
-
View: ECE_RSU_NOCONTACT 12.2.2
Not implemented in this database·Explore EC module →