Search Results wms_wmsasni_xmlp_pkg
Overview
The package body APPS.WMS_WMSASNI_XMLP_PKG is an Oracle Reports 6i/10g report logic package (the _XMLP_PKG suffix denotes a report whose output is XML Publisher-enabled) belonging to the Warehouse Management System (WMS) module. The object name WMSASNI corresponds to the WMS Advanced Shipment Notice (ASN) Inquiry report, a warehouse execution report used to review inbound ASN data such as LPNs, revisions, lots, and serial numbers. The package contains the standard Oracle Reports PL/SQL constructs — BEFOREREPORT, AFTERREPORT, AFTERPFORM, and BETWEENPAGE — combined with nine formula-column functions (CF_1FORMULA through CF_9FORMULA) that compute derived display values at report runtime.
The header comment ($Header: WMSASNIBIB.pls 120.1 2008/03/18) identifies the object as a Report Builder Integration Bean (BIB) generated PL/SQL library registered in the NOSHIP (non-shipped) file set, indicating it is delivered as report source rather than as a database-schema object subject to patching. This behavior is consistent across Oracle EBS 12.1.1 and 12.2.2, where the report source is largely unchanged; only the surrounding XML Publisher infrastructure differs between releases.
Key Procedures and Functions
- BEFOREREPORT — Initializes the report execution context. It captures
FND_GLOBAL.CONC_REQUEST_IDintoP_CONC_REQUEST_ID(the standard concurrent request identifier parameter) so downstream queries and formula columns can reference the current submission. - AFTERREPORT — Standard report-termination hook; contains the disabled
SRW.USER_EXIT('FND SRWEXIT')call (commented out) which historically released report session resources. - AFTERPFORM — Executes after parameter form validation. The disabled
SRW.MESSAGEdebug statements show it was used to echoP_FROM_DATEandP_END_DATEduring development. - BETWEENPAGE — Page-level trigger, historically used for debug messages; no active logic remains.
- CF_1FORMULA — Returns the organization name by querying
ORG_ORGANIZATION_DEFINITIONSforORG_ID, returning 'Organization Name Not Found' on error. This supplies the report header organization. - CF_2FORMULA — Accepts
ITEM_IDand returns the concatenated item description fromMTL_SYSTEM_ITEMS_KFV. - CF_3FORMULA — Builds the "View By" label by concatenating values ('LPN', 'REVISION', 'Lot Number', 'SERIAL') based on the
P_CHECK_LPN,P_CHECK_REVISION,P_CHECK_LOT_NUMBER, andP_CHECK_SER_NUMBERparameters. - CF_4FORMULA through CF_9FORMULA — Additional formula columns computing report display values (typically status, quantity, or conditional formatting fields). The ETRM metadata does not expose their individual bodies, so their precise logic cannot be stated.
Tables Accessed
- ORG_ORGANIZATION_DEFINITIONS — Read to resolve the organization name for
ORG_IDinCF_1FORMULA. - MTL_SYSTEM_ITEMS_KFV — Read (via APPS synonym) in
CF_2FORMULAto obtain the key-flexfield item description/concatenated segments for a givenITEM_ID.
Additional WMS ASN tables (for example, WMS_LICENSE_PLATE_NUMBERS, MTL_MATERIAL_TRANSACTIONS, or RCV_SHIPMENT_HEADERS) are referenced by the report's main and group queries, not by the PL/SQL library's documented procedures.
Usage Notes
The package is invoked implicitly by Oracle Reports at runtime. The four event functions fire in their standard sequence (Before Report, After Parameter Form, Between Pages, After Report), and each CF_nFORMULA executes when its associated formula column is evaluated in the report layout. Administrators submit the parent concurrent program (WMS ASN Inquiry) via the Warehouse Management or Inventory responsibility; no direct call is intended.
Regarding the search term cf_7formula: this identifier refers to the seventh formula-column function in the package, one of the report's derived-value generators. Because ETRM documents the function's name and classification but not its full body, its exact computation should be confirmed by reading the deployed source in $APPL_TOP/wms/12.0.0/sql/WMSASNIBIB.pls (or the 12.2 $APPL_TOP/wms/12.0.0 equivalent). The function is never called externally and is not tracked as a database dependency; because the report is registered under NOSHIP, customizations to CF_7FORMULA require manual source modification and recompilation of the report, and should be preserved across patching since Oracle does not maintain these files as patched schema objects.
-
PACKAGE BODY: APPS.WMS_WMSASNI_XMLP_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:WMS_WMSASNI_XMLP_PKG, status:VALID,
-
PACKAGE BODY: APPS.WMS_WMSASNI_XMLP_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:WMS_WMSASNI_XMLP_PKG, status:VALID,
-
PACKAGE: APPS.WMS_WMSASNI_XMLP_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:WMS_WMSASNI_XMLP_PKG, status:VALID,
-
PACKAGE: APPS.WMS_WMSASNI_XMLP_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:WMS_WMSASNI_XMLP_PKG, status:VALID,
-
PACKAGE: APPS.WMS_WMSASNI_XMLP_PKG
12.2.2
-
PACKAGE: APPS.WMS_WMSASNI_XMLP_PKG
12.1.1
-
PACKAGE BODY: APPS.WMS_WMSASNI_XMLP_PKG
12.1.1
-
PACKAGE BODY: APPS.WMS_WMSASNI_XMLP_PKG
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
APPS.WMS_WMSASNI_XMLP_PKG dependencies on WMS_WMSASNI_XMLP_PKG
12.1.1
-
APPS.WMS_WMSASNI_XMLP_PKG dependencies on WMS_WMSASNI_XMLP_PKG
12.2.2
-
VIEW: APPS.ORG_ORGANIZATION_DEFINITIONS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:INV.ORG_ORGANIZATION_DEFINITIONS, object_name:ORG_ORGANIZATION_DEFINITIONS, status:VALID,
-
VIEW: APPS.ORG_ORGANIZATION_DEFINITIONS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:INV.ORG_ORGANIZATION_DEFINITIONS, object_name:ORG_ORGANIZATION_DEFINITIONS, status:VALID,
-
SYNONYM: APPS.MTL_SYSTEM_ITEMS_KFV
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MTL_SYSTEM_ITEMS_KFV, status:VALID,
-
SYNONYM: APPS.MTL_SYSTEM_ITEMS_KFV
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MTL_SYSTEM_ITEMS_KFV, status:VALID,
-
APPS.WMS_WMSASNI_XMLP_PKG dependencies on FND_GLOBAL
12.1.1
-
VIEW: APPS.PO_VENDORS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.PO_VENDORS, object_name:PO_VENDORS, status:VALID,
-
APPS.WMS_WMSASNI_XMLP_PKG dependencies on FND_GLOBAL
12.2.2
-
VIEW: APPS.PO_VENDORS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.PO_VENDORS, object_name:PO_VENDORS, status:VALID,
-
eTRM - SQLAP Tables and Views
12.1.1
description: Set Distribution Table. ,
-
eTRM - SQLAP Tables and Views
12.2.2
description: Set Distribution Table. ,
-
PACKAGE: APPS.FND_GLOBAL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_GLOBAL, status:VALID,
-
eTRM - INV Tables and Views
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
PACKAGE: APPS.FND_GLOBAL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_GLOBAL, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
eTRM - SQLAP Tables and Views
12.2.2
description: Set Distribution Table. ,
-
eTRM - SQLAP Tables and Views
12.1.1
description: Set Distribution Table. ,
-
PACKAGE: SYS.STANDARD
12.1.1
owner:SYS, object_type:PACKAGE, object_name:STANDARD, status:VALID,
-
eTRM - INV Tables and Views
12.1.1