Announcements
No record found.
The error message "Record(1220) is not compatible with Codeunit.Run(Record(81))" indicates that the system is trying to run a codeunit expecting a Record 81 (Gen. Journal Line) but instead it's being passed Record 1220 (Bank Acc. Reconciliation Line).
This typically happens when the Data Exchange Definition or the Bank Statement Import Format is incorrectly mapped or customized. During import, the system is expecting a general journal context but is being given a reconciliation line record.
If this setup was customized, ask your developer or partner to review the codeunit call and ensure it matches the expected record type.
✅ Mark this answer as verified if it helps you.
Hi, good day
Can you share the error? Verify that the record type you are passing to the codeunit matches the type it expects.
Share error details to get help from another user | Microsoft Learn
Best Regards Gerardo
Hi
Thanks for sharing the screenshot It confirms that the error is a record compatibility issue between the Data Exchange Definition and the processing codeunit used during bank statement import. Specifically:
Record(1220) is not compatible with Codeunit.Run(Record(81))
This suggests that the system is trying to pass a record of type 1220 (likely Bank Account Statement Line) to a codeunit expecting a different record type most likely 81 (Bank Account). Here’s how to resolve it:
1220
81
1. Validate Processing Codeunit Assignment
1270
Bank Account Statement Line
2. Check Data Exchange Definition Target Table
274
3. Review Column Definitions and Field Mapping
dd-MM-yyyy
MM/dd/yyyy
4. Assign the Format to the Bank Account
Helpful Community Threads Bank Statement Import Error – Record Compatibility Bank Reconciliation File with Two Columns – Debit and Credit
If you find this helpful, feel free to mark this as the suggested or verified answer. Cheers Jeffrey
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.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
OussamaSabbouh 1,993 Super User 2026 Season 1
YUN ZHU 1,116 Super User 2026 Season 1
Khushbu Rajvi. 557 Super User 2026 Season 1