Error-free message exchange is an important prerequisite for efficient eB systems. Answers to the following questions are important, not only during preparations for automated message exchange, but also on introduction of new messages, connection of new communication partners or other fundamental changes:
- Are we sending error-free messages to our communication partner?
- Can our data processing systems handle incoming messages smoothly?
What checks are covered by the syntax tests?
Messages are primarily tested for conformance with the syntax of the reference standard. In other words, the message is inspected character for character to determine whether the message structure conforms to the reference standard. For example the format, status and maximum occurrence of the reference standard are checked.
What does the plausibility test, or the checking of business rules do?
In the context of EDI, plausibility testing verifies whether the data content of the message is correct. The functions already implemented in GEFEG.FX syntax check actually go beyond the limited scope of syntax testing, since even the sequence of data fields and records in EDI standards is already determined to a certain extent by the content. The format of a specific message is necessarily described in more detail and more specifically than abstract standard data, however. Plausibility tests can be described not only verbally, but also in a formal language, including user-defined error messages and integrated in the message specification (EDI guide) created with GEFEG.FX. For the GEFEG.Portal the EDI guide serves as the reference standard and allows to check the semantic or business content of the message on top of the usual syntax checks.
Examples of typical plausibility tests
- The total price equals the sum of the itemized prices.
- The total amount must be less than or equal to 100,000.
- The domestic currency amount equals the original amount in USD times the exchange rate, plus bank charges.
- The reference number must begin with the characters "ABC"
- The date is a valid date in the Gregorian calendar (not "44/13/2000", for example)
- If a partial delivery is listed, there must be a delivery date for it