This is the default implementation of the
CheckExternalInventoryTaskCmd task command.
Input parameters:
Name |
Description |
CallerCommandName |
the command that invokes the DoInventoryAction |
action |
the action that indicates checking inventory |
orderId |
the Id of the order that need check inventory |
Output parameters:
None.
Behavior:
- check if need cancel reserved external inventory
- call ProcessOrderInventoryCmd w/action CancelOrderInventory if needed
- check local cache
- call ProcessOrderInventoryCmd w/action CheckOrderInventory if needed
- call checkInventory service
- process response and set order items' status
Task commands called: