Table of Contents

Incoming Messages

Incoming Messages are first temporarily stored in EDX documents.

Data flow of an incoming document

The incoming message is first read into the EDX inbox. The system creates an EDX inbox item and saves the message in the item.

Then the EDX intermediate document is created from the EDX inbound item. Within the EDX intermediate document, users can intervene and correct data. Furthermore, users can reject the EDX intermediate document if necessary or create a Microsoft Dynamics 365 Business Central document from it.

EDX input items

All incoming documents are first stored in the EDX Inbox table. When the business process for this document is completely finished, the item is automatically transferred to the transferred to the "EDX Inbox Archive".

Field Description
EDX Status Indicates the current status.

Unprocessed
The document has been transferred to the EDX module and an EDX Inbound item has been formed. The item has not yet been sent.

Error
An error occurred while processing the item.
The "Error" field displays the number of errors that occurred.
Using the look-up of the "Error" field, the associated error items can be retrieved.

EDX Document Created
An EDX intermediate document was created from the incoming item.

BC Document Created
A Microsoft Dynamics 365 Business Central document was created from the EDX intermediate document created. The associated EDX inbound item has now been completed and will be moved to the "EDX Inbound Archive".
EDX Message If there are system messages for this item, they can be retrieved via the look-up.
EDX Error If there are processing errors for this item, they can be retrieved via the Look-Up button.
Action "Display file" This action displays the document contained in the item.
Action "Manual Processing" If an error has occurred during automatic inbound processing and this error has been corrected in the meantime, then the inbound item can be processed again using the action "Manual Processing". See section "EDX Edit and Reprocess Incoming Items".
Action "Archive processing errors The following conditions must be met for the action to archive an incoming item:

- The incoming item has a valid "Transfer GUID"
- An archiving period is entered in the EDX setup, section "Reorganization"
.

EDX Edit and reprocess incoming items

The "View file" function can be used to download the XML message of the selected EDX input item and edit it if necessary. The "Save files" function downloads the XML message from all selected input items and saves it in a selected folder.

Note

Currently this action "Save file" is not available in the WebClient (.NET Framework).

The file must be stored with the action "Show file" and then save.

If an EDX inbox item runs into an error, for example because a field length in the EDX intermediate document is exceeded or the XML structure is incorrect, the XML message can be downloaded from the EDX inbox, edited and uploaded again for new processing.

Using the "Upload message" function, the XML message can be uploaded again to the document directory on the server.

After the successful upload, the message will be processed again.

Note

The new EDX input item does not appear immediately after calling the function, but only when the message has been retrieved again from the task queue.

Manual processing of an EDX document

For the processing of EDX documents, a basic distinction is made between two cases.

Incoming EDX document, the Microsoft Dynamics 365 Business Central document has not yet been created.

Example:
A sales order is received. The corresponding Microsoft Dynamics 365 Business Central document has not yet been created. If the incoming EDX document is created, it results in a new Microsoft Dynamics 365 Business Central sales order.

Incoming EDX document, the Microsoft Dynamics 365 Business Central document already exists.

Example:
An incoming EDX order confirmation relates to an existing Microsoft Dynamics 365 Business Central purchase order.

Before a Microsoft Dynamics 365 Business Central document can be created from an incoming EDX intermediate document, the incoming EDX document must first be checked. After a successful check, the EDX document receives the status "Ready for creation". All EDX documents with this status can be transferred to a corresponding Microsoft Dynamics 365 Business Central document.

EDX Intermediate document

The EDX intermediate documents contain partly identical fields as the Microsoft Dynamics 365 Business Central documents (see EDX sales order). Specific EDX fields and associated functionality are described below.

EDX messages/errors
. If there are any system messages or errors specific to this document, they can be retrieved via the Look-Up.

EDX Status

