I need help to rectify the issue.
I am working in AX 2012, and facing the issue when Posting the Item Arrival Journal .This happens when Return Order is created refering to the Sales Order which has an item whose batch no is defined.
Error: The quantity that you have entered exceeds the quantity that it is possible to return for the batch or serial number.
Steps to Reproduce
-
Create SO for an item whose batch no is defined.(e.g. take Qty=20)
-
Follow all the steps like ( confirmation, picklist generation, picklist registration, packing slip and Invoice)
-
Create RO for the item clicking FIND SALES ORDER.
-
Take the return quantity less than the quantity in SO(e.g. take Qty=5)
-
Do Item Arrival. (…/Inventory and warehouse management/Area page/Periodic/Arrival Overview)
-
Start Arrival for the Return Order
-
Open the Journal (Item Arrival) which gets created.
-
Check Quarantime Management Checkbox in the General Tab
-
Click Post button (In the Action Pane) to post the Journal.
-
Error comes as "The quantity that you have entered exceeds the quantity that it is possible to return for the batch or serial number. "
Note: If error does not appear for the first return order then it will appear if the subsequent Return order(RO) is created referring to the same SO.
From the initial research it has been found that this error comes only when the batch num for the item is defined.
Ans the reason for it is that InventDimID for the JournalTrans is not matching with the InventDimID for the sales/return line.
New InventDimID is being created at the time of creation of the Journal.