Sie sind auf Seite 1von 16

Contents

Overview..........................................................................................................................................................................................1

1.0 Create an Internally Orderable Item......................................................................................................................................2

2.0 Setup Shipping Network..........................................................................................................................................................3

3.0 Create an Internal Requisition................................................................................................................................................4

4.0 Run Create Internal Orders concurrent program................................................................................................................5

5.0 Run Order Import....................................................................................................................................................................6

6.0 Pick Release...............................................................................................................................................................................7

7.0 Ship Confirm.............................................................................................................................................................................8

8.0 Interface Trip Stop.................................................................................................................................................................10

9.0 Receive/Deliver the Shipment for the Internal Order.........................................................................................................12

10.0 Recommended Patch List.....................................................................................................................................................13

11.0 Important Queries/Scripts for Internal Orders.................................................................................................................14


Overview
This document outlines the functionality and flow of information from Purchasing to Order Management to Shipping and
Inventory during the life cycle from an Internal Requisition creation until the Internal Order is received into the destination
organization.
The process of receiving against Internal Sales Orders involves the following steps:

1. Create an Internally Orderable Item


2. Setup Shipping Network
3. Create an Internal Requisition
4. Run Create Internal Orders concurrent program
5. Run Order Import concurrent program
6. Pick Release
7. Ship Confirm
8. Interface Trip Stop
9. Receive/Deliver the Shipment for the Internal Order
10. Recommended Patch List
11. Important Queries/Scripts for Internal Orders

Overview 1
47987076.doc
1.0 Create an Internally Orderable Item
Navigate to: Inventory/Items/Master Items.
• Create an Item.
• Under Inventory alternative region, check the boxes for Inventory Item, Stockable, Transactable.
• Under Purchasing alternative region, check the boxes for Purchased, Purchasable.
• Under Order Management alternative region, check the boxes for Internal Ordered, Internal Orders Enabled, OE Transactable
and Shippable.

Enable the item in Source and Destination Organization.

7.0 Ship Confirm 2


47987076.doc
2.0 Setup Shipping Network
This information describes the relationships and accounting information that exists between a From (Source) Organization and a
To (Destination) Organization.
Navigate to: Inventory/Setup/Organizations/Shipping Network
• Specify the From and To Organization.
• If you specify the Transfer Type as Intransit, then you need to explicitly receive using the Enter Receipts screen. It would
be a Standard Receipt.
• If you specify the Transfer Type as Direct, then goods will get directly shipped into inventory. It would be a Direct Delivery.
• Make sure to check the Internal Order Required checkbox.
• Receipt Routing can be Standard or Direct.

7.0 Ship Confirm 3


47987076.doc
3.0 Create an Internal Requisition
Navigate to: Purchasing/Requisitions/Requisitions.
• Create an Internal Requisition using the item from Step 1.0
• Specify the quantity.
• Specify the Source and Destination Organizations. Source is on the right and Destination on the left in the overflow region.
• Save and Approve the Requisition.

Major Tables Impacted Major Columns


po_requisition_headers_all SEGMENT1, REQUISITION_HEADER_ID, TRANSFERRED_TO_OE_FLAG,
ORG_ID, AUTHORIZATION_STATUS, CANCEL_FLAG, CLOSED_CODE
po_requisition_lines_all REQUISITION_LINE_ID, DESTINATION_ORGANIZATION_ID,
DESTINATION_SUBINVENTORY, SOURCE_ORGANIZATION_ID,
SOURCE_SUBINVENTORY, DELIVER_TO_LOCATION_ID, ORG_ID,
CANCEL_FLAG, CLOSED_CODE, QUANTITY, QUANTITY_CANCELLED,
QUANTITY_DELIVERED, QUANTITY_RECEIVED

TRANSFERRED_TO_OE_FLAG = ‘N’
AUTHORIZATION_STATUS = ‘APPROVED’
CANCEL_FLAG <> ‘Y’
CLOSED_CODE <> ‘FINALLY CLOSED’

Record is created in MTL_SUPPLY with SUPPLY_TYPE_CODE = ‘REQ’.

7.0 Ship Confirm 4


