Develop > Controller layer > Integrate with back-end systems and external applications > Controller commands


ProductInventoryUpdate command

The ProductInventoryUpdate command is used to update product inventory for the Update_NC_ProductInventory message, Update_WCS_ProductInventory message, or Product Quantity Update message.


Parameter values

catEntryId

WebSphere Commerce catalog entry as defined in the CATENTRY_ID column in INVENTORY table. If the catalog entry is empty, then the combination of the part number and the member id which owns both the store and the catalog will be used to get the catalog entry.

partNumber

The part number of the catalog entry as defined in the PARTNUMBER column of CATENTRY table.

Together with the member id which owns the catalog, it is used to get the key catEntryId in the table CATENTRY, if the catEntryId parameter is empty.

storeId

The store id that references column STORE_ID in the table INVENTORY.

Together with catalog entry and the default fulfillment center, this is a key to the row in the table INVENTORY.

inventoryQuantity

The quantity as defined in the QUANTITY column in table INVENTORY.

fulfillmentCenterID

The fulfillment center id that references column FFMCENTER_ID in the table INVENTORY. This a key to the FFMCENTER database table.


Behavior


Exception conditions

The command generates an entry in the error log if the following exceptions are encountered:


Related concepts

Outbound messaging system

Related reference

Update_WCS_ProductInventory message

Product Quantity Update message


+

Search Tips   |   Advanced Search