Search Results rcv_routing_steps




Overview

The RCV_ROUTING_STEPS table is a core data object within the Oracle E-Business Suite Purchasing (PO) module, specifically for Receiving. It defines the sequential steps or stages that a received material must pass through as part of a predefined receiving routing. A routing, defined in the RCV_ROUTING_HEADERS table, is a workflow for processing receipts, such as "Direct Delivery," "Standard Receipt," or "Inspection Required." This table stores the individual steps that comprise these routings, acting as the master definition for the receiving process flow. Its role is critical for enforcing business rules during the receipt of purchased items, ensuring materials are processed, inspected, and delivered to their final destination according to the organization's operational controls.

Key Information Stored

The table's primary purpose is to define the sequence and type of each step in a receiving routing. The key columns include ROUTING_STEP_ID (the primary key), which uniquely identifies each step, and ROUTING_HEADER_ID, a foreign key linking the step to its parent routing definition in RCV_ROUTING_HEADERS. The STEP_TYPE column is crucial, indicating the action of the step, such as 'RECEIVE', 'DELIVER', 'INSPECT', or 'RETURN TO RECEIVING'. Other important columns govern the step's order and logic: SEQUENCE_NUM dictates the execution order, NEXT_STEP_ID and PREVIOUS_STEP_ID manage the workflow linkage between steps, and ALLOW_UPDATE_FLAG controls whether transaction details can be modified at that stage. The table also tracks creation and last update metadata.

Common Use Cases and Queries

This table is primarily referenced to determine the workflow for a specific receipt transaction or to analyze receiving processes. A common reporting use case is to list all steps for a given routing to understand a standard process flow. For troubleshooting, one might query the steps associated with a particular receipt transaction to identify its current and next required steps. Sample SQL to retrieve the step sequence for a routing named 'INSPECTION REQUIRED' would involve joining RCV_ROUTING_HEADERS and RCV_ROUTING_STEPS:

  • SELECT rhs.ROUTING_HEADER_ID, rhs.SEQUENCE_NUM, rhs.STEP_TYPE FROM RCV_ROUTING_HEADERS rrh, RCV_ROUTING_STEPS rhs WHERE rrh.ROUTING_HEADER_ID = rhs.ROUTING_HEADER_ID AND rrh.ROUTING_NAME = 'INSPECTION REQUIRED' ORDER BY rhs.SEQUENCE_NUM;

Technically, the table is referenced by the Receiving transaction engine (via RCV_TRANSACTIONS and RCV_TRANSACTIONS_INTERFACE) to validate and progress each receipt through its defined workflow.

Related Objects

As indicated by the provided foreign key metadata, RCV_ROUTING_STEPS has integral relationships with several key receiving tables. It is a child of RCV_ROUTING_HEADERS, which stores the overall routing definition. Most importantly, it is referenced as a parent table by RCV_TRANSACTIONS, where the ROUTING_STEP_ID column indicates the current step of a live receipt transaction, and by RCV_TRANSACTIONS_INTERFACE, where it can be used to specify the intended step for an interfaced receipt. This structure ensures that every physical or pending receipt transaction is mapped to a specific step in a master routing definition, enabling consistent process enforcement across the Receiving application.