47987076.doc
4.0 Run Create Internal Orders concurrent program
Run the Create Internal Orders concurrent program. The Create Internal Orders process loads the OM open interface tables using
the Order Type you define in the Purchasing Options window.
Run the foll. queries to confirm if the interface record got created:
SQL1> Select count(*) From oe_headers_iface_all
Where orig_sys_document_ref = <’Requisition Number from step 3.0’>;

SQL2> Select count(*) From oe_lines_iface_all


Where orig_sys_document_ref = <’Requisition Number from step 3.0’>;

Major Tables Impacted Major Columns


oe_headers_iface_all ORDER_NUMBER, HEADER_ID, ORDER_TYPE, SHIP_FROM_ORG_ID,
SHIP_TO_ORG_ID, BOOKED_FLAG, CANCELLED_FLAG, CLOSED_FLAG,
STATUS_FLAG, ORIG_SYS_DOCUMENT_REF, DELIVER_TO_ORG_ID, ORG_ID
oe_lines_iface_all LINE_ID, SHIP_FROM_ORG_ID, SHIP_TO_ORG_ID, SHIPMENT_NUMBER,
SHIPPED_QUANTITY, CLOSED_FLAG, DELIVER_TO_ORG_ID, ORG_ID,
ORIG_SYS_DOCUMENT_REF

BOOKED_FLAG = ‘N’

7.0 Ship Confirm 5


47987076.doc
5.0 Run Order Import
Navigate to: Order Management/Orders, Returns/Import Orders.

Run the Order Import concurrent program. Order Import creates Internal Sales Orders from the records in the interface tables and
determines the order cycle and defaults values based on the order type. Note down the Order Number.

Run the foll. Sql to get the Order Number:


SQL1> Select order_number From oe_order_headers_all
Where orig_sys_document_ref = <’Requisition Number from step 3.0’>;

Check TRANSFERRED_TO_OE_FLAG = ‘Y’ in po_requisition_headers_all.

Major Tables Impacted Major Columns


oe_order_headers_all ORDER_NUMBER, HEADER_ID, ORDER_TYPE_ID, SHIP_FROM_ORG_ID,
SHIP_TO_ORG_ID, OPEN_FLAG, BOOKED_FLAG, CANCELLED_FLAG,
FLOW_STATUS_CODE, DELIVER_TO_ORG_ID, ORIG_SYS_DOCUMENT_REF,
ORG_ID
oe_order_lines_all LINE_ID, SHIP_FROM_ORG_ID, SHIP_TO_ORG_ID, SHIPMENT_NUMBER,
SHIPPED_QUANTITY, OPEN_FLAG, BOOKED_FLAG, CANCELLED_FLAG,
DELIVER_TO_ORG_ID, ORIG_SYS_DOCUMENT_REF, FLOW_STATUS_CODE,
SHIPPING_INTERFACED_FLAG, ORG_ID

BOOKED_FLAG = ‘Y’
FLOW_STATUS_CODE = ‘BOOKED’
SHIPPING_INTERFACED_FLAG = ‘N’

Running Create Internal Orders and Order Import concurrent programs has no affect on MTL_SUPPLY.

By default the Create Internal Orders process populates the oe_actions_iface_all table with an OPERATION_CODE of
‘BOOK_ORDER’, causing the Order to be Booked by the Order Import process. So there is no need to Book the Order. If for
whatever reason a hold gets placed on the Order at Booking, then after removing the hold the user would have to peform the
actions Progress Order to move it to “Awaiting Shipping”.

7.0 Ship Confirm 6


47987076.doc
6.0 Pick Release
Pick Release finds and releases eligible delivery lines that meet the release criteria, and creates move orders. You can pick release
by order, trip, stop, container, delivery, warehouse, customer, schedule, or requested dates, shipment priority or combinations of
the above criteria. The default release criteria is set up in Shipping Parameters, but you can override the default criteria in the
Release Sales Order window at pick release.

Major Tables Impacted Major Columns


wsh_delivery_details OE_INTERFACED_FLAG, INV_INTERFACED_FLAG, ORGANIZATION_ID,
RELEASED_STATUS, SHIP_FROM_LOCATION_ID, SHIP_TO_LOCATION_ID,
SHIPPED_QUANTITY, DELIVERY_DETAIL_ID

Your Order should be Pick Release Eligible.


RELEASED_STATUS: ‘R’ – Ready to Release

