Process Manufacturing Make To Order Program Not Working As Expected (Doc ID 1511107.1)

Last updated on NOVEMBER 03, 2016

Applies to:

Oracle Process Manufacturing Process Execution - Version 12.1.3 and later
Information in this document applies to any platform.
***Checked for relevance on 07-May-2014***

Symptoms

On : 12.1.3 version, Batches

When attempting to implement Make to Order rules for SO having more than one line,
the following error occurs.

ERROR
-----------------------

In MTO concurrent log:

***** Processing Line id 169014 *****
start OPM processing
 compatible OK
After Initialize
 No existing reservations against PRODUCTION supply
END of section for MUST check availability
 batch qty now stands at 1000
call Create Batch/FPO API
Batch/FPO qty needed is 1000
 After calling GME_API_PUB.create_batch for order 100024and line_no 3
 Return Status from Create_Batch API is E
 Message from Create_Batch API is Invalid item
Zero order line rows to process so exit
End of processing for OPM Make to Order

In GME Debug log:

GME_MAKE_TO_ORDER_PVT.create_batch_for_order_line Return Status from Create_Batch API is E
GME_MAKE_TO_ORDER_PVT.create_batch_for_order_line Message from Create_Batch API is Invalid item
GME_MAKE_TO_ORDER_PVT.create_batch_for_order_line Batch No from Create_Batch API is

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Create an MTO rule for three warehouses
2. And then create an SO having three lines having three warehouse and item combinations defined in the MTO rule.
3. And then run the Process Manufacturing Make to Order concurrent request and get the below error in the log file.
  First line of SO was processed and created batch but for other lines gave below error in GME log

GME_MAKE_TO_ORDER_PVT.create_batch_for_order_line Return Status from Create_Batch API is E
GME_MAKE_TO_ORDER_PVT.create_batch_for_order_line Message from Create_Batch API is Invalid item
GME_MAKE_TO_ORDER_PVT.create_batch_for_order_line Batch No from Create_Batch API is

BUSINESS IMPACT
-----------------------
The issue has the following business impact:
Due to this issue, users cannot implement MTO for SO lines other than first line

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms