Search Results ahl_prd_print_pvt
Overview
APPS.AHL_PRD_PRINT_PVT is a private PL/SQL package within the Oracle E-Business Suite (EBS) Application Object Library used by the Oracle Complex Maintenance, Repair, and Overhaul (CMRO) or Enterprise Asset Management (EAM) modules. Its primary business function is to generate and manage print and XML output for production workcards, work orders, and job cards used in maintenance and repair operations. The package acts as a critical bridge between the core AHL (Advanced Maintenance) production data model and external printing or job card generation engines, including the Enigma JCG (Job Card Generation) system. It handles the transformation of work order data into XML format, manages requests to external systems, processes responses, and controls the printing of workcards. As a private (PVT) package, it is not exposed as a public API and is intended for internal use by other Oracle EBS components, views, and concurrent programs. It is listed as a VALID object in the APPS schema and is referenced by numerous AHL views and other packages, indicating its central role in the work order printing and job card lifecycle.
Key Procedures and Functions
The package exposes 18 documented procedures and functions, each serving a specific purpose in the print and job card generation workflow:
- GEN_WO_XML — Generates XML representation of a work order for printing or external processing.
- GEN_WORKCARD_XML — Produces XML output specifically for workcard printing, likely including operation and resource details.
- PROCESS_JCG_REQUEST — Processes an inbound or outbound job card generation request within the integration flow.
- GENERATE_JCG_XML — Creates the XML payload required by the Enigma JCG system.
- GENERATED_JOBCARD_EXISTS — Checks whether a job card has already been generated, preventing duplication.
- GET_JC_FILE_LOCATION — Retrieves the file system or repository location for a generated job card.
- GET_LATEST_JCG_STATUS — Returns the most recent status of a job card generation request.
- GET_JCG_ERROR_MSG — Fetches the error message associated with a failed JCG request.
- GET_TZ_OFFSET — Determines the time zone offset, ensuring correct timestamping of print and job card data.
- HANDLE_ENIGMAJCG_RESP — Handles a successful response from the Enigma JCG system.
- HANDLE_ENIGMAJCG_FAULTS — Processes fault or error responses from the Enigma JCG system.
- HANDLE_JCG_RESPONSE — Manages general responses from the job card generation process.
- HANDLE_JCG_ERRORS — Centralizes error handling for JCG-related operations.
- GENERATE_JCG_REQUEST — Initiates a new job card generation request to the external system.
- PRINT_WORKCARD — Directly triggers the printing of a workcard, likely using a predefined report or template.
- APPLY_TRANSFORMATION — Applies an XSL transformation to XML data, converting it into a printable or displayable format.
- GET_XSL_CLOB — Retrieves the XSL stylesheet stored as a CLOB, used for transformation.
Tables Accessed
The package references several AHL base tables and views via APPS synonyms. These tables supply the master data required for workcard and job card generation:
- WF_EVENT_T — Used for workflow event propagation, likely to signal completion or errors.
- AHL_ENIGMA_JCG_DETAILS and AHL_ENIGMA_JCG_DETAILS_S — Store details of Enigma job card generation requests and their statuses.
- AHL_ITEM_GROUPS_B — Provides item group definitions for grouping maintenance items.
- AHL_MC_HEADERS_B — Maintenance campaign or work order headers.
- AHL_MC_RELATIONSHIPS — Relationships between maintenance campaign entities.
- AHL_MEL_CDL_ATA_SEQUENCES, AHL_MEL_CDL_HEADERS — Provide ATA (Air Transport Association) chapter and sequence data for aviation maintenance contexts.
- AHL_MR_HEADERS_B and AHL_MR_HEADERS_TL — Maintenance repair headers and their translations.
- AHL_OPERATIONS_B — Operation definitions for work orders.
- AHL_OPERATION_RESOURCES — Resources assigned to operations, needed for workcard detail.
- AHL_PC_NODES_B — Planning or configuration nodes.
- AHL_REPAIR_CATEGORIES — Categories of repair work.
- AHL_ROUTES_B — Routing information for maintenance operations.
These tables are read to assemble the XML payload, validate job card existence, and store request/response details.
Usage Notes
APPS.AHL_PRD_PRINT_PVT is typically invoked from Oracle EBS forms related to work order and workcard management, from concurrent programs that batch-generate job cards for the Enigma system, or from other AHL packages and views. The package is referenced by several views including AHL_MR_INSTANCES_V, AHL_WORKORDERS_V, and AHL_PP_EMPLOYEE_ASSIGN_V, meaning its logic is embedded in query operations. It is also referenced by AHL_PRD_PRINT_PVT_W, a wrapper package that likely exposes callable entry points. Custom code should not call this private package directly; instead, use supported public APIs or concurrent programs. When invoked, the package relies on FND_API for error handling and standard Oracle Application Object Library utilities. The presence of XSL transformation functions indicates that printed output can be formatted using customizable stylesheets, offering flexibility in workcard presentation. Administrators should ensure that Enigma JCG configuration and file locations are properly set up to avoid errors in the GET_JC_FILE_LOCATION and HANDLE_JCG_ERRORS routines.
-
PACKAGE: APPS.AHL_PRD_PRINT_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AHL_PRD_PRINT_PVT, status:VALID,
-
PACKAGE: APPS.AHL_PRD_PRINT_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AHL_PRD_PRINT_PVT, status:VALID,
-
PACKAGE BODY: APPS.AHL_PRD_PRINT_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_PRD_PRINT_PVT, status:VALID,
-
SYNONYM: APPS.AHL_ENIGMA_JCG_DETAILS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AHL_ENIGMA_JCG_DETAILS, status:VALID,
-
PACKAGE BODY: APPS.AHL_PRD_PRINT_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_PRD_PRINT_PVT, status:VALID,
-
PACKAGE: APPS.AHL_PRD_PRINT_CUHK
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AHL_PRD_PRINT_CUHK, status:VALID,
-
SYNONYM: APPS.AHL_ENIGMA_JCG_DETAILS_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AHL_ENIGMA_JCG_DETAILS_S, status:VALID,
-
SYNONYM: PUBLIC.DBMS_XSLPROCESSOR
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:DBMS_XSLPROCESSOR, status:VALID,
-
PACKAGE: APPS.AHL_PRD_PRINT_PVT_W
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AHL_PRD_PRINT_PVT_W, status:VALID,
-
SYNONYM: APPS.AHL_ROUTES_TL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AHL_ROUTES_TL, status:VALID,
-
SYNONYM: APPS.AHL_REPAIR_CATEGORIES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AHL_REPAIR_CATEGORIES, status:VALID,
-
SYNONYM: APPS.AHL_OPERATION_RESOURCES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AHL_OPERATION_RESOURCES, status:VALID,
-
SYNONYM: APPS.AHL_MEL_CDL_ATA_SEQUENCES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AHL_MEL_CDL_ATA_SEQUENCES, status:VALID,
-
SYNONYM: APPS.AHL_MEL_CDL_HEADERS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AHL_MEL_CDL_HEADERS, status:VALID,
-
PACKAGE BODY: APPS.AHL_PRD_PRINT_PVT_W
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_PRD_PRINT_PVT_W, status:VALID,
-
SYNONYM: APPS.AHL_UNIT_ACCOMPLISHMNTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AHL_UNIT_ACCOMPLISHMNTS, status:VALID,
-
SYNONYM: APPS.AHL_OPERATION_RESOURCES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AHL_OPERATION_RESOURCES, status:VALID,
-
PACKAGE: APPS.AHL_PRD_PRINT_PVT_W
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AHL_PRD_PRINT_PVT_W, status:VALID,
-
SYNONYM: PUBLIC.DBMS_XMLPARSER
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:DBMS_XMLPARSER, status:VALID,
-
PACKAGE: APPS.AHL_PRD_RESOURCE_TRANX_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AHL_PRD_RESOURCE_TRANX_PVT, status:VALID,
-
PACKAGE: APPS.AHL_PRD_RESOURCE_TRANX_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AHL_PRD_RESOURCE_TRANX_PVT, status:VALID,
-
SYNONYM: APPS.AHL_WORK_ASSIGNMENTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AHL_WORK_ASSIGNMENTS, status:VALID,
-
PACKAGE BODY: APPS.AHL_PRD_PRINT_PVT_W
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_PRD_PRINT_PVT_W, status:VALID,
-
SYNONYM: APPS.AHL_WORK_ASSIGNMENTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AHL_WORK_ASSIGNMENTS, status:VALID,
-
PACKAGE: APPS.AHL_PRD_WO_LOGIN_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AHL_PRD_WO_LOGIN_PVT, status:VALID,
-
PACKAGE: APPS.AHL_PRD_WO_LOGIN_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AHL_PRD_WO_LOGIN_PVT, status:VALID,
-
SYNONYM: APPS.AHL_MR_HEADERS_TL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AHL_MR_HEADERS_TL, status:VALID,
-
SYNONYM: APPS.AHL_UNIT_DEFERRALS_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AHL_UNIT_DEFERRALS_B, status:VALID,
-
PACKAGE: APPS.AHL_UMP_UTIL_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AHL_UMP_UTIL_PKG, status:VALID,
-
PACKAGE: APPS.AHL_UMP_NONROUTINES_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AHL_UMP_NONROUTINES_PVT, status:VALID,
-
PACKAGE: APPS.AHL_PRD_PARTS_CHANGE_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AHL_PRD_PARTS_CHANGE_PVT, status:VALID,
-
SYNONYM: APPS.AHL_PC_NODES_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AHL_PC_NODES_B, status:VALID,
-
SYNONYM: APPS.AHL_ITEM_GROUPS_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AHL_ITEM_GROUPS_B, status:VALID,
-
SYNONYM: APPS.CS_INCIDENT_TYPES_TL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CS_INCIDENT_TYPES_TL, status:VALID,
-
SYNONYM: APPS.CS_INCIDENT_SEVERITIES_TL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CS_INCIDENT_SEVERITIES_TL, status:VALID,
-
PACKAGE: APPS.AHL_OSP_UTIL_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AHL_OSP_UTIL_PKG, status:VALID,
-
PACKAGE: APPS.AHL_OSP_UTIL_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AHL_OSP_UTIL_PKG, status:VALID,
-
SYNONYM: PUBLIC.DBMS_XMLDOM
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:DBMS_XMLDOM, status:VALID,
-
SYNONYM: APPS.AHL_WORKORDER_OPERATIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AHL_WORKORDER_OPERATIONS, status:VALID,
-
PACKAGE: APPS.AHL_PRD_PRINT_PVT
12.1.1
-
SYNONYM: APPS.AHL_ROUTE_OPERATIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AHL_ROUTE_OPERATIONS, status:VALID,
-
SYNONYM: APPS.CS_INCIDENT_URGENCIES_TL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CS_INCIDENT_URGENCIES_TL, status:VALID,
-
SYNONYM: APPS.AHL_RT_OPER_RESOURCES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AHL_RT_OPER_RESOURCES, status:VALID,
-
PACKAGE: APPS.AHL_UTIL_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AHL_UTIL_PKG, status:VALID,
-
SYNONYM: APPS.AHL_OPERATIONS_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AHL_OPERATIONS_B, status:VALID,
-
SYNONYM: APPS.AHL_WORKORDER_OPERATIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AHL_WORKORDER_OPERATIONS, status:VALID,
-
SYNONYM: APPS.CS_INCIDENTS_ALL_TL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CS_INCIDENTS_ALL_TL, status:VALID,
-
SYNONYM: APPS.AHL_UE_RELATIONSHIPS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AHL_UE_RELATIONSHIPS, status:VALID,
-
SYNONYM: APPS.JTF_NOTES_TL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JTF_NOTES_TL, status:VALID,
-
SYNONYM: APPS.AHL_SCHEDULE_MATERIALS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AHL_SCHEDULE_MATERIALS, status:VALID,