Order Status Update message

The Order Status Update message is an inbound message that contains status information for a WebSphere Commerce order. A back-end application generates this message and sends it to the WebSphere Commerce inbound message queue, where the WebSphere Commerce system receives the message. WebSphere Commerce uses the OrderStatus command to update the tables ORDSTAT and ORDISTAT with the new order status information.

The Order Status Update message supports two sets of application data: Order Status Update Version 01 and Order Status Update Version 02. Version 02 includes a superset of the data within Version 01.

The Order Status Update message uses the WebSphere Commerce message format and consists of a set of records, which follow each other sequentially in a buffer. The following data describes the Order Status Update message:


<ECEDOC>

<PROLOG>ORDER_STATUS_UPDATE_PROLOG_DATA</PROLOG>

<HEADER>

    <HDR010>ORDER_STATUS_UPDATE_HDR010_DATA</HDR010>

    <USRLST>

        <DATUSR>DATUSR_DATA</DATUSR>

                    
. 

                    
.DATUSR repeated loop

                    
.

        <DATUSR>DATUSR_DATA</DATUSR>

    </USRLST>

</HEADER>

<ITMLST> 

    <ITMDAT> 

        
<ITM010>ORDER_STATUS_UPDATE_ITM010_DATA</ITM010>

        <USRLST> 

            
<DATUSR>DATUSR_DATA</DATUSR>

                    
. 

                    
.DATUSR repeated loop 

                    
.

            
<DATUSR>DATUSR_DATA</DATUSR>

        </USRLST>

    </ITMDAT>

                    
. 

                    
.ITEM repeated loop

                    
.

    <ITMDAT> 

        
<ITM010>ORDER_STATUS_UPDATE_ITM010_DATA</ITM010>

        <USRLST> 

            
<DATUSR>DATUSR_DATA</DATUSR>

                    
. 

                    
.DATUSR repeated loop

                    
.

            
<DATUSR>DATUSR_DATA</DATUSR>

        </USRLST>

    </ITMDAT>

</ITMLST>

</ECEDOC>

Notes:

  • All records are in sequential order in the buffer. Indentation is used here for readability; it does not appear in the buffer.
  • All fields in the data segments are left-justified and padded to the right with spaces in the buffer.

Data Segments for Order Status Update

  • ORDER_STATUS_UPDATE_PROLOG_DATA Specifies the type of message the application data defines. In this case, the message is Order Status Update.
  • ORDER_STATUS_UPDATE_HDR010_DATA Specifies order information within the Order Status Update message.
  • DATUSR_DATA Specifies optional information to be added to the Order Status Update message. DATUSR_DATA appears in the <HDR> and <ITM> sections of this message.
  • ORDER_STATUS_UPDATE_ITM010_DATA Specifies item or product shipping information within the Order Status Update message.