The Update_WCS_InventoryReceipt message is an inbound message that contains information for adjusting the inventory for an item. A fulfillment center application generates this message and sends it to the WebSphere Commerce inbound message queue, where the WebSphere Commerce system receives the message. After WebSphere Commerce receives the message, the InventoryAdjust command is invoked.
Note: If the inbound message does not contain a valid StoreID, the GenericApplicationError viewname is used for error message composition and the InventoryAdjust command is not invoked. The response message is generated by GenericApplicationErrorXML.jsp.
The Update_WCS_InventoryReceipt message uses the XML message format and follows Update_WCS_InventoryReceipt_10.dtd.
The following table describes the format of the Update_WCS_InventoryReceipt message. For a description of the database column, follow the link to its associated table. All fields are optional unless otherwise noted. The tag value length in the XML message for database fields of type INT, BIGINT and DOUBLE should be CHAR (10), CHAR(19), and CHAR(16) respectively.
Level | Field Name | Comment | Table Name | Column Name | Note |
---|---|---|---|---|---|
1 | ItemOwnerID | Mandatory | ITEMSPC | MEMBER_ID | N/A |
2 | ProductSKU | Mandatory | ITEMSPC | PARTNUMBER | N/A |
3 | VersionName | ITEMVERSN | VERSIONNAME | Reserved for IBM internal use. | |
4 | StoreID | Mandatory | RECEIPT | STORE_ID | N/A |
5 | FulfillmentCenterID | Mandatory | RECEIPT | FFMCENTER_ID | N/A |
6 | Comment | RECEIPT | COMMENT1 | N/A | |
7 | QTYAdjusted | Mandatory | INVADJUST | QUANTITY | Can be positive or negative value |
8 | InvAdjCodeID | Mandatory | INVADJUST | INVADJCODE_ID | N/A |