ORGANIZATION_ID is the Source Organization_id

Navigate to: Order Management/Shipping/Release Sales Orders/ Release Sales Orders

Enter Order Number and complete your entries in the Release Sales Order for Picking window or select a Based On Rule to
automatically default the remaining criteria.
Under Shipping tab region, make sure Autocreate Delivery is Yes. It will automatically create the Delivery.
Under Inventory tab region, make sure Auto Pick Confirm is Yes. It will make the line Staged/Pick Confirmed after Pick Release
is done successfully.
Choose the Concurrent or Online button.
Pick release is launched and pick releases the deliveries and delivery lines for the trip.
Save your work.

Your Order should now be Ship Confirm Eligible.


RELEASED_STATUS: ‘Y’ – Staged/Pick Confirmed

7.0 Ship Confirm 7


47987076.doc
7.0 Ship Confirm
Ship Confirm is the process of recording that items have shipped. When you Ship Confirm a delivery, Shipping Execution
confirms that the delivery lines associated with the delivery have shipped.

Your Order should be Ship Confirm Eligible.


RELEASED_STATUS: ‘Y’ – Staged/Pick Confirmed
Navigate to: Order Management/Shipping/Transactions
Navigate to the Query Manager window, and find the Delivery. The Delivery displays in the Shipping Transactions window.
Delivery is a not null column. If Delivery is null, you need to perform the action Auto-create Deliveries. Delivery is passed as
Shipment Number to INV and PO.

Under Delivery alternative region, select Ship Confirm from the Actions menu to display the Confirm Delivery window. In the
Ship Options region, select Ship All to ship confirm the entire quantity regardless of what was entered in the Shipped Quantity
field. In the Auto-create Trip Options region, select the ship method and the actual departure date. The simplest way to ship
confirm one or more deliveries is to enable the Set Delivery in-Transit and Close Trip fields.

7.0 Ship Confirm 8


47987076.doc
Set Delivery In-transit: Creates a trip and stops for the delivery. Closes first stop of the delivery, but leaves second stop open. Sets
status of delivery to In-transit and initiates Order Management (OM) and Inventory interfaces.
Close Trip: Creates a trip and stops for the delivery. Closes trip, all stops, and the delivery.

If you uncheck the Defer Interface box and run Ship Confirm, the Inventory Interface is run automatically, and the Order Line
status is updated. A request is submitted to run Interface Trip Stop with mode All for the trip stop.
If you check the Defer Interface box and run Ship Confirm, you need to run the Interface Trip Stop-SRS concurrent request to
update the Inventory and the Order Line status. When the Defer Interface box is checked, a request is not automatically submitted
to interface the trip stops.

Choose the Go button to ship confirm and save your work.

Your Order should now be Ship Confirm, Confirmed and Inventory Interface, Interfaced.
RELEASED_STATUS: ‘C’ – Ship Confirmed

Major Tables Impacted Major Columns


wsh_delivery_details OE_INTERFACED_FLAG, INV_INTERFACED_FLAG, ORGANIZATION_ID,
RELEASED_STATUS, SHIP_FROM_LOCATION_ID, SHIP_TO_LOCATION_ID,
SHIPPED_QUANTITY, DELIVERY_DETAIL_ID

INV_INTERFACED_FLAG = ‘N’ – Not Interfaced


‘Y’ – Record in MTL_MATERIAL_TRANSACTIONS
‘P’ – Error Condition

OE_INTERFACED_FLAG = ‘N’ – Not Interfaced


‘Y’ – Record in OE_ORDER_LINES_ALL

If the Interface Trip Stop concurrent request is run, record is created in MTL_SUPPLY with SUPPLY_TYPE_CODE =
‘SHIPMENT’.

Ship Confirm inserts records into MTL_TRANSACTIONS_INTERFACE.

7.0 Ship Confirm 9


47987076.doc
8.0 Interface Trip Stop
Navigate to: Order Management/Shipping/Interfaces/Run
Run the request: Interface Trip Stop – SRS.
Mode: All – All Interfaces
Inventory – Interface to Inventory
OM and DSNO – Interface to Order Management and Submit DSNO
Inventory Interface- SRS is run to update inventory with the ship confirmation information. Inventory balances are decremented
and reservations relieved. This program always spawns the Order Management Interface - SRS program. It is very important in
the process flow that the Inventory Interface complete before the Order Management Interface to ensure the integrity of the
reservation information.

