On this page:

Onetrail TPN™ Validator

The Onetrail TPN™ Validator is used to validate your messages on both technical and business process level.
The required constraints are set by the XSD and the Business rules are defined by the Onetrail TPN™ Delivery department.
The constraints and business validation rules which has been setup will
be used for the respective OT messages:

This function of the Onetrail Trading Partner Network™ offers you a way to validate your messages
with the Onetrail TPN™ format, checking form, content and syntax, allowing you to get acquainted with the language step by step.
Using only the examples on our Onetrail TPN™ Documentation Center (ODC) developers can only theoretically anticipate on what responses would look like.
Please go to: Onetrail TPN™ Examples for the XML Examples.

Onetrail TPN™ Simulator

To fulfill the need for a one-to-one relation between test-files and responses, we have developed the Onetrail TPN™ Simulator, operating in
conjunction with the Onetrail TPN™ Validator. When a prospect or a customer sends a test-message to the Onetrail TPN™ Test Seller or the Onetrail TPN™ Test Buyer,
the Onetrail TPN™ Validator performs the first check. When no errors are found, the message is sent to the Onetrail TPN™ Simulator.
The message is processed and for example Order Response, Despatch advice and Invoice are generated just as a real Seller would.
The created messages are immediately sent back to you soyou can recognize the used test-data from the original order to clearly
synchronize both ends of communication.

For the Onetrail TPN™ Test Seller we have several different scenarios available when using the Onetrail TPN™ Simulator. You can choose a
scenario by varying the number of lines in a test-order.

Ten scenarios currently exist to choose from, setup by using our knowledge and experience with Suppliers to prepare new customers for any possible situations.
For all possible scenarios please go to: Onetrail TPN™ Test Seller guide more information.
All simulated response-messages refer back to the original order (unless we changed it according to the used scenario) like order numbers, product numbers, quantities, prices, delivery-addresses and so on.
This gives you an good idea of the reality and a way for you to recognize and successfully link your own business logic to the Onetrail TPN™ logic.
Two important differences with reality:
1. Ordered Products to the Onetrail TPN™ test Seller will not really be
delivered
2. Invoices generated by the Onetrail TPN™ test Seller do not have to
be paid.



Onetrail TPN™ Test Seller Guide

Introduction

You have chosen to process Purchase Orders through Onetrail TPN™. Once the relevant Order messages translations have been developed by you
and/or by Onetrail TPN™ the next step is to ensure quality of operations both from a technical as well as procedural side.

Onetrail TPN™ has established a test facility for Onetrail TPN™ ODE (Order Data Exchange) related messages. This test facility allows you,
as the Buyer, to execute real-time test scenarios related to the order process with responses coming from the Onetrail TPN™ Test Seller.

These test scenarios have been developed taking into account known process exceptions that may occur during day to day business.
In individual situations the (ERP) system used may not be capable to automatically handle all scenario’s. Wherever this applies it is
important to establish manual procedures to properly capture and manage such events.

Test procedures

Once you have been setup to send Purchase Orders (PO), test PO’s can be posted to the Onetrail TPN™ “Acceptance” environment. There are several
PO process scenarios available. The response coming back from the Onetrail TPN™ Test Seller depends on the number of order lines in the PO. (See below under “Test Scenarios”)

General information

Remarks

Validation options

The Onetrail TPN™ Test Seller offers the following validations for the
PO message:

Test scenario’s

Below you'll find the various test scenario’s. The various scenarios have been build based on the number of order lines used in the PO.
Scenario 1 is generated by posting a PO with one order line, scenario 2 by posting a PO with two order lines etc...

When you need additional charges, discounts or levies in the simulated invoice message for testing, they can be triggered in any combination by
using the remarks element with the proper value for the ‘context’-attribute in your PO. Standard amounts will be returned on
your invoice for Freight Charge, Discount and Levy using text values you provide:

XML Example:

<remarks>
   <remark context="Charge">Transportcosts</remark>
   <remark context="Discount">LoyalCustomer</remark>
   <remark context="Levy">Environmental Fee</remark>
</remarks>

Scenario 1 – Standard PO, Seller accepts PO as is

Scenario 2 – Seller changes delivery dates

Scenario 3 – Seller puts on Backorder & changes Price

Scenario 4 – Seller returns “Unknown Item” error

Scenario 5 – Seller changes a Product

Scenario 6 – Seller returns no original order line number

Scenario 7 – Seller includes Promotional product

Scenario 8 – Seller changes warehouse to drop ship

Scenario 9 – Seller Cancels entire order in 2nd Response

Scenario 10 – End Of Life product, Seller cancels part of order