Applies to:
Purpose
To troubleshoot why a requisition or purchase order (PO) and the supply is not visible to MRP.
Troubleshooting Steps
There are many reasons why your purchasing supply may not be visible to MRP. The worksheet below will help you
determine the cause of your problem. You may be able to affect the repair after you discover where the process
has
failed.
1. The first step involves the initiation of the supply. For the purpose of our discussion, a purchase order or
requisition can be entered through purchasing or released through the planner's workbench. If you are not
releasing requisitions from the planner's workbench, proceed to step three as the
PO_REQUISITIONS_INTERFACE_ALL table is not involved with processing purchasing supply that is coming directly
from the purchasing module.
If you are releasing requisitions from the planner's workbench, and the order is approved without any
compression days, a row is inserted into the table PO_REQUISITIONS_INTERFACE_ALL. This table will act as the
conduit
to MRP. Run the query below for step 1.
If your item is not in this table, proceed to step 3. Otherwise, consider the following:
a) You may need to run Requisition Import, POCIRM, from purchasing (Navigation Path: Purchasing/Reports/Run
- then select Requisition Import)
You might also run the report Requisition Import Exceptions which is accessed via the same navigation path.
b) If the rows are in PO_REQUISITIONS_INTERFACE_ALL, then you most likely have a purchasing issue as
opposed to a Core Manufacturing issue, but proceed to step 2.
c) If the source_organization_id <> org_id of a planned order, and if the item attribute, purchasing enabled, is
set to yes, then your record is a purchase requisition. Otherwise, it is a planned order.
d) Planned orders destined for purchasing will not release through the Planner's Workbench if there are
compression days for the order.
2. Run the query for step 2 to determine your errors. Repair any errors and try your process again. You may need
to contact Oracle Support for assistance in solving your errors.
3. The table, MTL_SUPPLY, stores incoming supply information for an organization. When a purchase
requisition/purchase order with destination = 'INVENTORY' is approved, rows will be inserted into
the table MTL_SUPPLY. The query for step 3 below will help you determine if your supply record made it this
far.
MTL_SUPPLY Facts:
1) Requisition
2) Purchase Order
3) Supplier Shipments
4) Intransit (inter-org) Shipments
b) Mrp_Primary_Quantity and Mrp_Expected_Delivery_Date are initially null. You can check this by running the
query for step 3 below. If these two columns are populated, it means that the planning manager has touched
this row and passed the information on.
4. If the trigger MTL_SUPPLY_T is enabled, a row is automatically inserted into the table MRP_RELIEF_INTERFACE.
This will occur for any additions,
deletions or updates to the supply, in MTL_SUPPLY, if the supply rows have a Destination_Type_Code of
inventory.
To check the status of the MTL_SUPPLY_T trigger, run the following query:
select status
from all_triggers
where trigger_name = 'MTL_SUPPLY_T';
If this trigger is enabled, run the query below. Maybe your po supply has a destination_type_code other than
INVENTORY. If this is the case, you need to stop here and repair the problem within the purchasing module.
If your po has the correct destination_type_code, run the below. This will determine if your supply record has
stopped at MRP_RELIEF_INTERFACE. If the process_status = 2 (waiting to be processed),
it indicates that the planning manager has not yet processed this row. Verify that the planning manager is
running.
select inventory_item_id,
organization_id,
process_status,
substr(error_message,1,30) error_msg
from mrp_relief_interface
where inventory_item_id =
(select inventory_item_id
from mtl_system_items
where segment1 = '&youritem'
and organization_id = mrp_relief_interface.organization_id)
order by 2,3;
The planning manager analyzes each row that is process_status 2 and updates the Mrp_* columns in the
MTL_SUPPLY table.
5. Records are then available to the PO_PO_SUPPLY_VIEW. Run the query to verify this.
6. The MRP_ITEM_PURCHASE_ORDERS table is based upon your MRP plan and should be regenerated with each
successful execution of the snapshot. This table stores a copy of all active purchase orders, purchase requisitions,
purchase orders in receiving, intransit shipments and intransit receipts for each organization. If your supply
order is not in this view, consider rerunning your plan. You can determine if your supply information is here
by running the query for step number 6 below.
select organization_id,
inventory_item_id,
compile_designator,
order_type,
substr(po_number,1,15) po,
line_id,
revision
from mrp_item_purchase_orders
where inventory_item_id = (select inventory_item_id
from mtl_system_items
where segment1 = '&youritem'
and organization_id = mrp_item_purchase_orders.organization_id);
7. Records are then inserted into MRP_SCHEDULE_CONSUMPTIONS. This table is populated during schedule relief,
which is performed by the planning manager. The query for step 7, below, will help you determine if your
supply record has been recorded by MRP. The following code meanings will help you determine the type of
relief being performed:
disposition_type meaning:
1 = discrete job
2 = purchase order
3 = sales order
4 = auto-reduce mps
5 = purchase requisition
6 = po in receiving
7 = intransit shipment
8 = intransit receipt
9 = flow schedule
relief_type meaning:
1 = MDS relief
2 = MPS relief
select organization_id,
process_status,
substr(error_message,1,30) error_msg
from mrp_relief_interface
where inventory_item_id =
(select inventory_item_id
from mtl_system_items
where segment1 = '&youritem'
and organization_id = mrp_relief_interface.organization_id)
order by 1,2;
9. MTL_SUPPLY Mrp_ columns should be populated by now. Use the query for step 9 below to verify the complete
processing of your supply order.
10. Contact Oracle support if your statement of supply has not processed completely.
Requisitions from MRP, Kanban Replenishment and Reorder Point Planning come across as approved requisitions.
This is the standard functionality within the MRP Application. Requisitions from the
Inventory Process, i.e., Replenishment, can be brought across as approved or incomplete depending on the
setting of profile option: INV:RC Requisitions Approval.
If you change an item from BUY to MAKE, and the item is not subsequently planned as a MAKE item, check your
sourcing rules. Sourcing rules over-ride your item attribute. In other words, an item defined as a
MAKE item is treated as a BUY item in MRP if it has a sourcing rule.
Check if the PO Destination is INVENTORY. Then check if the PO is approved. Only on approval does the PO
show as SUPPLY.