After cancelling the order from Commerce Manager, the inventory of the relevant product is not updating (not incrementing).
Is there any reason for this issue ?
When I dig further by implementing AdjustInventoryOrRemoveLineItem method, I found that OperationKeys are not available in shipment parameter passing to AdjustInventoryOrRemoveLineItem method.
is there any reason for NOT having OperationKeys ?
Assuming you are using the default workflow, the inventory will not be reverted if the shipment has been shipped. Is that the case?
I see you updated your post (the screenshot is not available, though). OperationsKeys should be there. if it isn't, something must have gone wrong and it is impossible to trace down why.
Does this happen to all of your orders, or just some ?
Hey sir Quan :)
We are working on the solution with a customer that has two requirements:
Really appreciate your help Quan :)
The code looks like:
The order status could be "In Progress" or "Completed" (consider my comment on last thread). The 'RequestInventiry' calls "AdjustInventoryOrRemoveLineItems" internally!
@Aria: It looks like you are missing a Save after RequestInventory