My Oracle Support Banner

MTO Is Generating Repeated Batches For The Same Sales Order When Assembly to Order Flag is Checking on Item in Process Enabled Organizations (Doc ID 1921020.1)

Last updated on FEBRUARY 09, 2023

Applies to:

Oracle Process Manufacturing Process Execution - Version 12.1.3 and later
Information in this document applies to any platform.

Symptoms

On : 12.1.3 version, Batches

Create an order for an item that has the Assembly to Order Flag on the Order Management tab in the item set to Yes in process enabled organizations.
Run the "Process Manufacturing Make to Order" concurrent request for this sales order. The process create a new batch for the order however the reservation to the batch
is not being created. Run "Process Manufacturing Make to Order" concurrent request for the same Sales Order and each time that the concurrent is executed a new batch is
created but no reservation is created against the sales order line to the batch.

The log file shows following:

ERROR
-----------------------
[04-AUG-14 14:50:00] INV_RESERVATION_VALIDATE_PVT: l_replenish_to_order = Y
[04-AUG-14 14:50:00] INV_RESERVATION_VALIDATE_PVT: Return status from supply source :E
[04-AUG-14 14:50:00] INV_RESERVATION_PVT: After validate_input_parameters E
[04-AUG-14 14:50:00] INV_RESERVATION_LOCK_PVT: Begin release locks..
[04-AUG-14 14:50:00] INV_RESERVATION_LOCK_PVT: Lock released successfully
[04-AUG-14 14:50:00] INV_RESERVATION_LOCK_PVT: Begin release locks..
[04-AUG-14 14:50:00] INV_RESERVATION_LOCK_PVT: Lock released successfully
[04-AUG-14 14:50:00] INV_Reservation_PUB.Create_Reservation: Return Status after creating reservations E
[04-AUG-14 14:50:00] INV_Reservation_PUB.Create_Reservation: Raising expected errorE
[04-AUG-14 14:50:00] INV_Reservation_PUB.Create_Reservation: Error Obtained at180
[04-AUG-14 14:50:00] INV_Reservation_PUB.Create_Reservation: Return Status after creating reservations E
[04-AUG-14 14:50:00] INV_Reservation_PUB.Create_Reservation: Raising expected errorE
[04-AUG-14 14:50:00] INV_Reservation_PUB.Create_Reservation: Error Obtained at10
 inv_reservation_pub.create_reservation for 153595and line_no 1
 Return Status from inv_reservation_pub.create_reservation is E
GME_MAKE_TO_ORDER_PVT.create_batch_for_order_line inv_reservation_pub.create_reservation returns status of E for material_detail_id 65161 qty reserved IS
sqlcode : 1
sqlerr : User-Defined Exception
Zero order line rows to process so exit
End of Processing for MAKE to ORDER


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Resp: Inventory > setup > master item
Set up an item that as Assemble to Order flag checked on the order management tab.
Assign item to process enabled organization
2. After adding item to price list, in order management create a sales order for this item in a process enabled organization - Book order
3. Run Run "Process Manufacturing Make to Order" concurrent request for this order
Note that batch was created however the reservation to the batch on the sales order line was not created



Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.