Search Results oke_deliverable_shipping_v
Overview
OKE_ACTION_VALIDATIONS_PKG is an Oracle E-Business Suite PL/SQL package owned by the APPS schema and classified as an OTHER-type API within the ETRM repository. It belongs to the Oracle Knowledge Exchange (OKE) product family, historically associated with the Project Contracts and project deliverable functionality. The package consolidates server-side validation logic used when project-related deliverables, actions, and downstream supply-chain documents are created or modified. In the context of Oracle EBS 12.1.1 and 12.2.2, the package provides reusable validation routines that enforce referential and business-rule correctness across several modules, most notably Order Management (MDS/fulfillment), Shipping (WSH), and Purchasing (requisitions).
Its central role is to validate the attributes supplied for a deliverable action before that action is committed, and to return a status or error string to the calling program. Supporting utility functions handle currency conversion, functional-currency lookup, and location-description retrieval. This design keeps validation logic centralized and callable from multiple entry points, rather than duplicating checks in each form or interface.
Key Procedures and Functions
The package exposes seven documented program units. Their parameters are not enumerated here; only their documented names and purposes are described.
- Validate_MDS — Validates a deliverable action against the MDS (shipping/delivery) context, checking ship-from and ship-to organization and location, schedule designator, expected date, quantity, and unit of measure, and returns a validation result.
- Validate_WSH — Performs the analogous validation for the WSH (Shipping) integration path, additionally considering volume, volume UOM, weight, and weight UOM along with the standard shipping attributes.
- Validate_Req — Validates a deliverable action intended to generate or relate to a purchasing requisition, covering destination type, requisition line type, category, currency, quantity, UOM, unit price, rate type, rate date, exchange rate, expenditure type, expenditure organization, and expenditure item date.
- Exchange_Rate — Returns the exchange rate between an originating and a target currency for a given rate type and effective date, used to support price and requisition validation.
- Functional_Currency — Returns the functional currency associated with a given operating unit organization, typically derived from organization parameters.
- Get_Location_Description — Returns the descriptive text for a location identified by its primary key, joining the appropriate location tables to produce a human-readable description.
- Add_Msg — A utility procedure that registers or appends a message keyed to a specific action ID, providing the mechanism by which validation routines surface errors back to the caller.
Tables Accessed
The package reads and writes the following documented tables through APPS synonyms:
- HR_LOCATIONS_ALL and HZ_LOCATIONS — Source data for Get_Location_Description and for validating ship-from and ship-to locations.
- OKE_DELIVERABLES_B and OKE_DELIVERABLE_ACTIONS — Core OKE deliverable and action records that the validation routines confirm and against which messages are associated.
- PA_PROJECTS_ALL and PA_TASKS — Provide project and task context used to validate the task/deliverable relationship.
- PJM_ORG_PARAMETERS and PJM_PROJECT_PARAMETERS — Supply organizational and project-level setup, including functional currency information.
- DUAL — Used for single-row computations and default returns.
The tables are referenced rather than owned, confirming the package acts as a validation layer over other products' data.
Usage Notes
OKE_ACTION_VALIDATIONS_PKG is invoked from three documented dependent packages, indicating it is called programmatically rather than directly by end users. Typical invocation points include Oracle Forms events on deliverable and action windows, concurrent programs that process project deliverables and create downstream supply-chain documents, and custom extensions that interface with OKE. The validation functions return a VARCHAR2 result, so callers should check the return value and consult messages added via Add_Msg. Because the package references tables in HR, HZ, PA, PJM, and OKE, implementations must ensure the APPS schema has the appropriate synonyms and privileges, and that setup data for currencies, organizations, and locations is complete before actions are validated. In 12.1.1 and 12.2.2 the package behaves consistently, with 12.2.x online-patching considerations applying to any customization built on top of it.
-
PACKAGE: APPS.OKE_ACTION_VALIDATIONS_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKE_ACTION_VALIDATIONS_PKG, status:VALID,
-
PACKAGE: APPS.OKE_ACTION_VALIDATIONS_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKE_ACTION_VALIDATIONS_PKG, status:VALID,
-
SYNONYM: APPS.WSH_DOCUMENT_INSTANCES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:WSH_DOCUMENT_INSTANCES, status:VALID,
-
VIEW: APPS.WSH_PACKING_SLIPS_DB_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSH_PACKING_SLIPS_DB_V, object_name:WSH_PACKING_SLIPS_DB_V, status:VALID,
-
SYNONYM: APPS.WSH_DOCUMENT_INSTANCES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:WSH_DOCUMENT_INSTANCES, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
VIEW: APPS.OKE_DELIVERABLE_SHIPPING_V
12.2.2
owner:APPS, object_type:VIEW, object_name:OKE_DELIVERABLE_SHIPPING_V, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
VIEW: APPS.WSH_PACKING_SLIPS_DB_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSH_PACKING_SLIPS_DB_V, object_name:WSH_PACKING_SLIPS_DB_V, status:VALID,
-
VIEW: APPS.OKE_DELIVERABLE_SHIPPING_V
12.1.1
owner:APPS, object_type:VIEW, object_name:OKE_DELIVERABLE_SHIPPING_V, status:VALID,
-
SYNONYM: APPS.WSH_DELIVERY_ASSIGNMENTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:WSH_DELIVERY_ASSIGNMENTS, status:VALID,
-
SYNONYM: APPS.WSH_DELIVERY_LEGS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:WSH_DELIVERY_LEGS, status:VALID,
-
SYNONYM: APPS.WSH_DELIVERY_ASSIGNMENTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:WSH_DELIVERY_ASSIGNMENTS, status:VALID,
-
SYNONYM: APPS.WSH_DELIVERY_LEGS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:WSH_DELIVERY_LEGS, status:VALID,
-
SYNONYM: APPS.WSH_NEW_DELIVERIES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:WSH_NEW_DELIVERIES, status:VALID,
-
SYNONYM: APPS.WSH_NEW_DELIVERIES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:WSH_NEW_DELIVERIES, status:VALID,
-
SYNONYM: APPS.WSH_DELIVERY_DETAILS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:WSH_DELIVERY_DETAILS, status:VALID,
-
VIEW: APPS.FND_LOOKUP_VALUES_VL
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:FND.FND_LOOKUP_VALUES_VL, object_name:FND_LOOKUP_VALUES_VL, status:VALID,
-
SYNONYM: APPS.WSH_DELIVERY_DETAILS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:WSH_DELIVERY_DETAILS, status:VALID,
-
VIEW: APPS.FND_LOOKUP_VALUES_VL
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:FND.FND_LOOKUP_VALUES_VL, object_name:FND_LOOKUP_VALUES_VL, status:VALID,
-
eTRM - WSH Tables and Views
12.1.1
description: Stores hierarchy for zones. Each region component of a zone has a record in this table. ,
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
eTRM - FND Tables and Views
12.2.2
description: No longer used ,
-
eTRM - FND Tables and Views
12.1.1
description: No longer used ,
-
eTRM - WSH Tables and Views
12.1.1
description: Stores hierarchy for zones. Each region component of a zone has a record in this table. ,
-
eTRM - FND Tables and Views
12.2.2
description: No longer used ,
-
eTRM - FND Tables and Views
12.1.1
description: No longer used ,