Inventory Interface picks records from MTI (MTL_TRANSACTIONS_INTERFACE) and inserts them into MMTT
(MTL_MATERIAL_TRANSACTIONS_TEMP). The Inventory Manager then inserts rows into RTI
(RCV_TRANSACTIONS_INTERFACE) and calls the Receiving Transaction Processor.

If transfer type is Direct, the Receiving Transaction Processor inserts a record into MMTT and calls the inventory function
inltpu() which inserts records into MMT (MTL_MATERIAL_TRANSACTIONS) and MOQ (MTL_ONHAND_QUANTITIES)
and completes the delivery of the item into Inventory. The Receiving Transaction Processor also inserts records into RSH
(RCV_SHIPMENT_HEADERS), RSL (RCV_SHIPMENT_LINES) and RT (RCV_TRANSACTIONS). It also updates the
QUANTITY_RECEIVED and QUANTITY_DELIVERED on PO_REQUISITION_LINES_ALL. Records get deleted from
MTL_SUPPLY on delivery into Inventory.

Major Tables Impacted Major Columns


MTL_MATERIAL_TRANSACTIONS TRANSACTION_HEADER_ID, TRANSACTION_TEMP_ID,
_TEMP ORGANIZATION_ID, OWNING_ORGANIZATION_ID, SOURCE_CODE,
PARENT_LINE_ID, PARENT_TRANSACTION_TEMP_ID,
PRIMARY_QUANTITY, RCV_TRANSACTION_ID, SHIPMENT_NUMBER,
SHIPPED_QUANTITY, TRANSACTION_QUANTITY,
SHIP_TO_LOCATION, REQUISITION_DISTRIBUTION_ID,
REQUISITION_LINE_ID
MTL_MATERIAL_TRANSACTIONS ORGANIZATION_ID, OWNING_ORGANIZATION_ID,
SOURCE_CODE, SOURCE_LINE_ID, PRIMARY_QUANTITY,
RCV_TRANSACTION_ID,
SHIP_TO_LOCATION_ID, SHIPMENT_NUMBER,
TRANSACTION_ID, TRANSACTION_TEMP_ID,
TRANSACTION_QUANTITY, TRANSACTION_DATE
MTL_ONHAND_QUANTITIES DATE_RECEIVED, ORGANIZATION_ID,
SUBINVENTORY_CODE, TRANSACTION_QUANTITY,
UPDATE_TRANSACTION_ID
RCV_SHIPMENT_HEADERS RECEIPT_NUM, SHIPMENT_HEADER_ID, SHIPMENT_NUM,
SHIPPED_DATE, RECEIPT_SOURCE_CODE, SHIP_TO_LOCATION_ID,
SHIP_TO_ORG_ID, ORGANIZATION_ID
RCV_SHIPMENT_LINES FROM_ORGANIZATION_ID, TO_ORGANIZATION_ID,
TO_SUBINVENTORY, SHIP_TO_LOCATION_ID, QUANTITY_RECEIVED,
QUANTITY_SHIPPED, SHIPMENT_HEADER_ID, SHIPMENT_LINE_ID,
REQ_DISTRIBUTION_ID, REQUISITION_LINE_ID,
OE_ORDER_HEADER_ID, OE_ORDER_LINE_ID,
DELIVER_TO_LOCATION_ID, DESTINATION_TYPE_CODE
RCV_TRANSACTIONS ORGANIZATION_ID, SUBINVENTORY, SHIPMENT_HEADER_ID,
SHIPMENT_LINE_ID, QUANTITY, TRANSACTION_DATE,
TRANSACTION_ID, TRANSACTION_TYPE, REQ_DISTRIBUTION_ID,
REQUISITION_LINE_ID, OE_ORDER_HEADER_ID,
OE_ORDER_LINE_ID, DELIVER_TO_LOCATION_ID,
DESTINATION_TYPE_CODE
PO_REQUISITION_LINES_ALL REQUISITION_LINE_ID,

7.0 Ship Confirm 10


