web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Data Exchange Definition for exporting payment file does not work

(0) ShareShare
ReportReport
Posted on by 311

Hello, 

I have created a Data Exchange Definition to export payment files. The bank requires the following information: 

1. Document Type 

2. Vendor Account

3. Vendor Bank Account Number

4. Vendor Sort Code

5. Company making the payment

I completed the General fields as below in the data exchange definition as below:

pastedimage1674549898398v1.png

I have created two line definitions:

1. Lines from Payment Journal

pastedimage1674560012991v2.png

2. Lines from Vendor

pastedimage1674560049812v3.png

The problem is when I create a Payment Journal and try to export it I'm getting this error

Record(1220) is not compatible with Codeunit.Run(Record(81)).

Table 1220 is Data Exchange and Table 81 is the Gen Journal line table. 

Any ideas why I'm getting this error?

Many thanks, 


Alejandra

I have the same question (0)
  • Suggested answer
    Dallefeld Profile Picture
    229 User Group Leader on at

    Are you doing and ACH/EFT export? If so, why re-create the wheel?

    Looks like you are mapping to vendor information and that's not generally what the data definition is for.

  • AleAlonso Profile Picture
    311 on at

    Hi Kim,

    EFT is not an option for me as I'm in the UK.

    There is a SEPA Credit Transfer Bank Export format. However I can't use it as SEPA credit transfers can only be made in the EURO currency and my company is all transactions related are in GBP.

    Thanks

    Alejandra

  • Suggested answer
    YUN ZHU Profile Picture
    99,734 Super User 2026 Season 1 on at

    Hi, I feel it is still a setting problem, please refer to the following MS Learn (Docs).

    https://learn.microsoft.com/en-us/dynamics365/business-central/across-how-to-set-up-data-exchange-definitions

    In addition, you can also consider customizing, and it is not very difficult to create a program that exports XML using XMLPort.

    More details: https://yzhums.com/4809/

    Hope this helps.

    Thanks.

    ZHU

  • Suggested answer
    Dallefeld Profile Picture
    229 User Group Leader on at

    First, sorry, being in the US, I answer for US. We need to have something that shows version and country when posting questions so everyone can respond and get answers quicker.

    So the question is how did you know what codeunits to enter in your definition? The codeunits are processing using certain tables and apparently one is wrong. I know for the US mine are very different than yours.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,021 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,083 Super User 2026 Season 1

#3
Teagen Boll Profile Picture

Teagen Boll 731 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans