Skip to the content.

OPM Routing Upload – Oracle EBS SQL Report

Oracle E-Business Suite SQL report from the Enginatics Library powered by Blitz Report™.

Overview

OPM Routing Upload ================== Create or update Oracle Process Manufacturing (OPM / GMD) Routings via the public API GMD_ROUTINGS_PUB / GMD_ROUTING_STEPS_PUB.

Row model

One spreadsheet row per routing STEP. The header columns (Organization Code, Routing, Routing Version, Description, Class, UOM, dates, owner, header attributes) repeat on every step of the same routing. Each step carries its Step No, Operation (No + Version), Step Quantity, Release Type, and step attributes. Rows of the same routing (Organization Code + Routing + Routing Version) must be contiguous. Every routing must have at least one step.

Step dependencies (optional)

To make a step depend on a predecessor step, fill Depends On Step No (and optionally Standard / Minimum / Maximum Delay, Transfer Percent, Rework Code, Chargeable) on that step’s row. For a step with more than one predecessor, add extra rows that repeat the Step No, leave Operation blank, and give a different Depends On Step No. Dependency Type is always Finish-to-Start.

Operations must already exist

Operations are referenced, not created - the Operation (No + Version) must already exist in the routing’s organization, effective for the routing’s dates.

Upload modes

Create - empty template for new routings. Create, Update - downloads existing routings in the chosen organization for review/edit and allows adding new ones.

Update limitations (public API)

On update, the OPM public API only allows changing a routing’s Status, Routing Class, Routing UOM, Fixed Process Loss UOM, Owner and Organization at the header level; Description, Quantity, Process Loss, effective dates and the step-dependency flags are set at create time only. Steps can be added and their quantity / release type / yield updated.

Run this report in Excel in seconds: download Blitz Report™ free (your first 30 reports are free) or try it in the online demo.

Report Parameters

Upload Mode, Organization Code, Routing

Oracle EBS Tables Used

gmd_status_vl, fnd_user, gmd_routings_vl, fm_rout_dtl, gmd_operations_vl, mtl_parameters, org_access_view

Report Categories

Enginatics, R12 only, Upload

OPM Recipe Upload, OPM Recipe Details, OPM Formula Upload, CAC OPM Costed Formula

Running This SQL Without Blitz Report

The SQL source can be run in any SQL client. Some Oracle EBS SQL reports in this library use functions from the utility package xxen_util – install it first. Blitz Report™ adds parameters, Excel output with pivots, scheduling and security on top.

Download & Import Options

Resource Link
Excel Example Output Example
Blitz Report™ XML Import OPM_Routing_Upload.xml
SQL Source OPM Routing Upload.sql
Full Report on Enginatics www.enginatics.com/reports/opm-routing-upload/

Case Study & Technical Analysis: OPM Routing Upload

Executive Summary

This upload creates and updates Oracle Process Manufacturing (OPM) routings, the step sequences that describe how a product is made, through the public routing and routing step APIs. Process engineers and manufacturing master-data teams use it to build many routings in one spreadsheet, with each step, its operation, quantities, release types and step dependencies, rather than entering them routing by routing. It is an R12 upload that runs in Excel through Blitz Report™.

Business Challenge

The Solution

Technical Architecture (High Level)

Primary Tables

Logical Relationships

  1. Each routing header in GMD_ROUTINGS_VL is joined to its steps in FM_ROUT_DTL on the routing identifier.
  2. Each step is joined to its operation in GMD_OPERATIONS_VL on the operation identifier, so the operation number and version are read from the operation.
  3. The owning organization is joined to MTL_PARAMETERS for the organization code.
  4. Only routings that are not marked for deletion and that belong to an organization the responsibility can access are kept.
  5. Header and step flexfield values are displayed under the routing header and routing step flexfield contexts.
  6. Each row is numbered by routing, version and step number, and the rows of one routing must be contiguous in the file.

Parameters & Filtering

Performance & Optimization

FAQ

Q: Which routing fields can be changed on update? A: Through the public API, only the Status, Routing Class, Routing UOM, Fixed Process Loss UOM, Owner and Organization can be changed at header level, and steps can be added with their quantity, release type and yield updated.

Q: How is a step made to depend on two predecessor steps? A: Repeat the step number on an extra row, leave Operation blank and enter a different Depends On Step No; each row adds one predecessor, and the dependency type is always Finish-to-Start.

Q: Can the upload create an operation that does not exist? A: No, operations are referenced rather than created, so each Operation number and version must already exist in the routing’s organization and be effective for the routing’s dates.


© Enginatics GmbH