Search Results p_cust_or_inv_item




Overview

APPS.RLM_RLMDMSIQ_XMLP_PKG is the PL/SQL package associated with an Oracle EBS XML Publisher (BI Publisher) concurrent program in the Order Management / Release Management (RLM) module. The suffix _XMLP_PKG indicates that the package was generated by the Oracle XML Publisher data template framework and serves as the data source wrapper for a concurrent program. Based on the naming convention and the documented parameter list, the program appears to be a "DM SIQ" (Demand Management / Shipment Information Query, or similar reporting variant) extract that reports order, shipment, item, forecast, and cumulative quantity information against customer and ship-to/ship-from organization criteria.

The package declares a set of public variables that correspond directly to the concurrent program's parameters: P_SHIP_FROM_ORG_ID, P_CUSTOMER_ID, P_SHIP_TO_ORG_ID, P_DELIVER_TO_ORG_ID, P_FROM_SHIP_DATE, P_TO_SHIP_DATE, P_CUST_OR_INV_ITEM, P_FROM_ITEM_ID, P_TO_ITEM_ID, P_FROM_ORDER, P_TO_ORDER, and several status/behavior selectors such as P_REQ_FIRM_FORECAST_BOTH, P_INCL_CANCEL_LINES, P_SHIP_UNSHIP_BOTH, P_SUM_DATE_AND_BUCKET, and P_INCL_CURR_RES_AUTHZNS. These defaults drive query construction during the BEFOREREPORT trigger, which binds the parameter values into WHERE clauses (P_WHERE_CLAUSE1, P_WHERE_CLAUSE2) before the XML data template executes.

Key Procedures and Functions

The package exposes 27 documented procedures and functions. They fall into two groups: XML Publisher "group function" formula callbacks and the report initialization routine.

Tables Accessed

Usage Notes

This package is invoked exclusively as the data source of the associated XML Publisher concurrent program. It is not a public API and is not referenced by any other package. The BEFOREREPORT routine runs when the concurrent request is submitted; the remaining formulas are evaluated by XML Publisher as it renders each report row and group. The trailing "FORMULA" naming pattern is characteristic of XML Publisher "formula columns" defined in the RTF or XSL-FO template, allowing display logic to be centralized in PL/SQL rather than embedded in the template. Because the package header was last modified with a "noship" marker, customization should be avoided; behavior should be controlled through the concurrent program parameters. The "ship_from_nameformula" lookup should be understood as the display formula for the ship-from organization name, populated from the ship-from organization identifier passed in P_SHIP_FROM_ORG_ID.