Search Results eam_material_allocqty_pkg
Overview
APPS.EAM_MATERIAL_ALLOCQTY_PKG is a PL/SQL package body in the Oracle E-Business Suite Enterprise Asset Management (EAM) module that provides quantity calculation services for material allocation associated with maintenance work orders and material transactions. Its primary business purpose is to determine how much material is allocated, available, and open against work order material requirements, so that maintenance planners and shop floor users can make accurate replenishment and issuing decisions.
This package is classified as an "OTHER" API in the ETRM documentation. It is not a public, formally versioned API like the FND_API-based interfaces; instead, it is an internal utility package within the EAM schema that other EAM packages and forms consume. The package body is documented with a VALID status in the APPS schema and depends on several core Oracle applications packages, including FND_API, FND_PROFILE, INV_GLOBALS, INV_QUANTITY_TREE_PUB, INV_QUANTITY_TREE_PVT, and STANDARD.
Because EAM material requirements are expressed in multiple units of measure — including primary and secondary UOMs — the package relies on the INV quantity tree utilities to perform UOM conversions when computing allocated and open quantities.
Key Procedures and Functions
The ETRM documentation identifies four documented procedures or functions within this package:
- ALLOCATED_QUANTITY — Returns the quantity of a material that has already been allocated to a work order or material transaction request. This is used to determine committed material quantities.
- OPEN_QUANTITY — Returns the open (unfulfilled) quantity remaining against a work order material requirement. This supports backorder and shortage visibility.
- QUANTITY_ALLOCATED — Provides an allocation quantity value, typically associated with the quantity already reserved or assigned through material allocation logic.
- GET_ONHAND_AVAIL_QUANT — Retrieves the on-hand available quantity for an item, considering the current inventory position. This supports availability checking prior to allocation or issuing.
The parameter signatures for these procedures are not enumerated in the provided ETRM documentation. The evident pattern is that each function accepts item, organization, and work order context and returns a numeric quantity.
Tables Accessed
Per the documented dependency metadata, this package references the following base tables through APPS synonyms:
- MTL_TXN_REQUEST_HEADERS — Header information for move order (material transaction request) documents. The package reads this to identify the context of material allocation.
- MTL_TXN_REQUEST_LINES — Line-level material request details, including item, quantity, and source/destination subinventory. Allocation and open quantity calculations are derived from these lines.
- MTL_SYSTEM_ITEMS and MTL_SYSTEM_ITEMS_B_KFV — Item master details used to resolve item attributes and descriptions.
- MTL_SECONDARY_INVENTORIES — Subinventory definitions, used to resolve allocation source and destination locations.
- MTL_ITEM_QUANTITIES_VIEW — On-hand and available quantity view used by GET_ONHAND_AVAIL_QUANT.
Usage Notes
This package is typically invoked indirectly through EAM maintenance work order processing, material allocation workflows, and shop floor material issue forms. It is referenced by eight other database objects, indicating it is a shared internal service rather than a standalone API. It is not referenced by any EAM form or concurrent program directly as a public interface; instead, it is called from other EAM packages and potentially from custom extensions that need to compute allocated, open, or available quantities for maintenance material. Developers extending EAM material logic should call this package through its documented functions rather than querying the underlying tables directly, to preserve UOM conversion and profile-based behavior handled by INV_GLOBALS and FND_PROFILE.
-
PACKAGE BODY: APPS.EAM_MATERIAL_ALLOCQTY_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:EAM_MATERIAL_ALLOCQTY_PKG, status:VALID,
-
PACKAGE: APPS.EAM_MATERIAL_ALLOCQTY_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:EAM_MATERIAL_ALLOCQTY_PKG, status:VALID,
-
PACKAGE: APPS.EAM_MATERIAL_ALLOCQTY_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:EAM_MATERIAL_ALLOCQTY_PKG, status:VALID,
-
PACKAGE BODY: APPS.EAM_MATERIAL_ALLOCQTY_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:EAM_MATERIAL_ALLOCQTY_PKG, status:VALID,
-
PACKAGE: APPS.EAM_MATERIAL_ALLOCQTY_PKG
12.1.1
-
PACKAGE: APPS.EAM_MATERIAL_ALLOCQTY_PKG
12.2.2
-
PACKAGE BODY: APPS.EAM_MATERIAL_VALIDATE_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:EAM_MATERIAL_VALIDATE_PUB, status:VALID,
-
PACKAGE BODY: APPS.EAM_OP_VALIDATE_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:EAM_OP_VALIDATE_PVT, status:VALID,
-
PACKAGE BODY: APPS.EAM_MATERIALISSUE_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:EAM_MATERIALISSUE_PVT, status:VALID,
-
PACKAGE BODY: APPS.EAM_MAT_REQ_VALIDATE_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:EAM_MAT_REQ_VALIDATE_PVT, status:VALID,
-
PACKAGE BODY: APPS.EAM_MATERIAL_VALIDATE_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:EAM_MATERIAL_VALIDATE_PUB, status:VALID,
-
PACKAGE BODY: APPS.EAM_MAT_REQ_VALIDATE_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:EAM_MAT_REQ_VALIDATE_PVT, status:VALID,
-
PACKAGE BODY: APPS.EAM_OP_VALIDATE_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:EAM_OP_VALIDATE_PVT, status:VALID,
-
PACKAGE BODY: APPS.EAM_WORKORDERREP_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:EAM_WORKORDERREP_PVT, status:VALID,
-
VIEW: APPS.MTL_ITEM_QUANTITIES_VIEW
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_ITEM_QUANTITIES_VIEW, object_name:MTL_ITEM_QUANTITIES_VIEW, status:VALID,
-
PACKAGE BODY: APPS.EAM_MATERIALISSUE_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:EAM_MATERIALISSUE_PVT, status:VALID,
-
PACKAGE BODY: APPS.EAM_WORKORDERREP_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:EAM_WORKORDERREP_PVT, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
PACKAGE: APPS.INV_QUANTITY_TREE_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:INV_QUANTITY_TREE_PUB, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
PACKAGE BODY: APPS.EAM_MATERIAL_ALLOCQTY_PKG
12.1.1
-
VIEW: APPS.WIP_EAM_REQUIREMENTS_ALL_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:WIP.WIP_EAM_REQUIREMENTS_ALL_V, object_name:WIP_EAM_REQUIREMENTS_ALL_V, status:VALID,
-
VIEW: APPS.WIP_EAM_REQUIREMENTS_ALL_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:WIP.WIP_EAM_REQUIREMENTS_ALL_V, object_name:WIP_EAM_REQUIREMENTS_ALL_V, status:VALID,
-
SYNONYM: APPS.MTL_TXN_REQUEST_HEADERS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MTL_TXN_REQUEST_HEADERS, status:VALID,
-
PACKAGE: APPS.INV_QUANTITY_TREE_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:INV_QUANTITY_TREE_PVT, status:VALID,
-
SYNONYM: APPS.MTL_TXN_REQUEST_HEADERS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MTL_TXN_REQUEST_HEADERS, status:VALID,
-
PACKAGE: APPS.INV_QUANTITY_TREE_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:INV_QUANTITY_TREE_PUB, status:VALID,
-
PACKAGE: APPS.INV_QUANTITY_TREE_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:INV_QUANTITY_TREE_PVT, status:VALID,
-
PACKAGE BODY: APPS.EAM_MATERIAL_ALLOCQTY_PKG
12.2.2
-
PACKAGE: APPS.INV_GLOBALS
12.1.1
owner:APPS, object_type:PACKAGE, object_name:INV_GLOBALS, status:VALID,
-
VIEW: APPS.EAM_CFR_MATERIALS_V
12.1.1
owner:APPS, object_type:VIEW, object_name:EAM_CFR_MATERIALS_V, status:VALID,
-
VIEW: APPS.EAM_REQUIREMENT_OPERATIONS_V
12.1.1
owner:APPS, object_type:VIEW, object_name:EAM_REQUIREMENT_OPERATIONS_V, status:VALID,
-
VIEW: APPS.EAM_CFR_MATERIALS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:EAM.EAM_CFR_MATERIALS_V, object_name:EAM_CFR_MATERIALS_V, status:VALID,
-
SYNONYM: APPS.MTL_TXN_REQUEST_LINES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MTL_TXN_REQUEST_LINES, status:VALID,
-
PACKAGE: APPS.INV_GLOBALS
12.2.2
owner:APPS, object_type:PACKAGE, object_name:INV_GLOBALS, status:VALID,
-
VIEW: APPS.EAM_REQUIREMENT_OPERATIONS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:EAM.EAM_REQUIREMENT_OPERATIONS_V, object_name:EAM_REQUIREMENT_OPERATIONS_V, status:VALID,
-
SYNONYM: APPS.MTL_TXN_REQUEST_LINES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MTL_TXN_REQUEST_LINES, status:VALID,
-
APPS.EAM_CFR_MATERIALS_V dependencies on EAM_MATERIAL_ALLOCQTY_PKG
12.1.1
-
APPS.EAM_MAT_REQ_VALIDATE_PVT dependencies on EAM_MATERIAL_ALLOCQTY_PKG
12.2.2
-
APPS.EAM_MATERIAL_ALLOCQTY_PKG dependencies on EAM_MATERIAL_ALLOCQTY_PKG
12.2.2
-
APPS.WIP_EAM_REQUIREMENTS_ALL_V dependencies on EAM_MATERIAL_ALLOCQTY_PKG
12.1.1
-
APPS.EAM_MATERIAL_ALLOCQTY_PKG dependencies on EAM_MATERIAL_ALLOCQTY_PKG
12.1.1
-
APPS.EAM_MATERIALISSUE_PVT dependencies on EAM_MATERIAL_ALLOCQTY_PKG
12.1.1
-
APPS.EAM_OP_VALIDATE_PVT dependencies on EAM_MATERIAL_ALLOCQTY_PKG
12.1.1
-
APPS.EAM_MATERIAL_VALIDATE_PUB dependencies on EAM_MATERIAL_ALLOCQTY_PKG
12.1.1
-
APPS.EAM_MATERIAL_VALIDATE_PUB dependencies on EAM_MATERIAL_ALLOCQTY_PKG
12.2.2
-
APPS.EAM_OP_VALIDATE_PVT dependencies on EAM_MATERIAL_ALLOCQTY_PKG
12.2.2
-
APPS.EAM_MAT_REQ_VALIDATE_PVT dependencies on EAM_MATERIAL_ALLOCQTY_PKG
12.1.1