You are on page 1of 11

<Insert Picture Here>

Move Order APIs

Agenda
The objectives of this brownbag are to demonstrate and clarify information about Move
Order APIs and related issues.
The following topics will be covered:
Information about Move Order APIs & the associated procedures and involved tables
How to create move order header using API?
How to create move order line using API?
How to allocate move order line using API?
How to transact move order line using API?

Technical Considerations
API Limitations
Common Move Order API issues and how to correct them
Troubleshooting

2011 Oracle Corporation Proprietary and Confidential

Slide 2

General Information about Move Order APIs

The Move Order API is a public API that allows you to do the following:
Create a move order header
Create a move order line
Process a move order (create or update)

Process a move order line (cancel or update)


The Move Order API provides the following public procedures that allow you to
accomplish the tasks listed above:
create_move_order_header

create_move_order_lines
process_move_order
process_move_order_line

2011 Oracle Corporation Proprietary and Confidential

Slide 3

Move Orders can be created from different sources. These move orders are
identified by Move order type at the header level.
The process is simple. Create and approve Move orders, allocate move order lines
and transact them

2011 Oracle Corporation Proprietary and Confidential

Slide 4

Technical Considerations

Tables used to store the details about move order process


1. MTL_TXN_REQUEST_HEADERS: Move order headers, this stores the
move order number in column (REQUEST_NUMBER). It has a status, but
this is not used as much as the lines status to drive functionality.
2. MTL_TXN_REQUEST_LINES: Move order lines, this is the one that
drives most queries and status checks for the move order as each line
can be transacted individually.
3. MTL_MATERIAL_TRANSACTIONS_TEMP: Pending material
transactions table also called the transaction temporary table, this holds
allocations that act like reservations on inventory. An allocation is where
you pick a specific item in inventory down to the lot, locator, serial,
revision to move, but you do not actually perform the move yet.
4. MTL_MATERIAL_TRANSACTIONS : Finally the Material Transactions will
get into this table.
5. Move Orders created using API should be created in Pre-Approved Status
as the API doesnt support Workflow Approvals

2011 Oracle Corporation Proprietary and Confidential

Slide 5

In this brownbag session we will cover:


1. Create Move Order Header (Procedure and Call)
2. Create Move Order Line (Procedure and Call)
3. Allocate Move Order (Procedure and Call)
4. Process Move Order (Procedure and Call)
In this session we will review creating, allocating, and transacting a move
order requisition of first type (requisitions) using APIs.

2011 Oracle Corporation Proprietary and Confidential

Slide 6

API Limitations:

Why does the API to allocate move orders


(INV_REPLENISH_DETAIL_PUB.LINE_DETAILS_PUB) not update the detailed
quantity on the move order lines
(MTL_TXN_REQUEST_LINES.QUANTITY_DETAILED)?

Please refer to the following note for details:

Note 578037.1, API INV_REPLENISH_DETAIL_PUB.LINE_DETAILS_PUB Does


Not Update Quantity_Detailed Field

Can Lot number be updated/allocated in mover order via API ?

There is no API to update lot number, sub inventory and locator on allocations.
Please refer to the following note for details:
Note 294781.1, Can Lot number be updated/allocated in mover order via API?

2011 Oracle Corporation Proprietary and Confidential

Slide 7

Which API will do partial pick confirm with split allocation?

Currently, there is no API that will split allocation and partial pick confirm.
If the allocation must be used , the desktop form must be used.

Move Order Approval using API

Currently it is not supported.

There is an Enhancement request(ER) open for this functionality

2011 Oracle Corporation Proprietary and Confidential

Slide 8

Common Move Order API issues and how to correct them


Issue: Move Order API Returns Success without Performing the Required Action
Action: Check the Picking Rule is defined correctly

2011 Oracle Corporation Proprietary and Confidential

Slide 9

Troubleshooting
Note 869386.1, How to Enable Trace or Debug for APIs executed as SQL
Script Outside of the Applications ? [Video]

2011 Oracle Corporation Proprietary and Confidential

Slide 10

2011 Oracle Corporation Proprietary and Confidential

Slide 11

You might also like