Search Results terminated_ind




Overview

GME_BATCH_STEPS_V is a supplementary view owned by the APPS schema within the GME - Process Manufacturing Process Execution product. It is defined over the GME_BATCH_STEPS table and presents batch step (operation-level) execution data in a reporting-ready format. The view joins each batch step to its operation definition in GMD_OPERATIONS and to the GEM_LOOKUPS lookup view to decode the step status into a user-facing meaning. It also invokes several FND utility packages to render date columns in the session server time zone and to translate the terminated indicator into a message string.

The view is intended to serve Oracle EBS reporting and integration needs where consumers require denormalized operation numbers, versions, status descriptions, and display-formatted dates without writing the underlying joins or time zone conversion logic themselves. Because it is a supplementary view, it does not introduce new business logic beyond the join, decode, and format transformations shown in its definition.

Underlying Base Objects

The view is defined over three primary data sources plus several FND utility packages documented in the metadata:

Key Columns

Common Use Cases and Queries

Typical uses include batch step quantity reporting, operation-level progress tracking, and integration extracts that require decoded statuses and time-zone-adjusted dates. A common query filters or projects PLAN_STEP_QTY, which is the term the user searched for:

  • List planned versus actual step quantities for a batch:
    SELECT batch_id, batchstep_no, operation_no,
           plan_step_qty, actual_step_qty, backflush_qty
      FROM apps.gme_batch_steps_v
     WHERE batch_id = :p_batch_id
     ORDER BY batchstep_no;
  • Track open step statuses with display dates:
    SELECT batch_id, batchstep_no, meaning,
           plan_step_qty, plan_start_date, due_date
      FROM apps.gme_batch_steps_v
     WHERE step_status NOT IN ('C','X');
  • Aggregate plan quantity by operation:
    SELECT operation_no, SUM(plan_step_qty) total_plan_qty
      FROM apps.gme_batch_steps_v
     GROUP BY operation_no;

Because the view performs joins to GMD_OPERATIONS and GEM_LOOKUPS, it is most efficient when filtered by BATCH_ID or BATCHSTEP_ID, ensuring the underlying indexes on GME_BATCH_STEPS are used.