---
title: "Codeunit 1206 Pmt Export Mgt Gen. Jnl Line, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/1206-pmt-export-mgt-gen-jnl-line/points/
object: https://jonas-paprotka.de/ref/codeunit/1206-pmt-export-mgt-gen-jnl-line/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/1206-pmt-export-mgt-gen-jnl-line/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 1206 Pmt Export Mgt Gen. Jnl Line, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/1206-pmt-export-mgt-gen-jnl-line/points/

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

## OnRun

[Line 28](https://jonas-paprotka.de/ref/codeunit/1206-pmt-export-mgt-gen-jnl-line/source/#L28), trigger.

- [30](https://jonas-paprotka.de/ref/codeunit/1206-pmt-export-mgt-gen-jnl-line/source/#L30) calls `ExportJournalPaymentFile`

## ExportJournalPaymentFileYN

[Line 46](https://jonas-paprotka.de/ref/codeunit/1206-pmt-export-mgt-gen-jnl-line/source/#L46).

- [50](https://jonas-paprotka.de/ref/codeunit/1206-pmt-export-mgt-gen-jnl-line/source/#L50) calls [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `IsExportedToPaymentFile`
- [53](https://jonas-paprotka.de/ref/codeunit/1206-pmt-export-mgt-gen-jnl-line/source/#L53) calls `ExportJournalPaymentFile`

## ExportJournalPaymentFile

[Line 62](https://jonas-paprotka.de/ref/codeunit/1206-pmt-export-mgt-gen-jnl-line/source/#L62).

- [69](https://jonas-paprotka.de/ref/codeunit/1206-pmt-export-mgt-gen-jnl-line/source/#L69) calls [Table 270 Bank Account](https://jonas-paprotka.de/ref/table/270-bank-account/) `GetDataExchDefPaymentExport`
- [70](https://jonas-paprotka.de/ref/codeunit/1206-pmt-export-mgt-gen-jnl-line/source/#L70) calls [Table 1205 Credit Transfer Register](https://jonas-paprotka.de/ref/table/1205-credit-transfer-register/) `CreateNew`
- [73](https://jonas-paprotka.de/ref/codeunit/1206-pmt-export-mgt-gen-jnl-line/source/#L73) calls `CheckGenJnlLine`
- [74](https://jonas-paprotka.de/ref/codeunit/1206-pmt-export-mgt-gen-jnl-line/source/#L74) calls `ExportGenJnlLine`

## CheckGenJnlLine

[Line 77](https://jonas-paprotka.de/ref/codeunit/1206-pmt-export-mgt-gen-jnl-line/source/#L77), local.

- [81](https://jonas-paprotka.de/ref/codeunit/1206-pmt-export-mgt-gen-jnl-line/source/#L81) calls [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `DeletePaymentFileBatchErrors`
- [85](https://jonas-paprotka.de/ref/codeunit/1206-pmt-export-mgt-gen-jnl-line/source/#L85) runs [Codeunit 1211 Payment Export Gen. Jnl Check](https://jonas-paprotka.de/ref/codeunit/1211-payment-export-gen-jnl-check/)
- [86](https://jonas-paprotka.de/ref/codeunit/1206-pmt-export-mgt-gen-jnl-line/source/#L86) raises `OnCheckGenJnlLine`
- [89](https://jonas-paprotka.de/ref/codeunit/1206-pmt-export-mgt-gen-jnl-line/source/#L89) calls [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `HasPaymentFileErrorsInBatch`

## ExportGenJnlLine

[Line 107](https://jonas-paprotka.de/ref/codeunit/1206-pmt-export-mgt-gen-jnl-line/source/#L107).

- [123](https://jonas-paprotka.de/ref/codeunit/1206-pmt-export-mgt-gen-jnl-line/source/#L123) calls [Codeunit 1210 Payment Export Mgt](https://jonas-paprotka.de/ref/codeunit/1210-payment-export-mgt/) `CreateDataExch`
- [124](https://jonas-paprotka.de/ref/codeunit/1206-pmt-export-mgt-gen-jnl-line/source/#L124) writes [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) ModifyAll
- [131](https://jonas-paprotka.de/ref/codeunit/1206-pmt-export-mgt-gen-jnl-line/source/#L131) raises `OnBeforeCreateGenJnlDataExchLine`
- [133](https://jonas-paprotka.de/ref/codeunit/1206-pmt-export-mgt-gen-jnl-line/source/#L133) calls `CreateGenJnlDataExchLine`
- [135](https://jonas-paprotka.de/ref/codeunit/1206-pmt-export-mgt-gen-jnl-line/source/#L135) calls [Table 1206 Credit Transfer Entry](https://jonas-paprotka.de/ref/table/1206-credit-transfer-entry/) `CreateNew`
- [136](https://jonas-paprotka.de/ref/codeunit/1206-pmt-export-mgt-gen-jnl-line/source/#L136) calls [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `GetAppliesToDocEntryNo`
- [142](https://jonas-paprotka.de/ref/codeunit/1206-pmt-export-mgt-gen-jnl-line/source/#L142) raises `OnBeforePaymentExport`
- [144](https://jonas-paprotka.de/ref/codeunit/1206-pmt-export-mgt-gen-jnl-line/source/#L144) calls [Codeunit 1210 Payment Export Mgt](https://jonas-paprotka.de/ref/codeunit/1210-payment-export-mgt/) `ExportToFile`
- [146](https://jonas-paprotka.de/ref/codeunit/1206-pmt-export-mgt-gen-jnl-line/source/#L146) runs [Codeunit 1278 Exp. User Feedback Gen. Jnl.](https://jonas-paprotka.de/ref/codeunit/1278-exp-user-feedback-gen-jnl/)

## CreateGenJnlDataExchLine

[Line 149](https://jonas-paprotka.de/ref/codeunit/1206-pmt-export-mgt-gen-jnl-line/source/#L149), local.

- [153](https://jonas-paprotka.de/ref/codeunit/1206-pmt-export-mgt-gen-jnl-line/source/#L153) calls `PreparePaymentExportDataJnl`
- [154](https://jonas-paprotka.de/ref/codeunit/1206-pmt-export-mgt-gen-jnl-line/source/#L154) calls [Codeunit 1210 Payment Export Mgt](https://jonas-paprotka.de/ref/codeunit/1210-payment-export-mgt/) `CreatePaymentLines`

## PreparePaymentExportDataJnl

[Line 165](https://jonas-paprotka.de/ref/codeunit/1206-pmt-export-mgt-gen-jnl-line/source/#L165).

- [187](https://jonas-paprotka.de/ref/codeunit/1206-pmt-export-mgt-gen-jnl-line/source/#L187) calls [Table 270 Bank Account](https://jonas-paprotka.de/ref/table/270-bank-account/) `GetBankExportImportSetup`
- [188](https://jonas-paprotka.de/ref/codeunit/1206-pmt-export-mgt-gen-jnl-line/source/#L188) calls [Table 1226 Payment Export Data](https://jonas-paprotka.de/ref/table/1226-payment-export-data/) `SetPreserveNonLatinCharacters`
- [200](https://jonas-paprotka.de/ref/codeunit/1206-pmt-export-mgt-gen-jnl-line/source/#L200) calls [Table 98 General Ledger Setup](https://jonas-paprotka.de/ref/table/98-general-ledger-setup/) `GetCurrencyCode`
- [201](https://jonas-paprotka.de/ref/codeunit/1206-pmt-export-mgt-gen-jnl-line/source/#L201) calls `FillPaymentExportDataFromEmployee`
- [205](https://jonas-paprotka.de/ref/codeunit/1206-pmt-export-mgt-gen-jnl-line/source/#L205) calls [Table 98 General Ledger Setup](https://jonas-paprotka.de/ref/table/98-general-ledger-setup/) `GetCurrencyCode`
- [207](https://jonas-paprotka.de/ref/codeunit/1206-pmt-export-mgt-gen-jnl-line/source/#L207) calls [Table 288 Vendor Bank Account](https://jonas-paprotka.de/ref/table/288-vendor-bank-account/) `GetBankAccountNo`
- [240](https://jonas-paprotka.de/ref/codeunit/1206-pmt-export-mgt-gen-jnl-line/source/#L240) raises `OnBeforeInsertPmtExportDataJnlFromGenJnlLine`
- [241](https://jonas-paprotka.de/ref/codeunit/1206-pmt-export-mgt-gen-jnl-line/source/#L241) writes [Table 1226 Payment Export Data](https://jonas-paprotka.de/ref/table/1226-payment-export-data/) Insert(true)

## EnableExportToServerTempFile

[Line 250](https://jonas-paprotka.de/ref/codeunit/1206-pmt-export-mgt-gen-jnl-line/source/#L250).

- [252](https://jonas-paprotka.de/ref/codeunit/1206-pmt-export-mgt-gen-jnl-line/source/#L252) calls [Codeunit 1210 Payment Export Mgt](https://jonas-paprotka.de/ref/codeunit/1210-payment-export-mgt/) `EnableExportToServerTempFile`

## GetServerTempFileName

[Line 260](https://jonas-paprotka.de/ref/codeunit/1206-pmt-export-mgt-gen-jnl-line/source/#L260).

- [262](https://jonas-paprotka.de/ref/codeunit/1206-pmt-export-mgt-gen-jnl-line/source/#L262) calls [Codeunit 1210 Payment Export Mgt](https://jonas-paprotka.de/ref/codeunit/1210-payment-export-mgt/) `GetServerTempFileName`

## FillPaymentExportDataFromEmployee

[Line 265](https://jonas-paprotka.de/ref/codeunit/1206-pmt-export-mgt-gen-jnl-line/source/#L265), local.

- [269](https://jonas-paprotka.de/ref/codeunit/1206-pmt-export-mgt-gen-jnl-line/source/#L269) calls [Table 5200 Employee](https://jonas-paprotka.de/ref/table/5200-employee/) `GetBankAccountNo`
- [271](https://jonas-paprotka.de/ref/codeunit/1206-pmt-export-mgt-gen-jnl-line/source/#L271) calls [Table 5200 Employee](https://jonas-paprotka.de/ref/table/5200-employee/) `FullName`
- [273](https://jonas-paprotka.de/ref/codeunit/1206-pmt-export-mgt-gen-jnl-line/source/#L273) calls [Table 5200 Employee](https://jonas-paprotka.de/ref/table/5200-employee/) `FullName`

## Source

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

JOP-AL, 2026-11-20.
