Order simulation for test purpose
...
The order simulation functionality is built into the order handling and processing.
Simulation characteristic
An order is included in the order simulation on the basis of a test characteristic in the order. The attribute identifier is:
Info | ||
---|---|---|
| ||
$CB*TST The attribute is 7 positions long. The maximum length of command reference fields supported is 10 positions. The remaining 3 positions are reserved for additional command instructions. |
The customer can specify this attribute in one of the two order reference fields:
- BuyerReference
- OwnerReference
The customer can choose which field is used for the characteristic. The other field remains available for the customer's reference. A customer who wants to use both order reference fields in production for his own references must, in order to apply the order simulation, choose which of the two fields is “sacrificed” for the characteristic.
...
title | Test characteristic addition for more than one ShippingUnitID |
---|
This is optional and is placed after the test attribute with:
...
Orderline instruction
By default, for each OrderLine, the number of copies ordered is also included in the ShippingUnitID as delivered. In practice, various scenarios are possible, as a result of which a different number of copies is delivered. The order simulation supports one scenario, a shortage ('manco') situation. The customer can indicate at the command line how many copies are reported missing.
...
title | Scenario 'Shortage' situation |
---|
This is optional and comes with the shortage attribute:
$MANCO;n
Where n stands for the number of ShippingUnitID's (2 to 99). For instance:
- $MANCO:1 => Request for 1 copy shortage with this order line
- $MANCO:5 => Request for 5 copy shortage with this order line
...
Include Page | ||||
---|---|---|---|---|
|
Test articles
Articles available for test | ||||
ISBN | Titel |
---|
DiscountCode | ProductAvailability | Stock YES/NO |
---|---|---|
9789029511537 |
MediaOrderB2C Title 1 |
A | Reprint/Herdruk | NO |
9789029585071 |
MediaOrderB2C Title 2 | A | Announced/Aangekondigd | NO |
9789063055998 |
MediaOrderB2C Title 3 | O | Not available/Uitverkocht | NO |
9789045119731 |
MediaOrderB2C Title 4 | S | In stock/Verschenen | YES |
9789045119755 |
MediaOrderB2C Title 5 | A | In stock/Verschenen | YES |
9789025307349 |
Salammbo
MediaOrderB2C Title 6 | A | In stock/Verschenen | YES |
9789025308339 |
De verdeelde aarde
MediaOrderB2C Title 7 | A | In stock/Verschenen | YES |
9789025309640 |
MediaOrderB2C Title 8 | A | In stock/Verschenen | YES |
9789025309954 |
MediaOrderB2C Title 9 | A | In stock/Verschenen | YES |
9789029505598 |
MediaOrderB2C Title 10 | A | In stock/Verschenen | YES |
9789029506182 |
De buitenvrouw
MediaOrderB2C Title 11 | A | In stock/Verschenen | YES |
9789029506335 |
MediaOrderB2C Title 12 | A | In stock/Verschenen | YES |
9789029506885 |
MediaOrderB2C Title 13 | A | In stock/Verschenen | YES | |
ONIX file with Product records: Testarticles-ini-1van1_onx.xml |
Results for customer
The customer is informed almost immediately when the order status is changed. The diagram below shows which stages are defined and which web service operations are used to communicate or make information available to the customer.
...