Search Results gme_create_batch_pvt




Overview

The APPS.GME_CREATE_BATCH_PVT package is a private (PVT-classified) PL/SQL API within the Oracle E-Business Suite Process Manufacturing (OPM/GME) module. Its principal business function is to create and maintain batch records in the GME_BATCH_HEADER and related step, material, and text tables. Batches in Process Manufacturing represent discrete production runs of a recipe or formula, capturing the WIP entity that drives material consumption, step execution, and yield accounting.

Operating in Oracle EBS 12.1.1 and 12.2.2 against schema APPS, the package sits between higher-level public APIs and the underlying batch data model. It depends on FND_API for the standard API error/return convention, on GME_BATCH_HEADER, and on GME_COMMON_PVT for shared batch subsystem logic. The object is documented as VALID and carries a PVT classification, indicating it is intended for internal consumption rather than direct customer invocation.

Key Procedures and Functions

Four documented subprograms constitute the package interface:

  • CONSTRUCT_BATCH_HEADER — Builds or populates the batch header record structure from the supplied recipe, organization, and batch context, assembling the data prior to persistence.
  • VALIDATE_WIP_ENTITY — Verifies the WIP entity/batch context (organization, recipe, or entity identifiers) before creation proceeds, enforcing business consistency.
  • CREATE_BATCH — Performs the actual batch creation, inserting into the header and deriving downstream step, material, and text records from the applicable recipe.
  • UPDATE_STEP_MTQ — Updates the material quantity (MTQ) associated with a batch step, supporting adjustments to step-level material requirements after batch creation.

Parameter lists are not documented in the ETRM metadata and are therefore not reproduced here.

Tables Accessed

The package reads from recipe-definition tables and writes to batch-instance tables, all via APPS synonyms:

Usage Notes

GME_CREATE_BATCH_PVT is invoked indirectly. The documented referencers are GME_API_MAIN, GME_API_GRP, GME_CONVERT_FPO_PVT, and GME_PHANTOM_PVT, meaning batch creation is reached through public API entry points, flow-schedule/FPO conversion, and phantom processing rather than by custom code directly. Customizations should call the supported public GME APIs; direct invocation of this private package risks unsupported behavior across releases.