Search Results wsh_ece_views_def
Overview
WSH_ECE_VIEWS_DEF is an Oracle E-Business Suite (EBS) PL/SQL package body owned by the APPS schema. Its name reflects its role within the WSH (Shipping) and ECE (E-Commerce/Electronic Commerce) integration layer: it supplies "views" of shipping-related data — that is, resolved and formatted attribute values retrieved at runtime for use by the trading-partner and outbound transaction interfaces. In EBS 12.1.1 and 12.2.2, this package is classified under the ETRM metadata as an OTHER API (neither a public nor a private standard interface), meaning it is an internal helper package rather than a documented, externally supported API.
Functionally, the package assembles descriptive and reference data required when shipping documents, advance ship notices (ASNs), and related outbound EDI/e-commerce messages are constructed. It resolves customer contact details, location codes, invoice references, vehicle type codes, payment terms, and cross-reference part numbers from the various base tables that hold that information. The package also exposes an update routine to persist delivery/ASN information, bridging the gap between the WSH delivery model and the ECE trading-partner header model.
Key Procedures and Functions
The ETRM metadata documents thirteen procedures and functions within WSH_ECE_VIEWS_DEF. They can be grouped as follows:
- Contact resolution: GET_CONT_AREA_CODE, GET_CONT_PHONE_NUMBER, GET_CUST_AREA_CODE, and GET_CUST_PHONE_NUMBER return area codes and telephone numbers for the relevant contact and customer parties. They derive these from the HZ party/contact model.
- Reference and code lookups: GET_INVOICE_NUMBER, GET_VEHICLE_TYPE_CODE, GET_CUST_PAYMENT_TERM, and GET_CROSS_REFERENCE return invoice identifiers, vehicle classification codes, customer payment-term descriptions, and item cross-reference numbers respectively.
- Location information: GET_LOCATION_CODE, GET_LOCATION_INFO, GET_DLVY_LOCATION_INFO, and GET_DLVY_DEST_CONT_INFO resolve ship-from and ship-to location codes and delivery destination contact details.
- Persistence: UPDATE_DEL_ASN_INFO writes or refreshes delivery/ASN information, serving as the package's principal write operation.
Each routine is a value-returning helper intended to be called by the calling integration process at the point where a specific field is required, rather than as a standalone transaction.
Tables Accessed
The package references a broad set of base tables through APPS synonyms, which confirms its role as a cross-domain data aggregator:
- Oracle Shipping (WSH): WSH_DELIVERY_DETAILS, WSH_DELIVERY_ASSIGNMENTS, WSH_NEW_DELIVERIES, WSH_ASN_SEQ_NUMBER_S, and the WSH_CUSTOMER_LOCATIONS_V view provide delivery, assignment, and customer location data. WSH_DEBUG_INTERFACE, WSH_DEBUG_SV, and WSH_UTIL_CORE supply debugging and general utility support.
- Trading partner (ECE): ECE_TP_HEADERS holds trading-partner header information used as the anchor for outbound messages.
- Oracle Receivables (AR): RA_TERMS supplies payment-term definitions used by GET_CUST_PAYMENT_TERM.
- Trading Community/Receivables (HZ): HZ_PARTIES, HZ_CONTACT_POINTS, HZ_ORG_CONTACTS, HZ_CUST_ACCOUNT_ROLES, and HZ_RELATIONSHIPS provide parties, contact points, contacts, account roles, and relationships used in contact and destination resolution.
- Inventory (MTL): MTL_SYSTEM_ITEMS and MTL_CROSS_REFERENCES supply item definitions and cross-reference part numbers used by GET_CROSS_REFERENCE.
- Common/Foundation: FND_PROFILE and OE_LOOKUPS retrieve profile options and lookup values, while DUAL is used for simple scalar selections.
Usage Notes
WSH_ECE_VIEWS_DEF is an internal implementation package, not a public API. It is invoked by the standard shipping and e-commerce integration flows, and the metadata confirms that it is referenced by nine other packages — most likely the WSH outbound message builders and the ECE trading-partner processing routines. In practice it is called when an outbound shipping document, ASN, or e-commerce message is being assembled, so that the correct customer contacts, locations, payment terms, cross-references, and delivery data are resolved and formatted.
Because it is classified as OTHER and is not externally documented or supported, customization should be avoided. Any extension should instead be implemented by wrapping or copying the necessary logic into a customer-owned package, and the dependency list should be reviewed before upgrades between 12.1.1 and 12.2.2, since the HZ and WSH data model objects it depends upon are among those most frequently changed by Oracle patching.
-
PACKAGE BODY: APPS.WSH_ECE_VIEWS_DEF
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:WSH_ECE_VIEWS_DEF, status:VALID,
-
PACKAGE BODY: APPS.WSH_ECE_VIEWS_DEF
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:WSH_ECE_VIEWS_DEF, status:VALID,
-
PACKAGE: APPS.WSH_ECE_VIEWS_DEF
12.1.1
owner:APPS, object_type:PACKAGE, object_name:WSH_ECE_VIEWS_DEF, status:VALID,
-
PACKAGE: APPS.WSH_ECE_VIEWS_DEF
12.2.2
owner:APPS, object_type:PACKAGE, object_name:WSH_ECE_VIEWS_DEF, status:VALID,
-
SYNONYM: APPS.WSH_ASN_SEQ_NUMBER_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:WSH_ASN_SEQ_NUMBER_S, status:VALID,
-
SYNONYM: APPS.WSH_ASN_SEQ_NUMBER_S
12.1.1
owner:APPS, object_type:SYNONYM, object_name:WSH_ASN_SEQ_NUMBER_S, status:VALID,
-
PACKAGE BODY: APPS.CLN_SHOWSHIP_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:CLN_SHOWSHIP_PKG, status:VALID,
-
PACKAGE BODY: APPS.CLN_SHOWSHIP_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:CLN_SHOWSHIP_PKG, status:VALID,
-
SYNONYM: APPS.ECE_TP_HEADERS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:ECE_TP_HEADERS, status:VALID,
-
SYNONYM: APPS.ECE_TP_HEADERS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:ECE_TP_HEADERS, status:VALID,
-
PACKAGE: APPS.WSH_ECE_VIEWS_DEF
12.1.1
-
PACKAGE: APPS.WSH_ECE_VIEWS_DEF
12.2.2
-
VIEW: APPS.WSH_DSNO_ORDERS_COMM_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSH_DSNO_ORDERS_COMM_V, object_name:WSH_DSNO_ORDERS_COMM_V, status:VALID,
-
VIEW: APPS.WSH_DSNO_ORDERS_COMM_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSH_DSNO_ORDERS_COMM_V, object_name:WSH_DSNO_ORDERS_COMM_V, status:VALID,
-
VIEW: APPS.WSH_CUSTOMER_LOCATIONS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSH_CUSTOMER_LOCATIONS_V, object_name:WSH_CUSTOMER_LOCATIONS_V, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
VIEW: APPS.WSH_CUSTOMER_LOCATIONS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSH_CUSTOMER_LOCATIONS_V, object_name:WSH_CUSTOMER_LOCATIONS_V, status:VALID,
-
SYNONYM: APPS.MTL_CROSS_REFERENCES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MTL_CROSS_REFERENCES, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
SYNONYM: APPS.MTL_CROSS_REFERENCES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MTL_CROSS_REFERENCES, status:VALID,
-
SYNONYM: APPS.RA_TERMS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:RA_TERMS, status:VALID,
-
SYNONYM: APPS.RA_TERMS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:RA_TERMS, status:VALID,
-
VIEW: APPS.CLN_XML_DELIVERIES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:CLN.CLN_XML_DELIVERIES_V, object_name:CLN_XML_DELIVERIES_V, status:VALID,
-
SYNONYM: APPS.WSH_DELIVERY_ASSIGNMENTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:WSH_DELIVERY_ASSIGNMENTS, status:VALID,
-
VIEW: APPS.CLN_XML_DELIVERIES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:CLN.CLN_XML_DELIVERIES_V, object_name:CLN_XML_DELIVERIES_V, status:VALID,
-
VIEW: APPS.CLN_XML_DELIVERIES2_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:CLN.CLN_XML_DELIVERIES2_V, object_name:CLN_XML_DELIVERIES2_V, status:VALID,
-
VIEW: APPS.WSH_DSNO_ORDERS_SPECIFIC_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSH_DSNO_ORDERS_SPECIFIC_V, object_name:WSH_DSNO_ORDERS_SPECIFIC_V, status:VALID,
-
VIEW: APPS.CLN_XML_DELIVERIES2_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:CLN.CLN_XML_DELIVERIES2_V, object_name:CLN_XML_DELIVERIES2_V, status:VALID,
-
VIEW: APPS.WSH_DSNO_ORDERS_SPECIFIC_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSH_DSNO_ORDERS_SPECIFIC_V, object_name:WSH_DSNO_ORDERS_SPECIFIC_V, status:VALID,
-
VIEW: APPS.OE_LOOKUPS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:ONT.OE_LOOKUPS, object_name:OE_LOOKUPS, status:VALID,
-
VIEW: APPS.OE_LOOKUPS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:ONT.OE_LOOKUPS, object_name:OE_LOOKUPS, status:VALID,
-
VIEW: APPS.WSH_DSNO_ORDERS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSH_DSNO_ORDERS_V, object_name:WSH_DSNO_ORDERS_V, status:VALID,
-
VIEW: APPS.WSH_DSNO_ORDERS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSH_DSNO_ORDERS_V, object_name:WSH_DSNO_ORDERS_V, status:VALID,
-
SYNONYM: APPS.HZ_CUST_ACCOUNT_ROLES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HZ_CUST_ACCOUNT_ROLES, status:VALID,
-
SYNONYM: APPS.HZ_CUST_ACCOUNT_ROLES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:HZ_CUST_ACCOUNT_ROLES, status:VALID,
-
SYNONYM: APPS.HZ_ORG_CONTACTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HZ_ORG_CONTACTS, status:VALID,
-
VIEW: APPS.WSH_DSNO_DELIVERIES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSH_DSNO_DELIVERIES_V, object_name:WSH_DSNO_DELIVERIES_V, status:VALID,
-
VIEW: APPS.WSH_DSNO_DELIVERIES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSH_DSNO_DELIVERIES_V, object_name:WSH_DSNO_DELIVERIES_V, status:VALID,
-
VIEW: APPS.WSH_DSNO_ITEMS_SPECIFIC_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSH_DSNO_ITEMS_SPECIFIC_V, object_name:WSH_DSNO_ITEMS_SPECIFIC_V, status:VALID,
-
SYNONYM: APPS.HZ_ORG_CONTACTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:HZ_ORG_CONTACTS, status:VALID,
-
VIEW: APPS.WSH_DSNO_ITEMS_SPECIFIC_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSH_DSNO_ITEMS_SPECIFIC_V, object_name:WSH_DSNO_ITEMS_SPECIFIC_V, status:VALID,
-
PACKAGE: APPS.WSH_DEBUG_INTERFACE
12.2.2
owner:APPS, object_type:PACKAGE, object_name:WSH_DEBUG_INTERFACE, status:VALID,
-
SYNONYM: APPS.WSH_NEW_DELIVERIES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:WSH_NEW_DELIVERIES, status:VALID,
-
PACKAGE: APPS.WSH_DEBUG_INTERFACE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:WSH_DEBUG_INTERFACE, status:VALID,
-
SYNONYM: APPS.WSH_NEW_DELIVERIES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:WSH_NEW_DELIVERIES, status:VALID,
-
APPS.WSH_DSNO_ORDERS_SPECIFIC_V dependencies on WSH_ECE_VIEWS_DEF
12.1.1
-
VIEW: APPS.WSH_DSNO_ITEMS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSH_DSNO_ITEMS_V, object_name:WSH_DSNO_ITEMS_V, status:VALID,
-
VIEW: APPS.WSH_DSNO_ITEMS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSH_DSNO_ITEMS_V, object_name:WSH_DSNO_ITEMS_V, status:VALID,