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

Creates and updates Oracle Process Manufacturing routings with their steps and step dependencies.

One 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 routing; keep the rows of one routing together. Every routing needs at least one step.

Step dependencies: to make a step depend on a predecessor, fill Depends On Step No (and optionally Standard, Minimum and Maximum Delay, Transfer Percent, Rework Code, Chargeable) on that step’s row. For a step with more than one predecessor, add rows that repeat the Step No, leave Operation blank and give another Depends On Step No. The dependency type is always Finish-to-Start. Existing dependencies are not downloaded.

Operations are referenced, not created: the Operation and Operation Version must exist in the routing’s organization, effective for the routing’s dates.

On update, Routing Class, Routing UOM, Fixed Process Loss UOM and Owner can change at header level; Description, Quantity, Process Loss, Status, the effective dates and the step dependency flags are used only when a routing is created. Steps can be added and deleted, and their Step Quantity, Release Type and Minimum Transfer Quantity changed.

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, xxen_report_org_access

Report Categories

Enginatics, R12 only, Upload

OPM Recipe Upload, OPM Recipe Details, OPM Formula Upload, CAC OPM Costed Formula, OPM Formula Details, OPM Formula Where-Used

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