Status Description
Unprocessed The EDX document was created automatically. No further processing steps have been performed yet.
Error An error occurred during the processing of the document.
Ready to create The EDX document has been checked and can be created.
BC voucher created A Microsoft Dynamics 365 Business Central voucher has been created from the EDX voucher already created. This item is now done and will be moved to the "EDX Incoming Archive".
Unmatched data An existing Microsoft Dynamics 365 Business Central document already exists for the incoming EDX document.
Rejected The incoming document has been rejected.
Manual processing If it is not possible to create an incoming EDX document as a Microsoft Dynamics 365 Business Central document, it will be given the status "Manual processing".
Archived EDX documents that have already been archived.
Deleted EDX vouchers that have been deleted by users.

EDX Voucher Check

During the verification, the system performs a validation of the data. In the process, the field contents are checked. The check of the field contents is based on the settings made in the message setup.

If errors are determined, the EDX document receives the status "Error". The number of errors that occurred is indicated in the "Error" field on the document header or lines. You can open related error items using the Look-Up button.

If errors are detected, then they can be corrected directly in the EDX document. Each field change in the EDX document is logged. By means of Lookup on the field "EDX Note" these changes can be called up.

After manual correction in the EDX document, the action "Check" must be executed again. After all errors have been corrected, the Microsoft Dynamics 365 Business Central document can be created using the "Create" action.

Processing of EDX documents with status "Inconsistent data"

During the check, the data of the EDX document is compared with the data of the Microsoft Dynamics 365 Business Central document. This is the case, for example, with an incoming order change.

To avoid having to manually compare the existing Microsoft Dynamics 365 Business Central sales order with the EDX order change, EDX checks the discrepancies and displays them clearly.

If any discrepancies are found, the EDX status is set to "Inconsistent Data". Clicking on the lookup field "EDX Error" will display all discrepancies.

Example:
An order change for an item with a quantity increase from 20 pieces to 30 pieces has been received.

The EDX status is set to "Inconsistent Data."

By clicking on the EDX error number (line), a dialog is displayed in which the discrepancies are shown.

The selection "Apply changes" determines whether the displayed change is to be applied to the Microsoft Dynamics 365 Business Central document. The column "Value EDX" shows the currently transferred value. The column "Value BC" shows the current value of the Microsoft Dynamics 365 Business Central document.

Once it has been determined which changes are to be adopted, the "Accept changes" action must be executed.

Delete EDX document

Deleting an EDX document depends on the status. If the EDX status contains one of the following values, deletion is not possible:

  • BC Document created
  • Rejected
  • Manual processing
  • Archived

If the document is not in this status, the EDX document can be deleted with the action "Delete EDX document".

After executing the action "Delete EDX document", a dialog box appears with a note that a deletion reason must be specified and whether you actually want to delete the document. This query must be confirmed with "Yes".

Subsequently, the reasons that led to the deletion of the message can be entered.

Create EDX document

The "Create" action transfers the EDX intermediate document to the associated Microsoft Dynamics 365 Business Central document.

Reject EDX document

It is possible to reject incoming EDX documents.

The rejection is sent to the message sender if the "Receipt confirmation check" field has been activated in the EDX message setup.

Rejection reasons must be recorded before completing the action.

EDX document with "Manual processing" status

EDX documents with the status "manual processing" indicate that the EDX document cannot be created or confirmed as a Microsoft Dynamics 365 Business Central document. This may be due to the following reasons:

  • The existing document has already been delivered
  • Reservations exist
  • A unique assignment of the document is not possible
  • A unique assignment of the lines is not possible
  • There are discrepancies that cannot be processed automatically

Since these EDX documents cannot be processed by the system, further processing must be done by the user.

The EDX document is closed by archiving it.

Automatic processing

Within the "EDX Message Setup" the "Automatic Processing" can be activated. The received document will be checked automatically. If there are no errors during the check, the Microsoft Dynamics 365 Business Central document is created.

Up to now, incoming sales orders are processed automatically.

Inbound

Description to follow.

Staging Processing

Description to follow.

Sales Order

Sales Order Change

Purchase Order Confirmation

Purchase Receipt

Purchase Invoice

GS1 Mapping

Description to follow.

Sales Order

Sales Order Change

Purchase Order Confirmation

Purchase Receipt

Purchase Invoice