Search Results inv_consumption_advice_proc
Overview
The APPS.INV_CONSUMPTION_ADVICE_PROC package body implements the business logic behind the Create Consumption Advice concurrent program in Oracle E-Business Suite. Consumption advice processing supports procurement arrangements such as supplier consignment inventory and pay-on-use (POO) models, where goods are held at a site but ownership and payment obligations transfer only at the point of consumption. The package identifies material consumption transactions and transforms them into the evidence required to relieve consigned stock and to create or update the corresponding purchasing documents.
The source file is INVRCADB.pls, with a header revision history extending from its creation in November 2002 through maintenance patches in 2013. The header identifies the package as Oracle copyrighted material and attributes the internal procedure list, indicating a design divided between a top-level driving routine and parallelisable worker routines. The ETRM repository classifies the package under owner APPS with an API classification of OTHER, meaning it is an internal, non-public interface rather than a formally supported open API. It is referenced by one other package within the EBS schema set.
Key Procedures and Functions
The ETRM metadata documents two procedures for this package, although the source header enumerates a broader private procedure list:
- CONSUMPTION_TXN_MANAGER — the principal driver procedure. It manages the overall consumption advice run: selecting eligible consumption transactions, coordinating the creation of the advice records, and controlling the worker processes that carry out the detailed processing. Historical bug fixes recorded in the header address a performance issue (Bug 4863365) and, critically, the prevention of duplicate release transactions when the concurrent program is executed in parallel (Bug 4574159). This procedure is therefore the entry point invoked by the concurrent program.
- CONSUMPTION_TXN_WORKER — the worker procedure that processes the transaction subset assigned to it by the manager. A 2006 modification (Bug 5006151) adjusted the exit condition for the worker, and separate fixes relate to profile option handling (Bug 4599072) and to the addition of the
BLANKET_PRICEandPO_DISTRIBUTION_IDcolumns to the consumption transaction table (Bug 4969421).
The header additionally lists private supporting routines including Update_Consumption, Load_Consumption, Load_Summarized_Quantity, Delete_Record, Batch_Allocation, Submit_Worker, Wait_For_All_Workers, Wait_For_Worker, Has_Worker_Completed, Generate_Batch_Id, and the logging routines Generate_Log, Log, and Log_Initialize. These provide batch partitioning, worker synchronisation, and error reporting; error messages are stored in the MCT table per the September 2003 change note.
Tables Accessed
The documented table references indicate both inventory and purchasing integration:
- MTL_CONSUMPTION_TRANSACTIONS and MTL_CONSUMPTION_TXN_TEMP — the primary working tables holding consumption advice records and their temporary staging equivalents.
- MTL_MATERIAL_TRANSACTIONS, MTL_SYSTEM_ITEMS, and MTL_UNITS_OF_MEASURE — source inventory transactions and item/UOM validation data.
- PO_DISTRIBUTIONS_ALL, PO_DISTRIBUTIONS_INTERFACE (and
_S), PO_HEADERS_ALL, PO_HEADERS_INTERFACE (and_S), and PO_LINES_INTERFACE — purchasing interface tables used to create or update the release and distribution records that constitute the consumption advice. - FINANCIALS_SYSTEM_PARAMS_ALL — financials system parameter lookups.
- FND_CONCURRENT_REQUESTS — concurrent request context, supporting worker submission and status checks.
Usage Notes
This package is invoked through the Create Consumption Advice concurrent program, generally scheduled to run periodically so that accumulated consumption is converted into purchasing documentation. Direct calls from forms are not the intended pattern. Because the package is classified as OTHER rather than as a public API, customisations should not call its procedures directly; supported extension points should be used instead. Implementations running the concurrent program in parallel must rely on the duplicate-release protections added by the documented bug fixes, and any diagnostic output is available through the built-in logging routines and the consumption transaction table's error columns.
-
PACKAGE BODY: APPS.INV_CONSUMPTION_ADVICE_PROC
12.2.2
-
PACKAGE BODY: APPS.INV_CONSUMPTION_ADVICE_PROC
12.1.1
-
PACKAGE: APPS.INV_CONSUMPTION_ADVICE_PROC
12.2.2
owner:APPS, object_type:PACKAGE, object_name:INV_CONSUMPTION_ADVICE_PROC, status:VALID,
-
PACKAGE: APPS.INV_CONSUMPTION_ADVICE_PROC
12.1.1
owner:APPS, object_type:PACKAGE, object_name:INV_CONSUMPTION_ADVICE_PROC, status:VALID,
-
PACKAGE BODY: APPS.INV_CONSUMPTION_ADVICE_PROC
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:INV_CONSUMPTION_ADVICE_PROC, status:VALID,
-
PACKAGE BODY: APPS.INV_CONSUMPTION_ADVICE_PROC
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:INV_CONSUMPTION_ADVICE_PROC, status:VALID,
-
PACKAGE: APPS.INV_CONSUMPTION_ADVICE_PROC
12.1.1
-
PACKAGE: APPS.INV_CONSUMPTION_ADVICE_PROC
12.2.2
-
SYNONYM: APPS.MTL_THIRD_PARTY_CP_S
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MTL_THIRD_PARTY_CP_S, status:VALID,
-
SYNONYM: APPS.MTL_CONSUMPTION_TXN_TEMP
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MTL_CONSUMPTION_TXN_TEMP, status:VALID,
-
SYNONYM: APPS.MTL_CONSUMPTION_TXN_TEMP
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MTL_CONSUMPTION_TXN_TEMP, status:VALID,
-
PACKAGE BODY: APPS.INV_CONSUMPTION_ADVICE_CP
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:INV_CONSUMPTION_ADVICE_CP, status:VALID,
-
PACKAGE BODY: APPS.INV_CONSUMPTION_ADVICE_CP
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:INV_CONSUMPTION_ADVICE_CP, status:VALID,
-
SYNONYM: APPS.MTL_CONSUMPTION_TRANSACTIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MTL_CONSUMPTION_TRANSACTIONS, status:VALID,
-
PACKAGE: APPS.INV_PO_THIRD_PARTY_STOCK_MDTR
12.2.2
owner:APPS, object_type:PACKAGE, object_name:INV_PO_THIRD_PARTY_STOCK_MDTR, status:VALID,
-
PACKAGE: APPS.INV_THIRD_PARTY_STOCK_UTIL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:INV_THIRD_PARTY_STOCK_UTIL, status:VALID,
-
PACKAGE: APPS.INV_THIRD_PARTY_STOCK_UTIL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:INV_THIRD_PARTY_STOCK_UTIL, status:VALID,
-
SYNONYM: APPS.PO_DISTRIBUTIONS_INTERFACE_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PO_DISTRIBUTIONS_INTERFACE_S, status:VALID,
-
PACKAGE: APPS.INV_PO_THIRD_PARTY_STOCK_MDTR
12.1.1
owner:APPS, object_type:PACKAGE, object_name:INV_PO_THIRD_PARTY_STOCK_MDTR, status:VALID,
-
SYNONYM: APPS.PO_HEADERS_INTERFACE_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PO_HEADERS_INTERFACE_S, status:VALID,
-
SYNONYM: APPS.MTL_CONSUMPTION_TRANSACTIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MTL_CONSUMPTION_TRANSACTIONS, status:VALID,
-
SYNONYM: APPS.PO_DISTRIBUTIONS_INTERFACE_S
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PO_DISTRIBUTIONS_INTERFACE_S, status:VALID,
-
SYNONYM: APPS.PO_LINES_INTERFACE_S
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PO_LINES_INTERFACE_S, status:VALID,
-
SYNONYM: APPS.PO_HEADERS_INTERFACE_S
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PO_HEADERS_INTERFACE_S, status:VALID,
-
SYNONYM: APPS.PO_LINES_INTERFACE_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PO_LINES_INTERFACE_S, status:VALID,
-
SYNONYM: APPS.PO_DISTRIBUTIONS_INTERFACE
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PO_DISTRIBUTIONS_INTERFACE, status:VALID,
-
SYNONYM: APPS.PO_ASL_DOCUMENTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PO_ASL_DOCUMENTS, status:VALID,
-
SYNONYM: APPS.PO_DISTRIBUTIONS_INTERFACE
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PO_DISTRIBUTIONS_INTERFACE, status:VALID,
-
SYNONYM: APPS.PO_LINES_INTERFACE
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PO_LINES_INTERFACE, status:VALID,
-
SYNONYM: APPS.PO_LINES_INTERFACE
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PO_LINES_INTERFACE, status:VALID,
-
SYNONYM: APPS.PO_HEADERS_INTERFACE
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PO_HEADERS_INTERFACE, status:VALID,
-
SYNONYM: APPS.PO_SYSTEM_PARAMETERS_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PO_SYSTEM_PARAMETERS_ALL, status:VALID,
-
APPS.INV_CONSUMPTION_ADVICE_PROC SQL Statements
12.2.2
-
SYNONYM: APPS.PO_HEADERS_INTERFACE
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PO_HEADERS_INTERFACE, status:VALID,
-
SYNONYM: APPS.PO_SYSTEM_PARAMETERS_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PO_SYSTEM_PARAMETERS_ALL, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
APPS.INV_CONSUMPTION_ADVICE_PROC SQL Statements
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
PACKAGE: APPS.INV_LOG_UTIL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:INV_LOG_UTIL, status:VALID,
-
PACKAGE: APPS.INV_LOG_UTIL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:INV_LOG_UTIL, status:VALID,
-
SYNONYM: APPS.FINANCIALS_SYSTEM_PARAMS_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FINANCIALS_SYSTEM_PARAMS_ALL, status:VALID,
-
SYNONYM: PUBLIC.DBMS_LOCK
12.1.1
owner:PUBLIC, object_type:SYNONYM, object_name:DBMS_LOCK, status:VALID,
-
SYNONYM: APPS.FINANCIALS_SYSTEM_PARAMS_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:FINANCIALS_SYSTEM_PARAMS_ALL, status:VALID,
-
APPS.INV_CONSUMPTION_ADVICE_PROC dependencies on INV_CONSUMPTION_ADVICE_PROC
12.1.1
-
APPS.INV_CONSUMPTION_ADVICE_CP dependencies on INV_CONSUMPTION_ADVICE_PROC
12.1.1
-
SYNONYM: PUBLIC.DBMS_LOCK
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:DBMS_LOCK, status:VALID,
-
APPS.INV_CONSUMPTION_ADVICE_CP dependencies on INV_CONSUMPTION_ADVICE_PROC
12.2.2
-
APPS.INV_CONSUMPTION_ADVICE_PROC dependencies on INV_CONSUMPTION_ADVICE_PROC
12.2.2