Table of Contents

Test indicator

The "Test Indicator" is used to identify incoming and outgoing messages during the EDI test phase. For EDIFACT messages this indicator is contained in the UNB segment (Interchange Header). The message recipient can use this indicator to control whether the message is transferred to the production or test system.

However, this "Test Indicator" is not available in all message formats (VDA, OpenTrans etc.).

In the EDX message setup it can be set whether the message (order, delivery bill, invoice etc.) is a test message.

Effect of the test indicator on processing in Microsoft Dynamics 365 Business Central:

Direction Description
Document received in BC:
Sales order
Sales order change
Purchase order confirmation
Purchase delivery
Purchase invoice
If the test indicator is enabled within the incoming message or in the message setup, then the EDX document will be marked as a test document.

This allows the test to be enabled for messages even if the original message (e.g. VDA) does not support the test indicator.

EDX documents with the test indicator enabled will only be processed automatically if the "Test Environment" option is enabled in EDX Setup at the same time. Otherwise, an error will be generated and sent by mail.
Document sent from BC The test indicator from the message setup is transferred to the outgoing document.

Receiving a sales order with test indicator
. The test indicator is transferred from the Microsoft Dynamics 365 Business Central sales order to the delivery as well as invoice. This means that if a Microsoft Dynamics 365 Business Central sales order was received as a test message, then the outgoing delivery/invoice messages will also be marked as a test message.