Order Acknowledgement XML Message (CWORDEROUT)

 

The system generates this response to the Inbound Order XML Message (CWORDERIN) if the response_type is A (acknowledge).

Note:

• All numeric values with decimal positions are passed as explicit decimals. For example, a dollar value of $10.00 is passed as 10.00.

• Attributes are included in the response only if they contain a value. Blank attributes are not passed.

See Order Acknowledgement Message: Sample XML for a sample message.

Message Attribute

Alpha/

numeric

Positions

Comments

Message

source

alphanumeric

 

Identifies the source of the XML message. RDC indicates the XML message originates from CWSerenade.

target

alphanumeric

 

Identifies the target of the XML message. IDC indicates the XML message is sent to CWIntegrate.

type

alphanumeric

 

Identifies the type of information in the XML message.

Header

company_code

numeric

3

The company_code from the Inbound Order Message.

order_id

numeric

8

The order number assigned by the system.

reference_

order_number

alphanumeric

30

The order_number from the Inbound Order Message.

customer_

number

numeric

9

The number identifying the customer specified in the Inbound Order Message, or created by the system. See Customer Sold To Selection, Creation and Update.

alternate_sold_to_id

alphanumeric

15

The Alt cust # field at the Second Create Customer Sold To Screen.

bill_to_number

numeric

7

The number identifying the bill-to customer specified in the Inbound Order Message, created by the system, or assigned to the sold-to customer. See Customer Bill To Selection and Creation. Passed only if the customer or order has a bill-to account.

order_date

numeric

8

The order_date from the Inbound Order Message.

order_channel

alpha

2

The order_channel from the Inbound Order Message

bill_me_later_

ind

alpha

1

Not currently implemented.

Valid values are:

Y = The customer has an existing Bill Me Later account

N = The customer does not have an existing Bill Me Later account

The system determines the setting of this flag based on whether there is an account number in the Customer Sold To BML table, regardless of whether the customer actually uses a Bill Me Later payment method on this order. For example, if the customer is applying for a Bill Me Later account with this order, then this flag is set to N, because the order has not gone out for authorization yet and the account number has not yet been established.

See Bill Me Later Processing for more information.

Order Acknowledgement Message: Sample XML

A sample of the Order Acknowledgement XML Message (CWORDEROUT) is presented below.

<Message source="RDC" target="IDC" type="CWORDEROUT">

<Header company_code="6" order_id="5219" reference_order_number="093008B" customer_number="13164" alternate_sold_to_id="000000105" bill_to_number="320" order_date="09302008" order_channel="I" bill_me_later_ind="N"/>

</Message>

 

GO01_01x OROMS 5.0 2018 OTN