Discussion:
How to disable Inventory update in WC 5.6.1
(too old to reply)
v***@yahoo.com
2007-01-15 20:17:01 UTC
Permalink
We are on WC 5.6.1. We have our inventory done by a backend system and not in Commerce.

Our INVENTORY table has "2" for "INVENTORYFLAGS" for all the Catalog entries in the store.

Our FFMCENTER table has "14" for "inventoryopflags" for all the fulfillment centers.

Even then, when the order is submitted, we see that the "UpdateInventoryCmd" is being invoked and the trace shows calls to com.ibm.commerce.fulfillment.commands.UpdateInventoryCmdImpl.performExecute().

Any advise on how to disable "UpdateInventory"?
geo
2007-01-16 14:12:52 UTC
Permalink
Override the InventoryBaseCmdImpl and make the checkUpdateInventory an empty
method that just contains

return true;
Post by v***@yahoo.com
We are on WC 5.6.1. We have our inventory done by a backend system and not in Commerce.
Our INVENTORY table has "2" for "INVENTORYFLAGS" for all the Catalog entries in the store.
Our FFMCENTER table has "14" for "inventoryopflags" for all the fulfillment centers.
Even then, when the order is submitted, we see that the
"UpdateInventoryCmd" is being invoked and the trace shows calls to
com.ibm.commerce.fulfillment.commands.UpdateInventoryCmdImpl.performExecute().
Any advise on how to disable "UpdateInventory"?
Loading...