Results for “process_direct_item_txn”

8 results




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

Overview

CST_EAMCOST_PUB is the public costing API for Oracle Enterprise Asset Management (eAM) within Oracle E-Business Suite releases 12.1.1 and 12.2.2. The package is owned by APPS and is classified as a PUB API, meaning its procedures are intended to be callable from external programs, concurrent managers, and other Oracle EBS modules. Its purpose is to support eAM job and work order costing for Release 11i.6 and later, providing the costing engine that translates costed material and resource transactions into the eAM cost, balance, and rollup structures. The package retrieves the charges of a costed MTL_MATERIAL_TRANSACTIONS row and calls internal update logic to populate the eAM tables. This includes maintenance cost collection, period balance maintenance, asset hierarchy rollups, and direct item costing. The header comment confirms the file revision lineage (CSTPEACB.pls 120.32) and the package constant G_PKG_NAME denoting the package name used for debug and logging. The package exposes 31 documented procedures and functions, and is referenced by 18 other packages, indicating its central role as a shared costing service.

Key Procedures and Functions

Tables Accessed

The package reads and writes the following tables through APPS synonyms: CSI_ITEM_INSTANCES and MTL_SERIAL_NUMBERS (asset instance and serial identification for work orders), BOM_DEPARTMENTS, BOM_DEPARTMENT_RESOURCES, and BOM_RESOURCES (department and resource definitions used for resource costing), CST_CAT_ELE_EXP_ASSOCS and CST_COST_ELEMENTS (cost element mapping), CST_DEPARTMENT_OVERHEADS (overhead rate application), CST_EAM_ASSET_PER_BALANCES and CST_EAM_BALANCE_BY_ACCOUNTS (asset period balances and account-level balances), CST_EAM_DIRECT_ITEMS_TEMP (temporary staging of direct item charges), CST_EAM_HIERARCHY_SNAPSHOT (asset hierarchy for rollup), CST_EAM_ROLLUP_COSTS and CST_EAM_ROLLUP_TEMP (rollup results and working data), and CST_EAM_WO_ESTIMATE_DETAILS (work order estimate detail).

Usage Notes

CST_EAMCOST_PUB is invoked primarily by the eAM costing engine when costed MTL_MATERIAL_TRANSACTIONS rows and resource charges are processed. Because it is classified as a PUB API, it may be called from other Oracle packages — 18 packages are documented as referencing it — as well as from concurrent programs that build rollups, compute job estimates, or purge rollup results. Custom code should call the public procedures rather than the underlying private routines, supply the standard FND_API parameter set (p_api_version, p_init_msg_list, p_commit, p_validation_level, and the x_return_status, x_msg_count, x_msg_data out parameters), and check x_return_status before committing. INSERTUPDATE_EAMPERBAL should not be invoked directly outside the supported processing flow, because it depends on the context established by Process_MatCost or Process_ResCost. Debug output is controlled by the MRP_DEBUG profile value, and logging follows FND_LOG conventions.