Results for “basis_code”

2 results




AI-generated from documented ETRM metadata — verify critical details on the linked pages.

Overview

MRP_I2_ROUTING_V is a database view belonging to the Oracle E-Business Suite Master Scheduling/MRP (MRP) product family. Its documented purpose is to expose routing information in a flattened, integration-friendly format for consumption by the Rhythm planning and scheduling engine. The view is not a standard Oracle Applications dictionary object; rather, it is a "Rhythm view" — a presentation-layer construct used to feed external planning tools with routing, resource, and operation data derived from the Oracle Bills of Material and Routings tables.

In the context of Oracle EBS 12.1.1 and 12.2.2, the view selects assembly, operation, department, resource, and rate information, then wraps several columns in calls to MRP_I2_ERP package functions such as GENERATE_ROUTING and GET_PARAMETER. This design indicates that the view performs runtime string assembly and parameter lookups rather than relying purely on stored columns. The view is documented as "Not implemented in this database" in the source metadata, meaning it may be shipped as a placeholder, created only when the Rhythm integration is licensed and configured, or deliberately omitted in environments where the integration is not installed.

Underlying Base Objects

The ETRM metadata records no explicitly documented base objects for this view; the "Referenced base objects" list is empty. However, the view text reveals the source tables through their aliases. BOM references the bill of materials assembly table, contributing ASSEMBLY_ITEM_ID, BILL_SEQUENCE_ID, COMMON_BILL_SEQUENCE_ID, and ALTERNATE_BOM_DESIGNATOR. PM references the item master (part number and organization), supplying PART_NUMBER and ORGANIZATION_ID. BRV references the routing operation resource view or table, contributing OPERATION, DESCRIPTION, RESOURCE_RATE, RESOURCE_SETUP, OPERATION_YIELD, DEPARTMENT_ID, RESOURCE_ID, UNIT_OF_MEASURE, and ALT_ROUTING_DESIGNATOR. BR references the resource table, providing DEPARTMENT_CODE and RESOURCE_CODE, which are concatenated with a delimiter.

Because these are combined through a single SELECT with no documented join metadata, the view functions as a pre-joined denormalized projection. The BASI prefix appearing at the end of the excerpt (BRV.BASI…) corresponds to the basis_code column sought by the user, indicating that routing basis information is exposed directly from the routing resource source.

Key Columns

  • assembly_item_id — Internal identifier of the assembly being routed.
  • operation / description — Operation sequence identifier and its description.
  • resource_rate — Efficiency-adjusted resource rate; a zero rate is substituted with 0.000001 to avoid division errors.
  • resource_setup — Setup time for the resource.
  • department_id / resource_id — Foreign keys to department and resource definitions.
  • basis_code — The basis on which resource usage is charged (for example, per item or per lot), surfaced from the routing resource attributes.
  • unit_of_measure / operation_yield / minimum_transfer_quantity — Operation-level planning attributes.
  • alternate_bom_designator / alt_routing_designator — Alternate BOM and routing designators.
  • organization_id — Owning inventory organization.

Several columns map dynamically to OP_RES_ATTRIBUTE1 through 15 based on parameters MRP_I2_P_RES_CDT_ATTR_NUM and MRP_I2_P_RES_TYP_ATTR_NUM, allowing customer-specific attribute configuration.

Common Use Cases and Queries

The primary use case is extracting routing data for external scheduling engines and custom reports. A typical query would filter by organization and assembly, then select the operation, resource, and basis columns directly.

A representative statement is:
SELECT assembly_item_id, operation, description, resource_rate, resource_setup, basis_code, unit_of_measure, operation_yield, organization_id
FROM mrp_i2_routing_v
WHERE organization_id = :org_id AND assembly_item_id = :item_id
ORDER BY operation;

Because the view calls MRP_I2_ERP functions, performance can degrade if the functions are not cached, so filtering aggressively on organization_id is advisable. The view is generally joined to item and BOM views to enrich output. If the view is absent — as the metadata warns it may be — developers should verify installation of the Rhythm integration, since the object is not part of the base 12.1.1 or 12.2.2 schema in every environment.