Results for “generate_ship_method”
8 results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
WSH_CARRIERS_GRP is a public PL/SQL package in the APPS schema that provides the programmatic interface for managing carrier and carrier service definitions within Oracle Shipping Execution (WSH). Carriers represent the freight organizations — parcel carriers, freight forwarders, and third-party logistics providers — that perform physical transportation of goods, while carrier services represent the individual shipping methods offered by those carriers, such as overnight, ground, or express delivery. The package encapsulates the business logic required to create, maintain, and retrieve these definitions, and to associate them with the appropriate operating units and organizations. Its API classification of GRP (group) indicates that it is a public interface intended for invocation by other application modules and by customer extensions, rather than an internal private utility. The package serves as the authoritative layer through which carrier master data is validated and persisted, ensuring that downstream shipping processes such as delivery creation, rate shopping, and manifesting operate against consistent and correctly structured carrier records.
Key Procedures and Functions
The package exposes eight documented procedures and functions:
- CREATE_UPDATE_CARRIER — Creates a new carrier record or updates an existing one, writing the carrier definition to the WSH_CARRIERS table and synchronizing related party information.
- CREATE_UPDATE_CARRIER_SERVICE — Creates or maintains a carrier service, associating a specific shipping method with its parent carrier in WSH_CARRIER_SERVICES.
- ASSIGN_ORG_CARRIER — Establishes the association between an organization or operating unit and a carrier, making that carrier available for use within the organization's shipping transactions.
- ASSIGN_ORG_CARRIER_SERVICE — Assigns a specific carrier service to an organization, populating WSH_ORG_CARRIER_SERVICES so the service becomes selectable in shipping execution.
- GENERATE_SHIP_METHOD — Derives or generates the ship method value associated with a carrier or carrier service, supporting consistent ship method assignment on deliveries.
- GET_MEANINGS — Returns the descriptive meanings or lookup values associated with carrier and service attributes for display and validation purposes.
- GET_CARRIER_NAME — Retrieves the name of a carrier, typically resolving the carrier identifier to its human-readable party or carrier name.
- GET_CARRIER_SERVICE_MODE — Returns the mode of transport or service mode associated with a given carrier service.
Tables Accessed
The package operates against several core tables. HZ_PARTIES holds the trading partner record underpinning the carrier, since carriers are modeled as parties within the Trading Community Architecture. WSH_CARRIERS stores the carrier master definition itself. WSH_CARRIER_SERVICES stores the individual services offered by each carrier. WSH_ORG_CARRIER_SERVICES stores the organization-level assignments that determine which carriers and services are available to a given operating unit. DUAL is referenced for singleton value retrieval and expression evaluation. All access is performed through APPS synonyms, and the package relies on FND_API for standardized error handling and message propagation.
Usage Notes
WSH_CARRIERS_GRP is typically invoked from the Oracle Shipping Execution setup forms when users define carriers, carrier services, and organization assignments, and from concurrent programs or batch processes that mass-maintain carrier data. The metadata shows the package is referenced by seven other packages, including FTE_PROCESS_REQUESTS, WSH_BULK_PROCESS_PVT, WSH_FTE_CONSTRAINT_FRAMEWORK, WSH_NEW_DELIVERY_ACTIONS, WSH_USA_ACTIONS_PVT, WSH_USA_CATEGORIES_PVT, and recursively by itself. This dependency pattern confirms its role as a foundational data-maintenance API consumed throughout the transportation and shipping stack. Custom code extending carrier setup should call these procedures rather than inserting directly into the underlying tables, so that validation, party synchronization, and FND_API error handling are preserved across EBS 12.1.1 and 12.2.2.