47987076.doc
DESTINATION_ORGANIZATION_ID,
DESTINATION_SUBINVENTORY,
SOURCE_ORGANIZATION_ID, SOURCE_SUBINVENTORY,
DELIVER_TO_LOCATION_ID, ORG_ID, CANCEL_FLAG,
CLOSED_CODE, QUANTITY, QUANTITY_CANCELLED,
QUANTITY_DELIVERED, QUANTITY_RECEIVED
If transfer type is Intransit, the Receiving Transaction Processor just creates the shipment by inserting records into
RCV_SHIPMENT_HEADERS and RCV_SHIPMENT_LINES. Then you need to explicitly receive from the Enter Receipts
screen. Record is also created in MTL_SUPPLY with SUPPLY_TYPE_CODE = ‘SHIPMENT’.
Order Management Interface is run to update Order Management with the ship confirmation information. Order line shipped
quantities will be updated.
.

7.0 Ship Confirm 11


47987076.doc
9.0 Receive/Deliver the Shipment for the Internal Order
Navigate to: Purchasing/Receiving/Enter Receipts.
Query against the Requisition Number or the Shipment Number (Delivery Number on the Shipping Transactions window) and do
the Receive/Deliver Transactions.

Major Tables Impacted Major Columns


rcv_shipment_headers RECEIPT_NUM, SHIPMENT_HEADER_ID, SHIPMENT_NUM,
SHIPPED_DATE, RECEIPT_SOURCE_CODE, SHIP_TO_LOCATION_ID,
SHIP_TO_ORG_ID, ORGANIZATION_ID
rcv_shipment_lines FROM_ORGANIZATION_ID, TO_ORGANIZATION_ID,
TO_SUBINVENTORY, SHIP_TO_LOCATION_ID,
SHIPMENT_HEADER_ID, SHIPMENT_LINE_ID,
QUANTITY_RECEIVED, QUANTITY_SHIPPED, REQ_DISTRIBUTION_ID,
REQUISITION_LINE_ID, OE_ORDER_HEADER_ID, OE_ORDER_LINE_ID,
DELIVER_TO_LOCATION_ID, DESTINATION_TYPE_CODE
rcv_transactions ORGANIZATION_ID, SUBINVENTORY, SHIPMENT_HEADER_ID,
SHIPMENT_LINE_ID, QUANTITY, TRANSACTION_DATE,
TRANSACTION_ID, TRANSACTION_TYPE,
REQ_DISTRIBUTION_ID, REQUISITION_LINE_ID,
OE_ORDER_HEADER_ID, OE_ORDER_LINE_ID, DELIVER_TO_LOCATION_ID,
DESTINATION_TYPE_CODE

Record is created in MTL_SUPPLY with SUPPLY_TYPE_CODE = ‘RECEIVING’ on performing a Receive transaction. But
records get deleted from MTL_SUPPLY on delivery into Inventory.

7.0 Ship Confirm 12


47987076.doc
10.0 Recommended Patch List
Product: Inventory
Recommended On: DMF Family Pack H (Release 11.5.8)
Patch Number: 2889964 - Consolidated patch for inventory java transaction manager

Recommended On: DMF Family Pack G (Release 11.5.7)


Patch Number: 2757879 - Consolidated patch for inventory java transaction manager

Product: Oracle Purchasing


Recommended On: Procurement Family Pack H (Release 11.5.8)
Patch Number: 2687032

Recommended On: Procurement Family Pack G (Release 11.5.7)


Patch Number: 2687032, 2178921, 2465321

7.0 Ship Confirm 13


47987076.doc
11.0 Important Queries/Scripts for Internal Orders
A. Script to get supply and internal requisition information for rows stuck in
MTL_TRANSACTIONS_INTERFACE.

For all issues reported by customers where errors are following, output and analysis as given below is
required:
a. RVTSH-150: Subroutine rvssh_shipment_supply() returned error
b. Ex.. in INTORD... querying
PO_REQUISITION_LINES_ALL..:oracle.apps.inv.transaction.utilities.InvTrxException".

SELECT nvl(MS.SUPPLY_TYPE_CODE,'No rows exist in MTL_SUPPLY')


