EDX Occupancy device
Different message types can be defined for each EDX partner. With the "EDX message setup" the documents are assigned to the EDX partner as well as configured.
Via "New" an EDX message is assigned to a previously created EDX partner. In the following, the fields of the EDX message card will be explained in more detail.
FastTab General
| field | Description | |
|---|---|---|
| Partner No. | Selection of EDX partner. Only active EDX partners can be selected. |
|
| EDX Message | Selection of the EDX Message. By default, the following messages are included: - Order outgoing - Order confirmation incoming - Order change outgoing - Sales order incoming - Sales order change incoming - Order confirmation outgoing - Delivery bill outgoing - Sales invoice outgoing |
|
| EDX Message Description | A freely selectable description can be entered here. This is for information only | . |
| EDX Message Direction | Indicates the direction of the message (incoming or outgoing). | |
| EDX transmission from | Microsoft Dynamics 365 Business Central documents are received or sent from the date specified here. | |
| Retention period expiry | Specifies the expiry of the retention period for messages in the EDX inbox/outbox. See "Retention period expiry". | |
| Receipt Confirmation Check | Receipt confirmation check can be used to control whether a message confirmation should be requested. Example: Sending a purchase order with receipt confirmation check. Upon receipt of the purchase order on the receiving end, a receipt confirmation is sent to the message sender. The EDX status within the purchase order will automatically change to "Recipient Received". After the Business Centrals sales order is created at the recipient's end, another acknowledgement is sent. The EDX status within the order automatically changes to "Recipient accepted". If the recipient rejects the EDX sales order, then an acknowledgement is also sent. The EDX status in the sent order will change to "EDX Rejected". Acknowledgement check should be enabled on outgoing as well as incoming message. Outgoing acknowledgement messages e.g. for receiving an EDX sales order will now be sent via EDX outgoing. The "Source record" field now always refers to the associated document. The acknowledgement check is now supported by all EDX messages, sales deliveries, sales invoices as well as sales credit notes. In case of external EDI, the acknowledgement messages may have to be coordinated with the EDI service provider. |
|
| Test Indicator | Identifies the incoming or outgoing messages as a test message See section Productive/Test Database. |
FastTab Transfer
| Field | Description |
|---|---|
| EDX transmission type | Intercompany If both clients are in one database, the transmission type "Intercompany" can be used. The EDX Intercompany setup must be carried out via the EDX setup wizard. API V2.0 Intercompany Prerequisite: see section "OAuth setup". If both clients are in different SaaS databases, the "API V2.0 Intercompany" transfer type can be selected. The EDX Intercompany setup must be done via the EDX setup wizard. Azure Storage Prerequisite: Set up an Azure storage and container. See section "Inforegister Azure forwarding" All messages are stored or retrieved on the specified Azure Storage container. This transfer type can be used in the following scenario: Messages are to be stored on an FTP or SFTP server for the interface operator. An Azure Logic App must be created in the customer project. The Azure Connector "FTP" is used for message transfer within the Azure Logic App. Note: The Azure Logic App is not part of the EDX module. Azure Fileshare Prerequisite: Set up an Azure storage and fileshare. All messages are stored or retrieved on the specified Azure fileshare. This transfer type can be used in the following scenario: Messages are to be stored in the file system of the interface operator. A Powershell script is made available to the interface operator for the Azure fileshare set up. The interface operator can use this script to integrate the Azure fileshare as a network drive in their infrastructure. Null Prerequisite: none Outgoing messages: The "Null" communication interface marks outgoing messages as sent. A transmission does not take place. The outgoing message can be downloaded with the "Download message" action. Incoming messages: No processing. Incoming messages can be imported in the EDX inbox with the "Upload message" action. This transmission type can be used in the following scenarios: The interface operator sends the messages directly to the EDX inbox via the "EDX API Inbound" web service. In this case, the associated EDX message must be assigned to the EDX partner with the "Null" transmission type. The incoming/outgoing EDX messages should already be tested, although the communication parameters have not yet been determined. Prerequisite: Set up an e-mail account in Microsoft Dynamics 365 Business Central. The messages are sent as an attachment to an e-mail. This transmission type can be used in the following scenarios: A supplier would like to receive the Microsoft Dynamics 365 Business Central article, purchase order, etc. as an xml message attached to an email. Note: Additional transmission types can be implemented in the customer project. It makes sense to extend the transmission type if the interface operator provides web services for receiving messages, for example. Messages from the interface operator to Microsoft Dynamics 365 Business Central can be sent to the "EDX API Inbound". |
FastTab Azure / File Transfer
| field | Description |
|---|---|
| EDX file path | Input/output path for files. In this field either an absolute or dynamic path can be entered. The dynamic path is stored with the placeholder %ROOT_DIR%. This placeholder is exchanged at runtime for the base directory from the EDX setup. Thus, when moving a directory share, it is sufficient to change the new directory in the "Directory Documents (UNC)" field within the EDX setup. In the above example, %ROOT_DIR% is exchanged for \kvsdodc01\temp\EDX\Test10\Prod\. Once the "Test Environment" switch is enabled, the following directory applies to %ROOT_DIR% \\kvsdodc01\temp\EDX\Test10\Test\The same rules apply to the placeholder %AZURE_CONTAINER% In this case, the Azure container set up is used. |
FastTab Azure Forwarding
The forwarding parameters are sent to an Azure Logic App or Power Automate.
The Azure Logic App is not part of EDX. A corresponding "Azure Logic App" or "Power Automate" must be created in the customer project to process the parameters listed below. For the creation of the "Azure Logic App" the template "EDX_Outbound_Message" can be used.
When using the forwarding parameters, the GS1 messages "GS1 APP REC ACK IMP" as well as "GS1 APP REC ACK EXP" must be assigned to the EDX partner.
The forwarding parameters can be stored for both the test and production environments.
| Field | Description |
|---|---|
| Forwarding type | This parameter can be used within the Logic App to decide which Azure Connector is used. |
| Forwarding ID | Determines the EDI party. |
| Forwarding Destination | Determines the destination of the message. |
Example:
CC Invoice message is to be forwarded to EDI service provider EDI1 via SFTP. The message is to be placed on the destination FTP server in the /inbound directory.
Specify the following forwarding parameters:
| field | description |
|---|---|
| Forwarding type | SFTP |
| Forwarding ID | EDI1 |
| Forwarding destination | /inbound/ |
FastTab FTP Information
No longer supported.
For FTP as well as SFTP transfer, an Azure Storage in connection with an Azure Logic App is required.
FastTab E-Mail
| field | Description |
|---|---|
| Recipient Email Address | Email address of the message recipient. |
| CC recipient e-mail address | CC e-mail address of the message recipient. |
| BCC recipient e-mail address | BCC e-mail address of the message recipient. |
| Email Subject | Indicates the subject of the e-mail. |
| Email Text (HTML) | Indicates the text of the e-mail. |
FastTab Processing
In this FastTab the processing parameters for the incoming as well as outgoing messages are defined.
| Field | Description | |
|---|---|---|
| Automatic processing | EDX incoming document: The received EDX document is automatically checked. If there are no errors during the check, the Business Central document is created. If an error occurs during the review or creation of the Business Central document, an error email is automatically sent. This feature is currently available for EDX sales orders. See section: "Automatic processing" EDX Outbound Document: So far, the following outbound documents can be sent automatically: - Sales delivery - Sales invoice - Sales credit memo - Purchase order - Purchase order changes See section: "Automatic processing". |
|
| Automatic processing steps | This option can be used to specify which processing steps are to be carried out during automatic processing. The following options are available: • Check and process • Check only Note: This option can only be selected for incoming EDX standard messages. |
|
| Processing order | Specifies the processing order of incoming messages. | |
| Do not add transmission ID | If this option is enabled, the "EDX Transmission ID" element is not transferred to the XML file. The EDX module basically assumes that the "TransmissionID" element is present in the incoming XML document. This element, for example, is used for document navigation within EDX. If the incoming XML document does not contain the TransmissionID, then this is automatically added as the first element. Note: The setting of this switch should only be changed if described in the respective application documentation (customer project). |
|
| Invoice ignore zero | Invoices with a value of 0 € will not be transferred if this option is enabled. The setting of this switch should only be changed if it is described in the respective application documentation (customer project). |
|
| Ignore zero credit notes | Credit notes with a value of 0 € will not be transferred if this option is enabled. | |
| Automatic archiving | Determines that the associated EDX receipt is archived after EDX receipt processing. | |
| Direct purchase invoice / credit note | Disabled: When processing an incoming purchase invoice, the purchase delivery information is expected. Based on the purchase delivery number, the associated purchase order is determined. The purchase delivery as well as the purchase order are then used for plausibility checks. Switched On: The EDX purchase invoice data is transferred directly to an unposted purchase invoice. Plausibility checks are performed with regard to the "purchase from vendor" as well as the articles. Note This option is not available with EDX Intercompany. Einkaufsgutschrift See Internal document exchange |
|
| Include the associated PDF document | In the case of outgoing messages for the Clearing Center, the associated PDF document can be included directly in the message. The PDF document is transmitted as a base64 encoded string. If the created Business Central documents (sales delivery bill, sales invoice as well as sales credit bill) should not be sent immediately when posting, then a document collection can be activated with this option. This option is currently used by the EDX documents: Sales Delivery (CC), Sales Invoice (CC), Sales Credit Memo (CC) supported. The time for sending the document can be set by the processing time window. |
. |
| Next list number | When sending collective shipments, a list number is usually required. In the "Next list number" field, the list number can be specified which will be used for the next transmission. Note: Sales deliveries can be transmitted as collective consignments. There is no provision for assigning a list number. In general, a forwarding order number must be transmitted within the delivery note message. This is currently not supported by the EDX CC delivery note message. |
|
| Transmission Nos. | Specifies the number series for outgoing messages. The transmission number is only supported for outgoing GS1 messages. | |
| BC Release document | This setting controls that a scanned document is automatically released after creation. | |
| BC Post Document | Determines whether an incoming EDX document should be posted or not. | |
| Use Posting Date | Specifies which date should be used for incoming EDX vouchers. The following options are available: - Posting date - Current date - Work date - Incoming document date. |
|
| Show BC document | Specifies whether the associated Microsoft Dynamics 365 Business Central document should be displayed after processing an incoming message. User query As before, a query is displayed asking whether the associated Microsoft Dynamics 365 Business Central document, e.g. sales order, should be displayed. Display automatically The associated Microsoft Dynamics 365 Business Central document, e.g. sales order, is displayed without a query. Do not query/display There is no query and the Microsoft Dynamics 365 Business Central document is not displayed. |
|
| Use article references | Since in the rarest cases there is a consolidated article master between the partners, it is necessary to ensure a reliable assignment of the article numbers. The setting "Use article references" controls a check of the transmitted article number, as well as the transmitted reference number. The article/reference number check is based on the Microsoft Dynamics 365 Business Central article master > References. When using this function, the following requirements are necessary: - The partner must necessarily transmit the GTIN or reference number. - The article references of the partner must be maintained in the article master. When transmitting a GTIN, the Microsoft Dynamics 365 Business Central article is determined based on the GTIN field in the article master. If no matching article is found, then a search is performed using the article references with type "Barcode". With the article reference search the reported article unit is used. If also this search should lead to no result, then the search takes place on the basis the article references with type "debtor" and/or "creditor". The reported article reference number from the message is used. |
|
| Use article unit mapping | This setting controls an automatic mapping of the article units. Example: The EDX partner transmits for any article the article unit "PCS" which is managed in Microsoft Dynamics 365 Business Central as "Piece". If the corresponding mapping table is maintained and the "Article Unit Mapping" setting is maintained, the unit will be changed accordingly upon receipt. . |
|
| EDX Automatic Archiving | If an EDX document is processed, this setting can be used to control that the corresponding incoming item is archived. | |
| Processing Time Window | For outgoing documents, the processing time window controls when the document is sent. For incoming documents, the processing time window controls the review and creation time. Example for outgoing sales invoices: Sales invoices are to be collected by Saturday and sent at 10:00 p.m. In this case, the "Execute Saturday" option is enabled in the processing time window. All other days will be disabled. The start time is set to 22:00 and the end time is set to 23:00. The earliest start date will be calculated automatically. Once the specified time window is reached, all invoices that have not yet been sent will be sent. Incoming sales order example: Sales orders should be processed automatically at 22:00 every day. In this case, every day will be activated in the processing time window. The start time is set to 22:00 and the end time is set to 23:00. Note: Once the specified time window is reached, all unprocessed EDX sales orders will be checked and created as Microsoft Dynamics 365 Microsoft Dynamics 365 Business Central order. |
|
| Intervall | Specifies that incoming EDX intermediate documents are automatically processed at the interval specified here. Outgoing BC documents are also transferred to the EDX outbox at the interval specified here. If the "Use interval for incoming/outgoing messages" parameter is activated in the EDX setup, messages are also sent and received at the interval specified here. Example: No start/end time has been set. The weekdays from Monday to Friday are activated. Interval is set to 30 minutes. "Earliest start date/time" is empty or less than the current date/time. EDX processing is executed. After execution, "Earliest start date/time" is recalculated with the current date/time + interval. Example: Start/end time from 12:00 to 15:00. The weekdays from Monday to Friday are activated. Interval is set to 30 minutes. "Earliest start date/time" is empty or less than the current date/time. EDX processing is executed. After execution, "Earliest start date/time" is recalculated with the current date/time + interval. After the end time is exceeded, "Earliest start date/time" is recalculated with the current date/time + 1 day. |
FastTab Advanced
| field | description |
|---|---|
| Partner Type | Indicates whether the displayed EDX partner is a customer or vendor. |
| Partner BC No. | Displays the Microsoft Dynamics 365 Business Central customer or vendor no. depending on the "Partner type" field. |
| Message Type | Displays the Microsoft Dynamics 365 Business Central message type associated with the EDX document setup. |
| Document Table No. | Displays the Microsoft Dynamics 365 Business Central Table No. associated with the EDX Document Setup. |
| Object Type Object ID |
Indicates the XML port or code unit responsible for message processing. |
| Message Encoding | Specifies the message encoding. This parameter has no effect on EDX standard messages. Within project specific messages this parameter can be used for the message encoding. |
| Webservice Function | Specifies the message for use within internal webservice functions. |
| Webservice Function Name | Sets the name of the internal webservice function. |
FastTab Parameter
This FastTab shows the parameters for the current message. These parameters may override the settings from the EDX configuration if necessary. Currently, the following parameters are supported:
| Transmission type | Parameter | Description |
|---|---|---|
| Azure File Share | These parameters can be used to override the Azure file share parameters from the EDX setup. Example 1. In the EDX setup, the Azure storage account "PartnerA" and the file share "Transfer" is set up. No different parameters are entered on the selected message. In this case, the message transfer is to the Azure storage account "PartnerA" / "Transfer". 2. As described in point 1, the Azure storage account as well as the fileshare is set up in the EDX setup. For the selected message, the Azure storage account "PartnerB" and the fileshare "Interface" are specified via the parameters. In this case, the message transfer will be to the Azure storage account "PartnerB" / "Interface". |
|
| AZURE_FILESHARE_ACCOUNT_NAME | storage account name | |
| AZURE_FILESHARE_ACCESS_KEY | Storage account access key | |
| AZURE_FILESHARE | fileshare name | |
| AZURE_FILESHARE_DIR_PROD | Directory for Prod. environment | |
| AZURE_FILESHARE_DIR_TEST | directory for test environment |
Function Field settings document check
The function "Field settings for document check" in the ribbon defines which fields of the EDX document are checked or transferred to the Microsoft Dynamics 365 Business Central document.
| Field | Description |
|---|---|
| Validation sequence | The data from the EDX intermediate document is transferred to the Microsoft Dynamics 365 Business Central document in accordance with the defined validation sequence. |
| Use default values | The "Use default value" option can be used to pre-assign fields within the EDX document that are not contained in the message, for example. |
| Default value | For example, you can set the due date in the sales header so that this field is always initialized with the working date. Constant values or placeholders can be used within the default value. When using a constant, care must be taken to ensure that the value is entered in XML format. A fixed date must therefore be entered in the format YYYY-MM-DD. For decimal values, the dot must be used as a separator. The XML format was chosen to avoid translation errors in different languages. If employees set the date: 15.01.2023 as the default value and then English-speaking employees check the message, the default date cannot be converted. The default values are initialized when the EDX document is checked. List of placeholders: %WORKDATE = Work date %TIME = Current time %TODAY = Current date %COMPANYNAME = Client name @Fieldname = Reference to another field in the current table %CLEAR = Clear target field |
| This indicator controls whether the field content from the EDX document is to be checked and transferred to the Microsoft Dynamics 365 Business Central document. |
Function Message Relationship
The "Message relationship" function in the ribbon is used to define which customers or vendors are linked to the current message facility.
Previously, an EDX partner had to be created for each "Sale to" and "Invoice to customer" and then assigned to messages. This procedure is still supported.
In order to minimise the set-up effort, the "Message relationship" function has been extended in EDX.
This function can be used in the following cases:
- The messages are sent to or received from an EDI service provider.
- The "Our account number" (OurAccountNo) element is supplied with incoming messages.
- The selected messages are to be received/sent for several debtors or creditors.
Example:
An EDX partner of the type "Contact" is created. The "Our account number" field is not entered. If necessary, the GLN of the invoice message recipient is entered in the "GLN" field.
Incoming messages are sent to the EDX partner: Sales order, sales order change and the outgoing messages sales order confirmation, sales delivery note and sales invoice.
The EDX partner includes the accounts receivable 10000, 20000 and 30000.
The "Message relationship" function can be carried out either via the message set-up list or via the debtor list.
Call from message setup list
In this case, the "Message relationship" list is displayed directly. The customer list can be called up within the lines using the [...] button. The customers 10000, 20000 and 30000 can now be selected from this list.
Click on "OK" to transfer them to the "Message relationship" list.
Call from customer list
In the customer list, the customers 10000, 20000 and 30000 are selected first. The "Message relationship" function is then called up. The list of message facilities is now displayed. All messages of the EDX partner are selected in this list and confirmed with "OK".
Set up task queue item
Automated message sending/receiving is done by setting up the task queue items. These are created using the EDX setup wizard. See "EDX Setup".
Process distribution within the task queue items
The following task queue items are created using the EDX Wizard: CodeUnit: 5487951 EDX Job Queue
| Parameter | Description |
|---|---|
| INBOUND_TRANSMISSION | Read data according to the specified transfer type (e.g. file transfer) and make it available in "EDX Inbox". |
| INBOUND_TO_EDX_DOCUMENT | Process all EDX input items with status "Unprocessed". |
| INBOUND_POST_EDX_DOCUMENT | Check all created EDX documents (sales order, purchase order confirmation, etc.) that have been configured with the "Automatic processing" flag and create the corresponding Microsoft Dynamics 365 Business Central document if necessary. |
| OUTBOUND_SEND_NAV_DOCUMENT | All created Microsoft Dynamics 365 Business Central documents (sales delivery, sales invoice, etc.), which are configured with the "Automatic processing" flag, are transferred to the "EDX outbox". |
| OUTBOUND_TRANSMISSION | Send all EDX outgoing items with status "Unprocessed" according to the defined transmission type. |
| SEND_MAIL | Send processing errors by mail. |
| REORGANIZATION | Archive the EDX outputs. Time of archiving is defined in EDX Setup. |