Response_WCS_CreateInvReceipt message
The Response_WCS_CreateInvReceipt message is an outbound message
that contains information for creating an HCL Commerce inventory receipt.
HCL Commerce generates this message in response to the inbound Create_WCS_InventoryReceipt
message. If the inbound message contains a valid storeID and
a valid ReceiptDate, it calls the view task ReceiptCreateRedirectView
which uses CreateInvReceiptOK.jsp to generate a response message. In the response
message, a new receipt_id
for records created in the RECEIPT and RCPTAVAIL
tables is included. If the command encounters an error, the view task used
is ReceiptCreateErrorView. This error view task is implemented by CreateInvReceiptError.jsp.
If enough inventory exists to fulfill an expected inventory record, the record
is closed.
The Response_WCS_CreateInvReceipt message uses the XML message format and follows Response_WCS_CreateInvReceipt _10.dtd.
The following table describes the format of the Response_WCS_CreateInvReceipt 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 | VendorID | RECEIPT | VENDOR_ID | N/A | |
9 | QTYReceived | RECEIPT | QTYRECEIVED | N/A | |
10 | ReceiptDate | RECEIPT | RECEIPTDATE | N/A |