Skip to the content.

OPM Recipe 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 recipes and their details. Every row carries a Row Type, and the recipe key (Organization Code, Recipe, Recipe Version) repeats on all rows of a recipe; keep the rows of one recipe together.

Recipe: the header with formula, routing, recipe type, process loss, yield and owner. A new recipe needs this row and is created in status New. Validity Rule: a validity rule for a product, with its use, organization, quantities and dates. Routing Step: the recipe’s own step quantity and yield for a routing step. Step Material: the association of a formula line with a routing step, with transfer quantity and delays. Process Loss: the process loss of the recipe in an organization. Customer: a customer the recipe is used for. Org Operation: the activity factor of an operation activity in an organization. Org Resource: the usage, process quantity, capacities and process parameters of an operation resource in an organization.

Each template shows the columns of one row type.

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

Oracle EBS Tables Used

mtl_parameters, fm_form_mst_b, gmd_routings_b, gmd_status_vl, fnd_user, gmd_recipes_vl, xxen_report_org_access, mtl_system_items_vl, gmd_recipe_validity_rules, gmd_operations_vl, fm_rout_dtl, gmd_recipe_routing_steps, fm_matl_dtl, gmd_recipe_step_materials, gmd_recipe_process_loss, hz_cust_accounts, gmd_recipe_customers, gmd_recipe_orgn_activities, gmd_operation_activities, gmd_recipe_orgn_resources

Report Categories

Enginatics, R12 only, Upload

OPM Recipe Details, CAC Inventory Organization Summary, OPM Formula Where-Used, 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_Recipe_Upload.xml
SQL Source OPM Recipe Upload.sql
Full Report on Enginatics www.enginatics.com/reports/opm-recipe-upload/

Case Study & Technical Analysis: OPM Recipe Upload

Executive Summary

The OPM Recipe Upload maintains process manufacturing recipes in Oracle Process Manufacturing (OPM), the Recipe Management structure that defines how a product is made. A recipe is downloaded as a multi-row structure covering the recipe header, validity rules, routing steps, step materials, process losses, customers, organisation activities and organisation resources, and each row is typed so that the user can see which part of the recipe it belongs to.

Business Challenge

The Solution

Technical Architecture (High Level)

Primary Tables

Logical Relationships

  1. Each recipe in GMD_RECIPES_VL links to its owner organisation in MTL_PARAMETERS, and only recipes not marked for deletion are returned.
  2. Validity rules join to the recipe on the recipe identifier and to MTL_SYSTEM_ITEMS_VL for the product.
  3. Routing steps join FM_ROUT_DTL to the recipe’s routing and then to GMD_RECIPE_ROUTING_STEPS on the routing step identifier.
  4. Step materials join to the recipe and to the routing step, and their item is resolved through FM_MATL_DTL and MTL_SYSTEM_ITEMS_VL.
  5. Process losses, customers and organisation activities join to the recipe, with activities linked to GMD_OPERATION_ACTIVITIES by operation line.
  6. Organisation resources join to the recipe and the operation activity in the same way as activities.
  7. The row types are combined with union all and ordered by recipe, version, row type, step, product and validity rule.

Parameters & Filtering

Performance & Optimization

FAQ

Q: How do I download a recipe with its routing steps and materials in OPM? A: Set the Recipe and Organization Code parameters and run the report in update mode. The Routing Step and Step Material rows show each step and its materials.

Q: What does a Validity Rule row represent? A: A validity rule defines the product, organisation, quantity range, revision and effective dates for which a recipe applies, and each one is a separate row under its recipe.

Q: Which columns identify the step a material belongs to? A: The step column holds the routing step number, and the material rows carry the same recipe and routing step identifiers.


© Enginatics GmbH