Search Results get_max_step_date




Overview

GME_CREATE_STEP_PVT is a private PL/SQL package in the APPS schema that supports Oracle Process Manufacturing (OPM) batch step creation within Oracle E-Business Suite 12.1.1 and 12.2.2. It is classified as a PVT (private) API, meaning it is intended for internal consumption by other OPM packages rather than as a public integration interface. Its principal business function is to construct and persist batch step records — including step activities, dependencies, items, resources, charges, and process parameters — when a batch is created, copied, rerouted, rescheduled, or updated. The package also performs date and duration calculations for batch steps, such as deriving step quantities, computing longest-path timings, and resolving working start times. It is the computational and transactional engine that sits between higher-level public APIs, notably GME_API_PUB, and the underlying GME batch tables.

Key Procedures and Functions

The package exposes thirteen documented procedures and functions:

Tables Accessed

The package reads and writes the core OPM batch tables through APPS synonyms:

Usage Notes

Because GME_CREATE_STEP_PVT is a private package, it should not be called directly from custom code; the supported entry point is the public API GME_API_PUB, which references it. It is also invoked by numerous internal OPM packages, including GME_CREATE_BATCH_PVT, GME_BATCHSTEP_ACT_PVT, GME_INSERT_STEP_PVT, GME_REROUTE_BATCH_PVT, GME_RESCHEDULE_BATCH_PVT, GME_RESCHEDULE_STEP_PVT, GME_UPDATE_STEP_QTY_PVT, and GMP_APS_WRITER. It depends on utility packages such as FND_API, GMD_AUTO_STEP_CALC, and GMD_RECIPE_FETCH_PUB. Typical invocations occur during batch creation, batch step insertion, reroute and reschedule processing, and Advanced Planning System writes. Customizations requiring batch step logic should route through GME_API_PUB or the documented public OPM APIs to preserve supported behavior across upgrades.