Search Results pricing_callback_manual




Overview

ASO_CFG_PUB is the public configuration API package body within the Oracle Order Management and Oracle Advanced Pricing (ASO) schema. Its principal business function is to support the retrieval, manipulation, and pricing of configuration details associated with model-configured items on a quote or order. In Oracle EBS Release 12.1.1 and 12.2.2, this package exposes a set of published procedures that allow external callers — including pricing engines, forms, and custom extensions — to obtain configuration header and revision information for a configured item, and to trigger the pricing of the configuration's component lines. The package is classified as a Public (PUB) API, meaning Oracle documents its interface as callable by customers and partners, in contrast to private internal packages. The header comment identifies the source file as asopcfgb.pls, last revised in September 2010, with package-level naming constants G_PKG_NAME and G_FILE_NAME declared for standard error-handling and diagnostics.

Key Procedures and Functions

ETRM documents six callable objects within this package body. The names and purposes are as follows:

  • GET_CONFIG_DETAILS — The primary retrieval routine. In the documented source it is overloaded, appearing with at least two signatures. It accepts a control record and configuration/model/quote-line record types typical of the ASO quote API layer, together with a configuration header identifier, configuration revision number, and quote header identifier. It returns the standard EBS API out parameters: x_return_status, x_msg_count, and x_msg_data. Its purpose is to populate configuration detail records for a given configuration header and revision within the context of a quote.
  • PRICING_CALLBACK — A callback routine invoked to price the items that constitute a configuration. This is the object most directly associated with the pricing_callback search term, and it represents the integration point between configuration processing and the pricing engine.
  • PRICING_CALLBACK_MANUAL — A variant of the pricing callback intended for manual invocation scenarios, allowing configuration pricing to be triggered on demand rather than solely through the automatic callback path.
  • ASO_CONFIG_PRICE_ITEMS_MLS — A multi-lingual (MLS) helper supporting the pricing of configuration items, accommodating translated configuration data.
  • ASO_CONFIG_PRICE_ITEMS_MLS_MAN — The manual counterpart to the MLS pricing helper, providing the same multilingual pricing support under explicit manual control.

The GET_CONFIG_DETAILS overload delegates to the fully specified signature using an internally constructed quote header record, forwarding commit and message-list flags and the out parameters, demonstrating Oracle's standard wrapper pattern for API entry points.

Tables Accessed

The documented table references, resolved through APPS synonyms, are ASO_QUOTE_HEADERS_ALL and ASO_QUOTE_LINES_ALL. These are the core transactional tables for Oracle Quoting. ASO_QUOTE_HEADERS_ALL holds the quote header information, and ASO_QUOTE_LINES_ALL holds the quote line details, including configuration and model line records. Access to these tables is required so that Get_config_details can locate the configuration header, its revision, and the associated model lines, and so that the pricing callbacks can identify which configured items require pricing against the quote context.

Usage Notes

ASO_CFG_PUB is typically invoked from the Oracle Quoting and Order Management forms when a user interacts with a configured item — for example, on saving or repricing a configuration — and from pricing engine flows that require configuration details to be assembled and priced. The documented metadata notes that the package is referenced by five other packages, confirming its role as a shared utility within the ASO module rather than an isolated unit. Custom code should call only the declared PUB entry points and honor the standard FND_API initialization and message-handling conventions, including checking x_return_status for FND_API.G_RET_STS_SUCCESS and reading the message stack via FND_MSG_PUB. Because the pricing callback mechanisms bridge configuration management and Advanced Pricing, callers invoking PRICING_CALLBACK or PRICING_CALLBACK_MANUAL should ensure that pricing attributes and qualifiers are properly set up beforehand; otherwise the callback will complete with error status propagated through the out parameters.