Skip to main content

How to modify an existing Dynamics 365 Business Central Data Exchange Definition

by Holly Armitage
Senior Business Applications Consultant, Western Computer
April 12 2023

Editor's Note: Holly will be speaking on “Working with Data Exchange Definitions” at the upcoming Directions North America 2023 conference on Tuesday, April 18 in Regency 3 at 9:30 a.m.

Dynamics 365 Business Central offers a variety of pre-configured Data Exchange Definitions which allow users to exchange data in specific tables with data in external files. The most common uses of Data Exchange Definitions are exporting positive pay files, exporting EFT payment files and importing bank statement files.

The existing Data Exchange Definitions can be easily modified to fit a different financial institution’s requirements. In this article, we will explain how to start with a pre-configured DED and modify it to suit your financial institution's requirements.

Data Exchange Definitions have three FastTabs: General, Line Definitions and Column Definitions. The General FastTab holds the Codeunits which are groups of AL code used to implement business logic. There are different Codeunits for each type of Data Exchange Definition like there are different transportation methods to go from point A to point B. A bicycle has different components than a car, but each can transfer a person to their destination. Similarly, a positive pay file has different components than an EFT file, but they both contain data about payments.

bc-ded-1.png

The overall file structure is determined in the Line Definitions FastTab depending on the Line Types selected. There can be as few as a single Detail Line Type to multiple Header, Detail and Footer Line Types. For each Line Type, Column Definitions are created to specify the type and format of the data being handled.

bc-ded-2.png

Column Definitions determine the order of fields in the file and can denote static text, a set length of a field filled with a padding character and/or data which is assigned in the Field Mapping page. Data format is also controlled in the Column Definitions FastTab. When the Data Type is Decimal or Date, a Data Formatting Culture is required. Selecting Right or Left Justification can affect where a space is left if the data in that field has fewer characters than the field length and no padding character is required.

FREE Membership Required to View Full Content:

Joining MSDynamicsWorld.com gives you free, unlimited access to news, analysis, white papers, case studies, product brochures, and more. You can also receive periodic email newsletters with the latest relevant articles and content updates.
Learn more about us here

About Holly Armitage

Holly Armitage is a Senior Business Applications Consultant at Greenville, S.C.-based Kopis.

More about Holly Armitage