---
title: "Codeunit 1221 SEPA CT-Fill Export Buffer, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/1221-sepa-ct-fill-export-buffer/points/
object: https://jonas-paprotka.de/ref/codeunit/1221-sepa-ct-fill-export-buffer/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/1221-sepa-ct-fill-export-buffer/source/
checked: 2026-11-20
changed: 2026-10-05
subject: "Microsoft Dynamics 365 Business Central"
license: "Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/"
---

# Codeunit 1221 SEPA CT-Fill Export Buffer, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/1221-sepa-ct-fill-export-buffer/points/

9 procedures and triggers with a step in src/Layers/W1/BaseApp/Bank/DirectDebit/SEPACTFillExportBuffer.Codeunit.al, in source order, read from the text, not from a run.

## FillExportBuffer

[Line 47](https://jonas-paprotka.de/ref/codeunit/1221-sepa-ct-fill-export-buffer/source/#L47).

- [64](https://jonas-paprotka.de/ref/codeunit/1221-sepa-ct-fill-export-buffer/source/#L64) runs [Codeunit 1222 SEPA CT-Prepare Source](https://jonas-paprotka.de/ref/codeunit/1222-sepa-ct-prepare-source/)
- [70](https://jonas-paprotka.de/ref/codeunit/1221-sepa-ct-fill-export-buffer/source/#L70) calls [Table 270 Bank Account](https://jonas-paprotka.de/ref/table/270-bank-account/) `GetBankExportImportSetup`
- [72](https://jonas-paprotka.de/ref/codeunit/1221-sepa-ct-fill-export-buffer/source/#L72) calls [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `DeletePaymentFileBatchErrors`
- [76](https://jonas-paprotka.de/ref/codeunit/1221-sepa-ct-fill-export-buffer/source/#L76) calls [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `InsertPaymentFileError`
- [79](https://jonas-paprotka.de/ref/codeunit/1221-sepa-ct-fill-export-buffer/source/#L79) calls [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `HasPaymentFileErrorsInBatch`
- [87](https://jonas-paprotka.de/ref/codeunit/1221-sepa-ct-fill-export-buffer/source/#L87) calls [Table 270 Bank Account](https://jonas-paprotka.de/ref/table/270-bank-account/) `GetCreditTransferMessageNo`
- [88](https://jonas-paprotka.de/ref/codeunit/1221-sepa-ct-fill-export-buffer/source/#L88) raises `OnFillExportBufferOnAfterGetMessageID`
- [89](https://jonas-paprotka.de/ref/codeunit/1221-sepa-ct-fill-export-buffer/source/#L89) calls [Table 1205 Credit Transfer Register](https://jonas-paprotka.de/ref/table/1205-credit-transfer-register/) `CreateNew`
- [90](https://jonas-paprotka.de/ref/codeunit/1221-sepa-ct-fill-export-buffer/source/#L90) raises `OnFillExportBufferOnAfterCreateNewRegister`
- [99](https://jonas-paprotka.de/ref/codeunit/1221-sepa-ct-fill-export-buffer/source/#L99) calls [Table 1226 Payment Export Data](https://jonas-paprotka.de/ref/table/1226-payment-export-data/) `SetPreserveNonLatinCharacters`
- [100](https://jonas-paprotka.de/ref/codeunit/1221-sepa-ct-fill-export-buffer/source/#L100) calls [Table 1226 Payment Export Data](https://jonas-paprotka.de/ref/table/1226-payment-export-data/) `SetBankAsSenderBank`
- [115](https://jonas-paprotka.de/ref/codeunit/1221-sepa-ct-fill-export-buffer/source/#L115) calls [Table 1226 Payment Export Data](https://jonas-paprotka.de/ref/table/1226-payment-export-data/) `SetCustomerAsRecipient`
- [116](https://jonas-paprotka.de/ref/codeunit/1221-sepa-ct-fill-export-buffer/source/#L116) raises `OnFillExportBufferOnAfterSetCustomerAsRecipient`
- [122](https://jonas-paprotka.de/ref/codeunit/1221-sepa-ct-fill-export-buffer/source/#L122) calls [Table 1226 Payment Export Data](https://jonas-paprotka.de/ref/table/1226-payment-export-data/) `SetVendorAsRecipient`
- [123](https://jonas-paprotka.de/ref/codeunit/1221-sepa-ct-fill-export-buffer/source/#L123) raises `OnFillExportBufferOnAfterSetVendorAsRecipient`
- [128](https://jonas-paprotka.de/ref/codeunit/1221-sepa-ct-fill-export-buffer/source/#L128) calls [Table 1226 Payment Export Data](https://jonas-paprotka.de/ref/table/1226-payment-export-data/) `SetEmployeeAsRecipient`
- [133](https://jonas-paprotka.de/ref/codeunit/1221-sepa-ct-fill-export-buffer/source/#L133) calls [Table 1226 Payment Export Data](https://jonas-paprotka.de/ref/table/1226-payment-export-data/) `SetBankAsRecipient`
- [134](https://jonas-paprotka.de/ref/codeunit/1221-sepa-ct-fill-export-buffer/source/#L134) raises `OnFillExportBufferOnAfterSetBankAsRecipient`
- [137](https://jonas-paprotka.de/ref/codeunit/1221-sepa-ct-fill-export-buffer/source/#L137) raises `OnFillExportBufferOnSetAsRecipient`
- [140](https://jonas-paprotka.de/ref/codeunit/1221-sepa-ct-fill-export-buffer/source/#L140) validates [Table 1226 Payment Export Data](https://jonas-paprotka.de/ref/table/1226-payment-export-data/) `SEPA Instruction Priority`
- [141](https://jonas-paprotka.de/ref/codeunit/1221-sepa-ct-fill-export-buffer/source/#L141) validates [Table 1226 Payment Export Data](https://jonas-paprotka.de/ref/table/1226-payment-export-data/) `SEPA Payment Method`
- [143](https://jonas-paprotka.de/ref/codeunit/1221-sepa-ct-fill-export-buffer/source/#L143) validates [Table 1226 Payment Export Data](https://jonas-paprotka.de/ref/table/1226-payment-export-data/) `SEPA Charge Bearer`
- [145](https://jonas-paprotka.de/ref/codeunit/1221-sepa-ct-fill-export-buffer/source/#L145) validates [Table 1226 Payment Export Data](https://jonas-paprotka.de/ref/table/1226-payment-export-data/) `SEPA Charge Bearer`
- [147](https://jonas-paprotka.de/ref/codeunit/1221-sepa-ct-fill-export-buffer/source/#L147) calls [Table 1226 Payment Export Data](https://jonas-paprotka.de/ref/table/1226-payment-export-data/) `SetCreditTransferIDs`
- [150](https://jonas-paprotka.de/ref/codeunit/1221-sepa-ct-fill-export-buffer/source/#L150) calls [Table 1226 Payment Export Data](https://jonas-paprotka.de/ref/table/1226-payment-export-data/) `AddRemittanceText`
- [152](https://jonas-paprotka.de/ref/codeunit/1221-sepa-ct-fill-export-buffer/source/#L152) calls [Table 1226 Payment Export Data](https://jonas-paprotka.de/ref/table/1226-payment-export-data/) `AddRemittanceText`
- [154](https://jonas-paprotka.de/ref/codeunit/1221-sepa-ct-fill-export-buffer/source/#L154) calls [Table 1226 Payment Export Data](https://jonas-paprotka.de/ref/table/1226-payment-export-data/) `AddRemittanceText`
- [156](https://jonas-paprotka.de/ref/codeunit/1221-sepa-ct-fill-export-buffer/source/#L156) calls `ValidatePaymentExportData`
- [157](https://jonas-paprotka.de/ref/codeunit/1221-sepa-ct-fill-export-buffer/source/#L157) raises `OnFillExportBufferOnBeforeInsertPaymentExportData`
- [158](https://jonas-paprotka.de/ref/codeunit/1221-sepa-ct-fill-export-buffer/source/#L158) writes [Table 1226 Payment Export Data](https://jonas-paprotka.de/ref/table/1226-payment-export-data/) Insert(true)
- [159](https://jonas-paprotka.de/ref/codeunit/1221-sepa-ct-fill-export-buffer/source/#L159) raises `OnFillExportBufferOnAfterInsertPaymentExportData`
- [160](https://jonas-paprotka.de/ref/codeunit/1221-sepa-ct-fill-export-buffer/source/#L160) writes [Table 2000000026 Integer](https://jonas-paprotka.de/ref/table/2000000026-integer/) DeleteAll
- [161](https://jonas-paprotka.de/ref/codeunit/1221-sepa-ct-fill-export-buffer/source/#L161) calls `GetAppliesToDocEntryNumbers`
- [164](https://jonas-paprotka.de/ref/codeunit/1221-sepa-ct-fill-export-buffer/source/#L164) calls `CreateNewCreditTransferEntry`
- [168](https://jonas-paprotka.de/ref/codeunit/1221-sepa-ct-fill-export-buffer/source/#L168) calls `CreateNewCreditTransferEntry`
- [170](https://jonas-paprotka.de/ref/codeunit/1221-sepa-ct-fill-export-buffer/source/#L170) calls [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `GetAppliesToDocEntryNo`
- [173](https://jonas-paprotka.de/ref/codeunit/1221-sepa-ct-fill-export-buffer/source/#L173) raises `OnAfterFillExportBuffer`

## CreateNewCreditTransferEntry

[Line 176](https://jonas-paprotka.de/ref/codeunit/1221-sepa-ct-fill-export-buffer/source/#L176), local.

- [178](https://jonas-paprotka.de/ref/codeunit/1221-sepa-ct-fill-export-buffer/source/#L178) calls [Table 1206 Credit Transfer Entry](https://jonas-paprotka.de/ref/table/1206-credit-transfer-entry/) `CreateNew`
- [185](https://jonas-paprotka.de/ref/codeunit/1221-sepa-ct-fill-export-buffer/source/#L185) raises `OnAfterCreateNewCreditTransferEntry`

## GetAppliesToDocEntryNumbers

[Line 188](https://jonas-paprotka.de/ref/codeunit/1221-sepa-ct-fill-export-buffer/source/#L188), internal.

- [202](https://jonas-paprotka.de/ref/codeunit/1221-sepa-ct-fill-export-buffer/source/#L202) calls `GetAppliesToDocCustLedgEntries`
- [204](https://jonas-paprotka.de/ref/codeunit/1221-sepa-ct-fill-export-buffer/source/#L204) calls `GetAppliesToDocVendLedgEntries`
- [206](https://jonas-paprotka.de/ref/codeunit/1221-sepa-ct-fill-export-buffer/source/#L206) calls `GetAppliesToDocEmplLedgEntries`
- [208](https://jonas-paprotka.de/ref/codeunit/1221-sepa-ct-fill-export-buffer/source/#L208) raises `OnGetAppliesToDocEntryNumbersCaseElse`

## GetAppliesToDocCustLedgEntries

[Line 212](https://jonas-paprotka.de/ref/codeunit/1221-sepa-ct-fill-export-buffer/source/#L212), local.

- [233](https://jonas-paprotka.de/ref/codeunit/1221-sepa-ct-fill-export-buffer/source/#L233) calls `GetEntriesFromSet`

## GetAppliesToDocVendLedgEntries

[Line 236](https://jonas-paprotka.de/ref/codeunit/1221-sepa-ct-fill-export-buffer/source/#L236), local.

- [257](https://jonas-paprotka.de/ref/codeunit/1221-sepa-ct-fill-export-buffer/source/#L257) calls `GetEntriesFromSet`

## GetAppliesToDocEmplLedgEntries

[Line 260](https://jonas-paprotka.de/ref/codeunit/1221-sepa-ct-fill-export-buffer/source/#L260), local.

- [281](https://jonas-paprotka.de/ref/codeunit/1221-sepa-ct-fill-export-buffer/source/#L281) calls `GetEntriesFromSet`

## GetEntriesFromSet

[Line 284](https://jonas-paprotka.de/ref/codeunit/1221-sepa-ct-fill-export-buffer/source/#L284), local.

- [294](https://jonas-paprotka.de/ref/codeunit/1221-sepa-ct-fill-export-buffer/source/#L294) writes [Table 2000000026 Integer](https://jonas-paprotka.de/ref/table/2000000026-integer/) Insert

## ValidatePaymentExportData

[Line 298](https://jonas-paprotka.de/ref/codeunit/1221-sepa-ct-fill-export-buffer/source/#L298), local.

- [300](https://jonas-paprotka.de/ref/codeunit/1221-sepa-ct-fill-export-buffer/source/#L300) calls `ValidatePaymentExportDataField`
- [301](https://jonas-paprotka.de/ref/codeunit/1221-sepa-ct-fill-export-buffer/source/#L301) calls `ValidatePaymentExportDataField`
- [302](https://jonas-paprotka.de/ref/codeunit/1221-sepa-ct-fill-export-buffer/source/#L302) calls `ValidatePaymentExportDataField`
- [303](https://jonas-paprotka.de/ref/codeunit/1221-sepa-ct-fill-export-buffer/source/#L303) calls `ValidatePaymentExportDataField`
- [304](https://jonas-paprotka.de/ref/codeunit/1221-sepa-ct-fill-export-buffer/source/#L304) calls `ValidatePaymentExportDataField`
- [305](https://jonas-paprotka.de/ref/codeunit/1221-sepa-ct-fill-export-buffer/source/#L305) calls `ValidatePaymentExportDataField`

## ValidatePaymentExportDataField

[Line 308](https://jonas-paprotka.de/ref/codeunit/1221-sepa-ct-fill-export-buffer/source/#L308), local.

- [330](https://jonas-paprotka.de/ref/codeunit/1221-sepa-ct-fill-export-buffer/source/#L330) calls [Table 1226 Payment Export Data](https://jonas-paprotka.de/ref/table/1226-payment-export-data/) `AddGenJnlLineErrorText`

## Source

AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
