Search Results process_resrc_assign
Overview
APPS.AHL_PP_RESRC_ASSIGN_PVT is a private (PVT) PL/SQL package within the Oracle E-Business Suite Enterprise Asset Management / Complex Maintenance, Repair and Overhaul (CMRO) product family, built on the AHL schema prefix associated with the Oracle eAM and Depot Repair application modules. Its role is to encapsulate the internal business logic that assigns resources — employees, departments, and resource instances — to work order operations and work assignments. In the Oracle EBS 12.1.1 and 12.2.2 architectures, packages classified as PVT are not intended for direct external invocation. They contain proprietary processing logic consumed by sibling public APIs and by the higher-level assignment engine, insulating callers from the underlying record structure and data manipulation.
The package header defines two PL/SQL types central to its operation: Resrc_Assign_Rec_Type, a record structure that mirrors the columns of a resource assignment, and Resrc_Assign_Tbl_Type, a PL/SQL table (associative array) of that record indexed by BINARY_INTEGER. This design allows the package to process resource assignments in bulk, passing collections of assignments between the public API layer and the private persistence routines. This matches the pattern commonly used throughout the AHL_*_PVT family in Oracle eAM.
Key Procedures and Functions
The documented interface exposes a single program unit:
- PROCESS_RESRC_ASSIGN — The core processing routine of the package. It accepts resource assignment data (typically via the Resrc_Assign_Rec_Type record or the Resrc_Assign_Tbl_Type collection) and performs the validation, resolution, and persistence of resource assignments against work orders and work order operations. This procedure embodies the internal logic that the public resource assignment APIs delegate to after performing their own security and concurrency checks. Because the package is private, the procedure's parameter list is not intended for customer use and is not documented in the ETRM metadata; callers should invoke the public wrapper instead of PROCESS_RESRC_ASSIGN directly.
Tables Accessed
The package reads from and writes to a broad set of base and interface tables spanning the AHL, BOM, and WIP schemas, accessed through APPS synonyms:
- AHL_WORKORDERS, AHL_WORKORDER_OPERATIONS, AHL_OPERATION_RESOURCES — the work order header, its operations, and the resources defined against each operation; these define the assignment context.
- AHL_WORK_ASSIGNMENTS, AHL_WORK_ASSIGNMENTS_S — the primary transactional tables where resource-to-work assignments are created and updated, with the _S table storing the alternate key / sequence information used for assignment numbering.
- BOM_DEPARTMENTS, BOM_DEPARTMENT_RESOURCES, BOM_DEPT_RES_INSTANCES, BOM_RESOURCES, BOM_RESOURCE_EMPLOYEES — the resource and department setup, resource instances, and the employee-to-resource cross-reference used to resolve which employees may be assigned to which resources.
- WIP_DISCRETE_JOBS, WIP_OPERATIONS, WIP_OPERATION_RESOURCES — the manufacturing work-in-process entities that share the operation/resource assignment model, allowing eAM work orders to reference WIP-based operations where applicable.
- PLITBLM and DUAL — standard Oracle EBS utility objects used for PL/SQL table manipulation and singleton lookups.
The critical field in this structure for resource identification is RESOURCE_SEQ_NUMBER, which the record type carries alongside OPERATION_SEQ_NUMBER to uniquely position a resource within a work order operation.
Usage Notes
Because the package is classified PVT, it is not supported for direct invocation from custom code, forms, or concurrent programs. It is referenced by four other packages in the AHL object library and is normally exercised indirectly through the public resource assignment API (typically the AHL_PP_RESRC_ASSIGN_PUB or an equivalent public package) invoked from the eAM Work Order and CMRO forms.
When the search term "resource_seq_number" appears in context with this package, it refers to the RESOURCE_SEQ_NUMBER attribute of the Resrc_Assign_Rec_Type record. This field carries the sequential position of a resource line within its parent operation and is populated by the public API layer before PROCESS_RESRC_ASSIGN resolves the corresponding BOM_RESOURCES and AHL_OPERATION_RESOURCES entries and writes the assignment to AHL_WORK_ASSIGNMENTS. Developers tracing assignment creation or debugging resource sequencing issues should inspect the public API and the AHL_WORK_ASSIGNMENTS tables rather than calling this private package directly.
-
PACKAGE: APPS.AHL_PP_RESRC_ASSIGN_PVT
12.2.2
-
PACKAGE: APPS.AHL_PP_RESRC_ASSIGN_PVT
12.1.1
-
PACKAGE: APPS.AHL_PP_RESRC_ASSIGN_PVT_W
12.2.2
-
PACKAGE: APPS.AHL_PP_RESRC_ASSIGN_PVT_W
12.1.1
-
PACKAGE BODY: APPS.AHL_PP_RESRC_ASSIGN_PVT
12.2.2
-
PACKAGE BODY: APPS.AHL_PP_RESRC_ASSIGN_PVT
12.1.1
-
PACKAGE BODY: APPS.AHL_PP_RESRC_ASSIGN_PVT_W
12.1.1
-
PACKAGE BODY: APPS.AHL_PP_RESRC_ASSIGN_PVT_W
12.2.2
-
APPS.AHL_PP_RESRC_ASSIGN_PVT dependencies on FND_API
12.1.1
-
APPS.AHL_PP_RESRC_ASSIGN_PVT dependencies on FND_API
12.2.2
-
APPS.AHL_PP_RESRC_ASSIGN_PVT dependencies on AHL_PP_RESRC_ASSIGN_PVT
12.1.1
-
APPS.AHL_PP_RESRC_ASSIGN_PVT dependencies on AHL_PP_RESRC_ASSIGN_PVT
12.2.2
-
APPS.AHL_PP_RESRC_ASSIGN_PVT dependencies on FND_MSG_PUB
12.2.2
-
APPS.AHL_PP_RESRC_ASSIGN_PVT dependencies on FND_MSG_PUB
12.1.1
-
APPS.AHL_PP_RESRC_ASSIGN_PVT dependencies on FND_API
12.2.2
-
APPS.AHL_PP_RESRC_ASSIGN_PVT dependencies on FND_API
12.1.1
-
APPS.AHL_PP_RESRC_ASSIGN_PVT_W dependencies on JTF_VARCHAR2_TABLE_100
12.1.1
-
APPS.AHL_PP_RESRC_ASSIGN_PVT_W dependencies on JTF_VARCHAR2_TABLE_100
12.2.2
-
APPS.AHL_PP_RESRC_ASSIGN_PVT dependencies on STANDARD
12.2.2
-
APPS.AHL_PP_RESRC_ASSIGN_PVT dependencies on STANDARD
12.1.1
-
APPS.AHL_PP_RESRC_ASSIGN_PVT dependencies on AHL_DEBUG_PUB
12.2.2
-
APPS.AHL_PP_RESRC_ASSIGN_PVT dependencies on AHL_DEBUG_PUB
12.1.1
-
APPS.AHL_PP_RESRC_ASSIGN_PVT_W dependencies on JTF_VARCHAR2_TABLE_200
12.1.1
-
APPS.AHL_PP_RESRC_ASSIGN_PVT_W dependencies on JTF_VARCHAR2_TABLE_200
12.2.2