Response_WCS_UpdateInvReceipt message
The Response_WCS_UpdateInvReceipt message is an outbound message that contains information for updating the inventory for an item. HCL Commerce generates this message in response to the Update_WCS_InventoryReceipt message. If the inbound message contains a valid StoreID, it calls the InventoryAdjust command which redirects to the view task InventoryAdjustRedirectView. Upon successful completion, InventoryAdjustRedirectView uses UpdateInvReceiptOK.jsp to generate the response message. If the command encounters an error, the view task InventoryAdjustErrorView is used. This error view task is implemented by UpdateInvReceiptError.jsp.
If the inventory adjustment in the message is positive, the command creates a new row in the RECEIPT and RCPTAVAIL database tables. If the adjustment is negative, the QTYONHAND column in the RECEIPT table is marked down using the appropriate picking method.
The Response_WCS_UpdateInvReceipt message uses the XML message format and follows Response_WCS_UpdateInvReceipt_10.dtd.
The following table describes the format of the Response_WCS_UpdateInvReceipt 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 | ResponseStatus | Mandatory | N/A | N/A | Error comment |
2 | status | Mandatory | N/A | N/A | OK or ERROR (an attribute of ResponseStatus) |
3 | code | N/A | N/A | Error code (an attribute of ResponseStatus, existing only if status="ERROR") | |
4 | ItemOwnerID | ITEMSPC | MEMBER_ID | N/A | |
5 | ProductSKU | ITEMSPC | PARTNUMBER | N/A | |
6 | StoreID | RECEIPT | STORE_ID | N/A | |
7 | FulfillmentCenterID | RECEIPT | FFMCENTER_ID | N/A | |
8 | QTYAdjusted | INVADJUST | QUANTITY | N/A | |
9 | InvAdjCodeID | INVADJUST | INVADJCODE_ID | N/A |