Results for “process_macd_order”

24 results




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

Overview

OE_CONFIG_TSO_GRP is a PL/SQL package body owned by the APPS schema in Oracle E-Business Suite Release 12.1.1 and 12.2.2. The suffix "GRP" identifies it as a Group API within the Oracle Order Management (OE) module, a naming convention Oracle reserves for packages that orchestrate multiple lower-level APIs into a single, cohesive business transaction. In this case, the package supports Make-to-Order and Configure-to-Order (CTO) order processing flows, specifically the handling of configuration change requests and the propagation of those changes through the order line structure. It acts as a coordination layer between the Order Management public APIs and the configuration management services exposed by the CSI (Customer Items / installed base) schema, allowing changes initiated against a configured item to be driven through the sales order lifecycle.

Key Procedures and Functions

The ETRM metadata documents two public program units for this package:

  • GET_MACD_ACTION_MODE — Retrieves the action mode to be applied when processing a Model/Configuration change (MACD). This function determines how the configuration change should be handled within the order management flow, returning the mode that governs whether the change is treated as an update, a reconfiguration, or another supported action against the affected order line.
  • PROCESS_MACD_ORDER — Executes the processing of an order associated with a MACD (Model/Attribute/Configuration Delta) operation. This procedure drives the configuration change through the order, invoking the underlying Order Management public APIs to validate and apply the change against the sales order line and its associated configuration data. It forms the transactional core of the package, coordinating calls across OE_ORDER_PUB, OE_CONFIG_TSO_PVT, and CSI_DATASTRUCTURES_PUB.

Tables Accessed

The package references OE_ORDER_LINES_ALL via its APPS synonym. This is the base table holding order line detail for all sales orders. The package reads and writes order line records as it applies configuration changes, updating line attributes and status to reflect the MACD outcome. Access to related configuration and structure information is obtained indirectly through calls to CSI_DATASTRUCTURES_PUB and OE_CONFIG_TSO_PVT rather than through direct table DML, which keeps the package aligned with the supported API layer.

Usage Notes

OE_CONFIG_TSO_GRP is not referenced by any other database object, indicating it is invoked at the top of the call stack rather than being a shared dependency of other packages. It is called from Order Management configuration change flows, typically from Oracle Forms or from concurrent programs that manage configuration change requests. The package relies on standard EBS infrastructure components: FND_API for the API savepoint and error-handling framework, FND_MESSAGE and OE_MSG_PUB for message retrieval, MO_GLOBAL for multi-org (Operating Unit) context security, and OE_DEBUG_PUB for diagnostic logging. Its dependency on OE_ORDER_PUB confirms that order manipulation is performed exclusively through the supported public API rather than direct table updates. Custom extensions requiring CTO or MACD processing should call this package or the underlying PVT layer rather than bypassing it, to preserve validation, messaging, and multi-org integrity.