Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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
titleTest attribute

$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.

...

titleTest 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 Orderline how many copies are reported missing. 

...

titleScenario 'Shortage' situation

This is optional and comes with the shortage attribute:

$MANCO;n

The customer can specify this attribute in one of the two order reference fields at Orderline level:

  • BuyerReference 
  • OwnerReference

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
Order simulation
Order simulation

Test articles

Articles available for test
ISBNTitel
Imprint
DiscountCode

ProductAvailability 

Stock 

YES/NO

9789029511537
EuropaArbeiderspers
MediaOrderB2C Title 1 AReprint/HerdrukNO
9789029585071
Minder piekeren over geldArbeiderspers
MediaOrderB2C Title 2 AAnnounced/AangekondigdNO
9789063055998
Mannen geld & chocola (Grote letter)ArchipelO
MediaOrderB2C Title 3ONot available/UitverkochtNO
9789045119731
Vrolijk kijkwoordenboek Querido KinderboekQuerido
MediaOrderB2C Title 4SIn stock/VerschenenYES
9789045119755
Thomas en de kerstkarper
MediaOrderB2C Title 5AIn stock/VerschenenYES
9789025307349

Salammbo 

Athenaeum-Polak & Van GennepAthenaeum-Polak & Van Gennep

MediaOrderB2C Title 6

AIn stock/VerschenenYES
9789025308339

De verdeelde aarde 

Athenaeum-Polak & Van Gennep

MediaOrderB2C Title 7

AIn stock/VerschenenYES
9789025309640
Walvissen groot en vet
MediaOrderB2C Title 8AIn stock/VerschenenYES
9789025309954
Op zoek naar de zwarte masseurAthenaeum-Polak & Van GennepAArbeiderspers
MediaOrderB2C Title 9AIn stock/VerschenenYES
9789029505598
Liefde in PangeaArbeiderspers
MediaOrderB2C Title 10AIn stock/VerschenenYES
9789029506182

De buitenvrouw 

MediaOrderB2C Title 11

AIn stock/VerschenenYES
9789029506335
Zes sterren ArbeiderspersArbeiderspers
MediaOrderB2C Title 12AIn stock/VerschenenYES
9789029506885
Americana 
MediaOrderB2C Title 13 AIn stock/VerschenenYES

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. 

...