Search Results generate_oc_trans_xml




Overview

GMO_OC_TRANS_PKG is a PL/SQL package owned by the APPS schema in Oracle E-Business Suite, classified under the ETRM (E-Business Suite Technical Reference Manual) as an "OTHER" type API. It forms part of the Oracle Process Manufacturing (OPM) / Manufacturing Execution System (MES) family of packages, as indicated by the GMO prefix, which is associated with the Oracle Manufacturing Operations Center (MOC) and shop floor transaction processing modules. The package provides the technical foundation for generating XML representations of operations and transaction data used by downstream MES and MOC integration processes.

The package's core business purpose is to construct and emit XML payloads that describe operational transaction data, allowing OPM or MOC-enabled installations to exchange structured transaction information with external shop floor systems, integration middleware, or reporting consumers. The package status is VALID in the documented environment, confirming it is compiled and available for execution.

Key Procedures and Functions

The ETRM 12.2.2 metadata documents one public procedure or function:

  • GENERATE_OC_TRANS_XML — The primary entry point of the package. Its documented role is to generate an XML document representing an operations center transaction. This routine assembles the relevant source data into an XMLType structure suitable for outbound integration or storage. Parameter details are not enumerated in the ETRM excerpt; consult the package specification in the APPS schema for the authoritative signature.

Tables Accessed

Based on the documented dependency list, the package reads from several APPS synonyms mapped to base application tables. These references are read-only in nature for the purposes of XML construction:

  • CR_RSRC_DTL — Capacity/resource detail table, providing resource availability and capacity information used within the transaction XML.
  • HR_ALL_ORGANIZATION_UNITS — Supplies organization and business unit identification attributes for the transaction context.
  • MTL_PARAMETERS — Provides inventory organization-level defaults and control settings, including the default operating unit and master organization context.
  • MTL_SYSTEM_ITEMS_KFV — A key flexfield view of the item master, used to resolve item identifiers and descriptive flexfield attributes for the transaction lines.
  • DBMS_LOB — Oracle-supplied LOB package used to manipulate large objects, consistent with the assembly of XML payloads that may exceed VARCHAR2 limits.
  • DUAL — Utility reference for single-row evaluation, typically used for date or sequence derivation.
  • XMLTYPE — Oracle-supplied XML datatype used to construct and return the generated document.

Usage Notes

GENERATE_OC_TRANS_XML is typically invoked by integration or concurrent processing logic rather than directly by an end user. Common invocation contexts include:

  • Concurrent programs or scheduled jobs that batch-generate transaction XML for outbound interfaces.
  • Custom PL/SQL integration code within an MES or MOC implementation that requires an XML representation of a shop floor transaction.
  • Workflow or messaging components that consume XML payloads and pass them to an external system or message queue.

The package is referenced by no other documented packages and declares no dependency on other custom APPS packages, so it can be treated as a self-contained utility within the OPM/MES integration layer. Because the ETRM excerpt does not enumerate parameters, implementers should query ALL_ARGUMENTS for GMO_OC_TRANS_PKG.GENERATE_OC_TRANS_XML to confirm the exact callable signature before invoking it.