SUPPLY_TYPE_CODE,
PRH.SEGMENT1 REQ_NUMBER,
PRL.REQUISITION_LINE_ID PRL_REQ_LINE_ID,
MS.REQ_HEADER_ID REQ_HEADER_ID,
MS.REQ_LINE_ID MS_REQ_LINE_ID,
MS.SHIPMENT_HEADER_ID SHIPMENT_HEADER_ID,
MS.SHIPMENT_LINE_ID SHIPMENT_LINE_ID,
MS.RCV_TRANSACTION_ID RCV_TRANSACTION_ID,
MS.ITEM_ID ITEM_ID,
MS.QUANTITY SUPPLY_QUANTITY,
MS.UNIT_OF_MEASURE UNIT_OF_MEASURE,
MS.FROM_ORGANIZATION_ID FROM_ORGANIZATION_ID,
MS.FROM_SUBINVENTORY FROM_SUBINVENTORY,
MS.TO_ORGANIZATION_ID TO_ORGANIZATION_ID,
MS.TO_SUBINVENTORY TO_SUBINVENTORY,
NVL(PRL.QUANTITY_DELIVERED,0) QUANTITY_DELIVERED,
NVL(PRL.QUANTITY_CANCELLED,0) QUANTITY_CANCELLED,
PRL.QUANTITY QUANTITY,
PRL.QUANTITY - (nvl(PRL.QUANTITY_CANCELLED,0) +
NVL(PRL.QUANTITY_DELIVERED,0)) REMAINING_QTY ,
MS.QUANTITY - (PRL.QUANTITY - (NVL(PRL.QUANTITY_CANCELLED,0) +
NVL(PRL.QUANTITY_DELIVERED,0))) DISCREPANCY_QTY,
PRL.SOURCE_TYPE_CODE SOURCE_TYPE_CODE,
PRH.TRANSFERRED_TO_OE_FLAG TRANSFERRED_TO_OE_FLAG,
nvl(PRL.CANCEL_FLAG,'N') CANCEL_FLAG,
nvl(PRL.CLOSED_CODE,'OPEN') CLOSED_CODE,
mti.error_code,
mti.ERROR_EXPLANATION,
mti.source_code,
mti.source_line_id,
mti.primary_quantity,
mti.transaction_quantity
FROM MTL_SUPPLY MS,
PO_REQUISITION_HEADERS_ALL PRH,
PO_REQUISITION_LINES_ALL PRL,
MTL_TRANSACTIONS_INTERFACE MTI
WHERE PRL.REQUISITION_HEADER_ID = PRH.REQUISITION_HEADER_ID
AND mti.requisition_line_id = prl.requisition_line_id

7.0 Ship Confirm 14


47987076.doc
AND MS.REQ_LINE_ID(+) = PRL.REQUISITION_LINE_ID
ORDER BY prh.segment1;

For each of the rows check:

For records with CANCEL_FLAG = N and SUPPLY_TYPE_CODE = 'No rows exist in MTL_SUPPLY'
If REMAINING_QUANTITY > 0 (ie. there is pending quantity yet to be shipped/received)
Supply needs to be created using popch75.sql.
If REMAINING_QUANTITY <= 0 (ie. all quantity ordered has been delivered)
Rows in MTL_TRANSACTIONS_INTERFACE are orphan rows and should be deleted.
Contact Inventory support.

For records with CANCEL_FLAG = Y and SUPPLY_TYPE_CODE = 'No rows exist in MTL_SUPPLY'
(ie Requisition Line has been cancelled.)
Ensure that patches 2178921 and 2687032 has been applied to avoid cancellation of requisition lines
when shipments for the same are in process.

If customer wants to receive the remaining shipped quantity then run popchop2.sql to re-open the
requisition and popch75.sql to recreate supply.
Note: If encumbrance is used, then accounting adjustments would have to be manually made.

B. To check the Shipping Network settings.

SELECT msn.from_organization_code,
msn.to_organization_code,
decode(msn.intransit_type,1,'Direct',2,'Intransit')intransit_type,
decode(msn.internal_order_required_flag,1,'Y',2,'N')
internal_order_required_flag
FROM mtl_shipping_network_view msn
WHERE msn.from_organization_code = <‘Enter Source Organization Code’>
AND msn.to_organization_code = <‘Enter Destination Organization Code’>;

7.0 Ship Confirm 15


47987076.doc

Das könnte Ihnen auch gefallen