Results for “tp_location_code_ext”
50+ results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
WSH_CUSTOMER_LOCATIONS_V is a shipping-execution view owned by the APPS schema in Oracle E-Business Suite 12.1.1 and 12.2.2. It presents a consolidated, denormalized picture of customer locations that have been registered as shipping locations, joining Oracle Shipping Execution location data in WSH_LOCATIONS to the Oracle Trading Community Architecture (TCA) customer model in the HZ tables. The view is read-only and is intended primarily for inquiry, reporting, and integration rather than transactional processing.
It serves as the customer-facing counterpart to the internal shipping location tables, exposing the ship-to and bill-to style locations associated with a customer account, site use, and party site. Because it resolves the foreign keys between shipping, customer, and party entities, it is frequently used in outbound interfaces, BI Publisher reports, and custom forms that must display a human-readable customer location without traversing the TCA schema manually. The view is restricted to locations whose LOCATION_SOURCE_CODE is 'HZ', meaning only locations originating from the TCA model appear.
Underlying Base Objects
The view is defined over six base objects, all accessed through APPS synonyms:
- WSH_LOCATIONS — the driving shipping location table, supplying WSH_LOCATION_ID, UI_LOCATION_CODE, address lines, city, postal code, country, state, province, county, SOURCE_LOCATION_ID, and INACTIVE_DATE.
- HZ_PARTIES — supplies the party name (truncated to 50 characters) and DUNS_NUMBER.
- HZ_CUST_ACCOUNTS — supplies CUST_ACCOUNT_ID, the customer name/number, and the account STATUS.
- HZ_CUST_ACCT_SITES_ALL — supplies the account site, addressed via CUST_ACCT_SITE_ID, TP_HEADER_ID, ORIG_SYSTEM_REFERENCE, ECE_TP_LOCATION_CODE, ORG_ID, and site status.
- HZ_CUST_SITE_USES_ALL — supplies SITE_USE_ID, SITE_USE_CODE, LOCATION, GSA_INDICATOR, STATUS, and PRIMARY_FLAG.
- HZ_PARTY_SITES — supplies PARTY_SITE_NUMBER and links the party to the shipping location.
The joins enforce consistency across the party, account, site, and site-use hierarchy. The ORG_ID join uses NVL on both sides (defaulting to -999) so that records with null organization identifiers still align between the account site and site use tables.
Key Columns
- WSH_LOCATION_ID — primary identifier of the shipping location.
- UI_LOCATION_CODE and UI_SHORT_LOCATION_CODE — display codes; the short code concatenates LOCATION_CODE with city or the first 60 bytes of ADDRESS1.
- ADDRESS1–ADDRESS4, CITY, STATE, PROVINCE, COUNTY, POSTAL_CODE, COUNTRY — the full postal address.
- CUSTOMER_ID, CUSTOMER_NAME, CUSTOMER_NUMBER, CUSTOMER_STATUS — the customer account context.
- ADDRESS_ID, SITE_USE_ID, SITE_USE_CODE, PRIMARY_FLAG, SITE_USE_STATUS — the account site and site-use attributes.
- ORG_ID — the operating unit context, essential for multi-org reporting.
- INACTIVE_DATE, CUST_ACCT_SITE_STATUS — lifecycle and status indicators.
Common Use Cases and Queries
Typical usage includes locating valid ship-to addresses for a customer, driving shipping labels and manifests, and populating LOVs. The following query lists active primary ship-to locations for a customer:
SELECT wsh_location_id, ui_location_code, customer_name, address1, city, state, postal_code FROM wsh_customer_locations_v WHERE customer_id = :p_customer_id AND site_use_code = 'SHIP_TO' AND primary_flag = 'Y' AND inactive_date IS NULL;- Reporting by operating unit:
SELECT org_id, COUNT(*) FROM wsh_customer_locations_v GROUP BY org_id; - Integration lookups by external reference:
SELECT wsh_location_id, orig_system_reference FROM wsh_customer_locations_v WHERE orig_system_reference = :p_ref;
-
APPS.WSH_CUSTOMER_LOCATIONS_V·↳ HZ_CUST_ACCOUNTS·↳ HZ_CUST_ACCT_SITES_ALL·↳ HZ_CUST_SITE_USES_ALL·Explore WSH module →
-
View: WSH_CUSTOMER_SITES_V 12.2.2
APPS.WSH_CUSTOMER_SITES_V·↳ HZ_CUST_ACCOUNTS·↳ HZ_CUST_ACCT_SITES_ALL·↳ HZ_CUST_SITE_USES_ALL·Explore WSH module →
-
APPS.WSH_CUSTOMER_LOCATIONS_V·↳ HZ_CUST_ACCOUNTS·↳ HZ_CUST_ACCT_SITES_ALL·↳ HZ_CUST_SITE_USES_ALL·Explore WSH module →
-
View: GML_EC_CONTACT_V 12.1.1
Customer contact view.
-
View: GML_EC_CONTACT_V 12.2.2
Customer contact view.
-
View: WSH_CUSTOMER_SITES_V 12.1.1
APPS.WSH_CUSTOMER_SITES_V·↳ HZ_CUST_ACCOUNTS·↳ HZ_CUST_ACCT_SITES_ALL·↳ HZ_CUST_SITE_USES_ALL·Explore WSH module →
-
Contains the supplier schedule header data to support the outbound Planning Schedule (830/DELFOR) and Shipping Schedule (862/DELJIT) transactions.
-
Contains the supplier schedule header data to support the outbound Planning Schedule (830/DELFOR) and Shipping Schedule (862/DELJIT) transactions.
-
View: CLN_XML_DELIVERIES_V 12.1.1
View for SHIPMENT deliveries section in OAG SHOW_SHIPMENT_005 XML payload
APPS.CLN_XML_DELIVERIES_V·↳ HR_LOCATIONS_ALL·↳ HZ_CUST_ACCOUNTS·↳ HZ_CUST_ACCOUNT_ROLES·Explore CLN module →
-
View: CLN_XML_DELIVERIES2_V 12.2.2
View for SHIPMENT deliveries section in OAG SHOW_SHIPMENT_005 XML payload
APPS.CLN_XML_DELIVERIES2_V·↳ HR_LOCATIONS_ALL·↳ HZ_CUST_ACCOUNTS·↳ HZ_CUST_ACCOUNT_ROLES·Explore CLN module →
-
Table: GML_GPOAO_ORDERS 12.1.1
Contains order data to support the edi outbound transaction GPOAO.
-
View: ECE_ADVO_HEADERS_V 12.1.1
This view extracts advice header informationfor the outbound Application Advice (824/APERAK) transaction.@rep:scope private@rep:product EC@rep:lifecycle active@rep:displayname Application Advice Header View@rep:category BUSINESS_ENTITY EC_A
APPS.ECE_ADVO_HEADERS_V·↳ ECE_ADVO_HEADERS·↳ ECE_TP_DETAILS·↳ ECE_TP_GROUP·Explore EC module →
-
View: GML_GPOAO_ORDERS_V 12.1.1
Sales Order Header view
APPS.GML_GPOAO_ORDERS_V·↳ ECE_TP_DETAILS·↳ ECE_TP_HEADERS·↳ FND_PROFILE·Explore GML module →
-
Contains the purchase order header data to support the outbound Purchase Order (850/ORDERS) and Purchase Order Change (860/ORDCHG) transactions.
-
View: ECE_MVSTO_HEADERS_V 12.1.1
This view extracts header informationfor the outbound Movement Statistics (INTRASTAT) transaction.@rep:scope private@rep:product INV@rep:lifecycle active@rep:displayname Movement Statistics Header View@rep:category BUSINESS_ENTITY INV_MOVEM
APPS.ECE_MVSTO_HEADERS_V·↳ ECE_MTL_MOV_STAT_V·↳ ECE_TP_DETAILS·↳ ECE_TP_HEADERS·Explore EC module →
-
View: ECE_MVSTO_HEADERS_V 12.2.2
This view extracts header informationfor the outbound Movement Statistics (INTRASTAT) transaction.@rep:scope private@rep:product INV@rep:lifecycle active@rep:displayname Movement Statistics Header View@rep:category BUSINESS_ENTITY INV_MOVEM
APPS.ECE_MVSTO_HEADERS_V·↳ ECE_MTL_MOV_STAT_V·↳ ECE_TP_DETAILS·↳ ECE_TP_HEADERS·Explore EC module →
-
View: CLN_XML_DELIVERIES_V 12.2.2
View for SHIPMENT deliveries section in OAG SHOW_SHIPMENT_005 XML payload
APPS.CLN_XML_DELIVERIES_V·↳ HR_LOCATIONS_ALL·↳ HZ_CUST_ACCOUNTS·↳ HZ_CUST_ACCOUNT_ROLES·Explore CLN module →
-
View: ECE_ADVO_HEADERS_V 12.2.2
This view extracts advice header informationfor the outbound Application Advice (824/APERAK) transaction.@rep:scope private@rep:product EC@rep:lifecycle active@rep:displayname Application Advice Header View@rep:category BUSINESS_ENTITY EC_A
APPS.ECE_ADVO_HEADERS_V·↳ ECE_ADVO_HEADERS·↳ ECE_TP_DETAILS·↳ ECE_TP_GROUP·Explore EC module →
-
Contains the status data for inbound transactions: Invoice (810/INVOIC), Ship Notice/Manifest (856/DESADV) and Shipment and Billing Notice (857).
-
View: ECE_POCO_HEADERS_V 12.2.2
This view extracts header informationfor the outbound Purchase Order Change (860/ORDCHG) transaction.@rep:scope private@rep:product PO@rep:lifecycle active@rep:displayname Purchase Order Change Header View@rep:category BUSINESS_ENTITY PO_PU
APPS.ECE_POCO_HEADERS_V·↳ AP_CARDS·↳ AP_CARD_PROFILES·↳ AP_CARD_PROGRAMS·Explore EC module →
-
View: GML_GPOAO_ORDERS_V 12.2.2
Sales Order Header view
APPS.GML_GPOAO_ORDERS_V·↳ ECE_TP_DETAILS·↳ ECE_TP_HEADERS·↳ FND_PROFILE·Explore GML module →
-
View: ECE_CDMO_HEADER_V 12.2.2
This view extracts header informationfor the outbound Credit/Debit Memo (812/CREADV/DEBADV) transaction.@rep:scope private@rep:product AR@rep:lifecycle active@rep:displayname Credit/Debit Memo Header View@rep:category BUSINESS_ENTITY AR_CRE
APPS.ECE_CDMO_HEADER_V·↳ AR_BATCH_SOURCES·↳ AR_PAYMENT_SCHEDULES·↳ AR_SYSTEM_PARAMETERS·Explore EC module →
-
View: GML_GASNO_SHIPMENTS_V 12.1.1
Shipment view
APPS.GML_GASNO_SHIPMENTS_V·↳ ECE_TP_DETAILS·↳ ECE_TP_HEADERS·↳ FND_PROFILE·Explore GML module →
-
View: CLN_XML_DELIVERIES2_V 12.1.1
View for SHIPMENT deliveries section in OAG SHOW_SHIPMENT_005 XML payload
APPS.CLN_XML_DELIVERIES2_V·↳ HR_LOCATIONS_ALL·↳ HZ_CUST_ACCOUNTS·↳ HZ_CUST_ACCOUNT_ROLES·Explore CLN module →
-
View: ECE_SPSO_HEADERS_V 12.1.1
This view extracts header informationfor the outbound Planning Schedule (830/DELFOR) transaction.@rep:scope private@rep:product CHV@rep:lifecycle active@rep:displayname Planning Schedule Header View@rep:category BUSINESS_ENTITY CHV_PLANNING
APPS.ECE_SPSO_HEADERS_V·↳ CHV_CUM_PERIODS·↳ CHV_ITEM_ORDERS·↳ CHV_ORG_OPTIONS·Explore EC module →
-
Contains the status data for inbound transactions: Invoice (810/INVOIC), Ship Notice/Manifest (856/DESADV) and Shipment and Billing Notice (857).
-
View: ECE_POO_HEADERS_V 12.2.2
/*#* This view extracts header information* for the outbound Purchase Order (850/ORDERS) transaction.* @rep:scope private* @rep:product PO * @rep:lifecycle active* @rep:displayname Purchase Order Header View* @rep:category BUSINESS_ENTI
APPS.ECE_POO_HEADERS_V·↳ AP_CARDS·↳ AP_CARD_PROFILES·↳ AP_CARD_PROGRAMS·Explore EC module →
-
View: ECE_POO_HEADERS_V 12.1.1
/*#* This view extracts header information* for the outbound Purchase Order (850/ORDERS) transaction.* @rep:scope private* @rep:product PO * @rep:lifecycle active* @rep:displayname Purchase Order Header View* @rep:category BUSINESS_ENTI
APPS.ECE_POO_HEADERS_V·↳ AP_CARDS·↳ AP_CARD_PROFILES·↳ AP_CARD_PROGRAMS·Explore EC module →
-
View: GML_GASNO_SHIPMENTS_V 12.2.2
Shipment view
APPS.GML_GASNO_SHIPMENTS_V·↳ ECE_TP_DETAILS·↳ ECE_TP_HEADERS·↳ FND_PROFILE·Explore GML module →
-
View: WSH_DSNO_DELIVERIES_V 12.2.2
APPS.WSH_DSNO_DELIVERIES_V·↳ ECE_TP_DETAILS·↳ ECE_TP_HEADERS·↳ HR_GENERAL·Explore WSH module →
-
View: WSH_DSNO_DELIVERIES_V 12.1.1
APPS.WSH_DSNO_DELIVERIES_V·↳ ECE_TP_DETAILS·↳ ECE_TP_HEADERS·↳ HR_GENERAL·Explore WSH module →
-
View: ECE_SSSO_HEADERS_V 12.2.2
This view extracts header informationfor the outbound Shipping Schedule (862/DELJIT) transaction.@rep:scope private@rep:product CHV@rep:lifecycle active@rep:displayname Shipping Schedule Header View@rep:category BUSINESS_ENTITY CHV_SHIPPING
APPS.ECE_SSSO_HEADERS_V·↳ CHV_CUM_PERIODS·↳ CHV_ITEM_ORDERS·↳ CHV_ORG_OPTIONS·Explore EC module →
-
Contains the movement statistics header data to support the outbound Movement Statistics transaction.
-
View: ECE_SPSO_HEADERS_V 12.2.2
This view extracts header informationfor the outbound Planning Schedule (830/DELFOR) transaction.@rep:scope private@rep:product CHV@rep:lifecycle active@rep:displayname Planning Schedule Header View@rep:category BUSINESS_ENTITY CHV_PLANNING
APPS.ECE_SPSO_HEADERS_V·↳ CHV_CUM_PERIODS·↳ CHV_ITEM_ORDERS·↳ CHV_ORG_OPTIONS·Explore EC module →
-
View: ECE_SSSO_HEADERS_V 12.1.1
This view extracts header informationfor the outbound Shipping Schedule (862/DELJIT) transaction.@rep:scope private@rep:product CHV@rep:lifecycle active@rep:displayname Shipping Schedule Header View@rep:category BUSINESS_ENTITY CHV_SHIPPING
APPS.ECE_SSSO_HEADERS_V·↳ CHV_CUM_PERIODS·↳ CHV_ITEM_ORDERS·↳ CHV_ORG_OPTIONS·Explore EC module →
-
Contains the header data to support the outbound Application Advice (824/APERAK) transaction.
-
View: ECE_INO_HEADER_V 12.2.2
This view extracts header informationfor the outbound Invoice (810/INVOIC) transaction.@rep:scope private@rep:product AR@rep:lifecycle active@rep:displayname Invoice Header View@rep:category BUSINESS_ENTITY AR_INVOICE
APPS.ECE_INO_HEADER_V·↳ AR_PAYMENT_SCHEDULES·↳ ECE_AR_TRANSACTION·↳ ECE_TP_DETAILS·Explore EC module →
-
View: ECE_INO_HEADER_V 12.1.1
This view extracts header informationfor the outbound Invoice (810/INVOIC) transaction.@rep:scope private@rep:product AR@rep:lifecycle active@rep:displayname Invoice Header View@rep:category BUSINESS_ENTITY AR_INVOICE
APPS.ECE_INO_HEADER_V·↳ AR_PAYMENT_SCHEDULES·↳ ECE_AR_TRANSACTION·↳ ECE_TP_DETAILS·Explore EC module →
-
View: ECE_POCO_HEADERS_V 12.1.1
This view extracts header informationfor the outbound Purchase Order Change (860/ORDCHG) transaction.@rep:scope private@rep:product PO@rep:lifecycle active@rep:displayname Purchase Order Change Header View@rep:category BUSINESS_ENTITY PO_PU
APPS.ECE_POCO_HEADERS_V·↳ AP_CARDS·↳ AP_CARD_PROFILES·↳ AP_CARD_PROGRAMS·Explore EC module →
-
View: ECE_CDMO_HEADER_V 12.1.1
This view extracts header informationfor the outbound Credit/Debit Memo (812/CREADV/DEBADV) transaction.@rep:scope private@rep:product AR@rep:lifecycle active@rep:displayname Credit/Debit Memo Header View@rep:category BUSINESS_ENTITY AR_CRE
APPS.ECE_CDMO_HEADER_V·↳ AR_BATCH_SOURCES·↳ AR_PAYMENT_SCHEDULES·↳ AR_SYSTEM_PARAMETERS·Explore EC module →
-
Contains the header data to support the outbound Application Advice (824/APERAK) transaction.
-
Contains the movement statistics header data to support the outbound Movement Statistics transaction.
-
Contains shipping and associated trading partner data for the GASNO transaction.
-
Table: GML_GPOAO_ORDERS 12.2.2
Contains order data to support the edi outbound transaction GPOAO.
-
Contains shipping and associated trading partner data for the GASNO transaction.
-
Contains the customer invoice header data to support the outbound Invoice (810/INVOIC) transaction.
-
Contains the purchase order header data to support the outbound Purchase Order (850/ORDERS) and Purchase Order Change (860/ORDCHG) transactions.
-
Contains the customer invoice header data to support the outbound Invoice (810/INVOIC) transaction.
-
View: ECE_ADDRESS_TP 12.1.1
Not implemented in this database·Explore EC module →
-
View: ECE_RSU_NOCONTACT 12.1.1
Not implemented in this database·Explore EC module →