Results for “create_update_carrier_service”

10 results




AI-generated from documented ETRM metadata — verify critical details on the linked pages.

Overview

The APPS.WSH_CARRIERS_GRP package body is a modular PL/SQL API within the Oracle E-Business Suite Shipping Execution (WSH) module. It encapsulates the business logic required to create, update, and maintain carrier and carrier service definitions that are used throughout the order-to-ship lifecycle. Carriers represent the freight providers (for example, FedEx, UPS, or a localized courier) configured in Oracle Shipping, while carrier services represent the specific modes and service levels offered by those carriers (for example, ground, overnight, or express). The package belongs to the GRP (Group) API classification, indicating it is a grouping or helper package that consolidates multiple related carrier operations behind a consistent, versioned interface. It is registered as an Application Program Interface (API) object, so it is intended to be called programmatically by other EBS components rather than being restricted to internal use only. The package is referenced by seven other packages in the EBS instance, confirming its role as a foundational carrier-management utility relied upon by downstream shipping and integration processes.

Key Procedures and Functions

The package exposes eight documented procedures and functions:

  • CREATE_UPDATE_CARRIER — Creates or updates a carrier record. It supports an action code distinguishing CREATE, UPDATE, and CREATE_UPDATE modes, and returns the affected carrier identifier through an output record. It is the primary entry point for maintaining carrier master data.
  • CREATE_UPDATE_CARRIER_SERVICE — Creates or updates a carrier service, linking a service offering to its parent carrier.
  • ASSIGN_ORG_CARRIER_SERVICE — Associates a specific carrier service with an organization, governing which services are available at that inventory or warehouse organization.
  • ASSIGN_ORG_CARRIER — Associates a carrier with an organization so that the carrier is selectable within that organizational context.
  • GENERATE_SHIP_METHOD — Generates or derives a shipping method, likely reconciling carrier service definitions with the shipping method used on deliveries.
  • GET_MEANINGS — Returns lookup meanings for coded values, supporting display and validation of carrier/service codes.
  • GET_CARRIER_NAME — Retrieves the carrier name for a given carrier identifier or code.
  • GET_CARRIER_SERVICE_MODE — The function matching the user search; it returns the service mode associated with a carrier service. This is the accessor commonly used to translate a carrier service definition into its mode value for downstream shipping logic.

Tables Accessed

The package interacts with the following base tables through APPS synonyms:

  • WSH_CARRIERS — The carrier master table; read and written by create/update operations and queried by the internal get_carrier_id and get_ftcode_carrier_id cursors. The FREIGHT_CODE column links carriers to their freight code.
  • HZ_PARTIES — The Trading Community Architecture party table. Carriers are joined to parties on PARTY_ID = CARRIER_ID, so carrier names are resolved through PARTY_NAME.
  • WSH_CARRIER_SERVICES — Stores the service definitions attached to each carrier.
  • WSH_ORG_CARRIER_SERVICES — Stores organization-specific assignments of carrier services.
  • DUAL — Used for simple scalar evaluations and lookups.

Usage Notes

Because it is an API-classified package, WSH_CARRIERS_GRP is typically invoked by calling code rather than end users. Shipping Execution setup forms and concurrent programs call it when defining carriers and carrier services. Integration and extension code—such as custom shipping interfaces, third-party carrier rating integrations, and order-management extensions—invoke the getter functions, particularly GET_CARRIER_SERVICE_MODE, to resolve carrier service mode values during shipment planning, manifesting, or rating. All calls should follow the standard EBS API conventions for version numbers, initialization of the message list, and return-status handling.