Response_WCS_ExpectedInvRecord message

The Response_WCS_ExpectedInvRecord message is an outgoing response message that contains information about an HCL Commerce expected inventory record. HCL Commerce generates this message in response to the inbound Create_WCS_ExpectedInventoryRecord message.

If the inbound message contains a valid StoreID or a valid ExpectedDate, the message calls the ExpectedInventoryRecordCreate command which redirects to either ExpectedInventoryRecordCreateRedirectView view task on successful completion, or ExpectedInventoryRecordCreateErrorView view task on command failure. The ExpectedInventoryRecordCreateRedirectView view task is implemented by RACreateError.jsp to compose the Response_WCS_ExpectedInvRecord response message. Within the response message sent back to fulfillment centers, the BackendRaDetailID parameter can be included so that the fulfillment center can correctly associate the response with the original message it sent.

Note: If the inbound message does not contain a valid StoreID or a valid ExpectedDate, the GenericApplicationError viewname is used for error message composition. The response message is generated by GenericApplicationErrorXML.jsp.

The Response_WCS_ExpectedInvRecord message uses the XML message format and follows Response_WCS_ExpectedInvRecord_10.dtd.

The following table describes the format of the Response_WCS_ExpectedInvRecord 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.

Field Name Comment Table Name Column Name Note
1 ResponseStatus Mandatory N/A N/A Error comment in case of command failure
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 BackendRaID N/A N/A Referenced by the original Create_WCS_ExpectedInventoryRecord message
5 StoreID RA STORE_ID
6 VendorID RA VENDOR_ID
7 OrderDate RA ORDERDATE
8 WCSRaID RA RA_ID
9 BackendRaDetailID N/A N/A Can be used as a reference
10 ItemOwnerID ITEMSPC MEMBER_ID
11 ProductSKU ITEMSPC PARTNUMBER
12 WCSRaDetailID RADETAIL RADETAIL_ID Can be used with Create_WCS_InventoryReceipt message