---
title: "Codeunit 1208 Pmt Export Mgt Cust Ledg Entry, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/1208-pmt-export-mgt-cust-ledg-entry/points/
object: https://jonas-paprotka.de/ref/codeunit/1208-pmt-export-mgt-cust-ledg-entry/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/1208-pmt-export-mgt-cust-ledg-entry/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 1208 Pmt Export Mgt Cust Ledg Entry, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/1208-pmt-export-mgt-cust-ledg-entry/points/

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

## ExportCustPaymentFileYN

[Line 40](https://jonas-paprotka.de/ref/codeunit/1208-pmt-export-mgt-cust-ledg-entry/source/#L40).

- [42](https://jonas-paprotka.de/ref/codeunit/1208-pmt-export-mgt-cust-ledg-entry/source/#L42) calls `IsCustLedgerEntryExported`
- [42](https://jonas-paprotka.de/ref/codeunit/1208-pmt-export-mgt-cust-ledg-entry/source/#L42) calls `IsAppliedToCustPaymentExported`
- [45](https://jonas-paprotka.de/ref/codeunit/1208-pmt-export-mgt-cust-ledg-entry/source/#L45) calls `ExportCustPaymentFile`

## ExportCustPaymentFile

[Line 103](https://jonas-paprotka.de/ref/codeunit/1208-pmt-export-mgt-cust-ledg-entry/source/#L103).

- [105](https://jonas-paprotka.de/ref/codeunit/1208-pmt-export-mgt-cust-ledg-entry/source/#L105) runs [Codeunit 1213 Pmt. Export Cust. Ledger Check](https://jonas-paprotka.de/ref/codeunit/1213-pmt-export-cust-ledger-check/)
- [106](https://jonas-paprotka.de/ref/codeunit/1208-pmt-export-mgt-cust-ledg-entry/source/#L106) calls `ExportCustLedgerEntry`
- [107](https://jonas-paprotka.de/ref/codeunit/1208-pmt-export-mgt-cust-ledg-entry/source/#L107) calls `SetExportFlagOnCustLedgerEntries`

## ExportCustLedgerEntry

[Line 116](https://jonas-paprotka.de/ref/codeunit/1208-pmt-export-mgt-cust-ledg-entry/source/#L116).

- [129](https://jonas-paprotka.de/ref/codeunit/1208-pmt-export-mgt-cust-ledg-entry/source/#L129) calls [Codeunit 1210 Payment Export Mgt](https://jonas-paprotka.de/ref/codeunit/1210-payment-export-mgt/) `CreateDataExch`
- [134](https://jonas-paprotka.de/ref/codeunit/1208-pmt-export-mgt-cust-ledg-entry/source/#L134) raises `OnBeforeCreateCustLedgerDataExchLine`
- [137](https://jonas-paprotka.de/ref/codeunit/1208-pmt-export-mgt-cust-ledg-entry/source/#L137) calls `CreateCustLedgerDataExchLine`
- [140](https://jonas-paprotka.de/ref/codeunit/1208-pmt-export-mgt-cust-ledg-entry/source/#L140) raises `OnBeforePaymentExportCustLedgerEntry`
- [143](https://jonas-paprotka.de/ref/codeunit/1208-pmt-export-mgt-cust-ledg-entry/source/#L143) calls [Codeunit 1210 Payment Export Mgt](https://jonas-paprotka.de/ref/codeunit/1210-payment-export-mgt/) `ExportToFile`

## CreateCustLedgerDataExchLine

[Line 146](https://jonas-paprotka.de/ref/codeunit/1208-pmt-export-mgt-cust-ledg-entry/source/#L146), local.

- [150](https://jonas-paprotka.de/ref/codeunit/1208-pmt-export-mgt-cust-ledg-entry/source/#L150) calls `PreparePaymentExportDataCLE`
- [151](https://jonas-paprotka.de/ref/codeunit/1208-pmt-export-mgt-cust-ledg-entry/source/#L151) calls [Codeunit 1210 Payment Export Mgt](https://jonas-paprotka.de/ref/codeunit/1210-payment-export-mgt/) `CreatePaymentLines`

## PreparePaymentExportDataCLE

[Line 162](https://jonas-paprotka.de/ref/codeunit/1208-pmt-export-mgt-cust-ledg-entry/source/#L162).

- [177](https://jonas-paprotka.de/ref/codeunit/1208-pmt-export-mgt-cust-ledg-entry/source/#L177) calls [Table 270 Bank Account](https://jonas-paprotka.de/ref/table/270-bank-account/) `GetBankExportImportSetup`
- [178](https://jonas-paprotka.de/ref/codeunit/1208-pmt-export-mgt-cust-ledg-entry/source/#L178) calls [Table 1226 Payment Export Data](https://jonas-paprotka.de/ref/table/1226-payment-export-data/) `SetPreserveNonLatinCharacters`
- [194](https://jonas-paprotka.de/ref/codeunit/1208-pmt-export-mgt-cust-ledg-entry/source/#L194) calls [Table 98 General Ledger Setup](https://jonas-paprotka.de/ref/table/98-general-ledger-setup/) `GetCurrencyCode`
- [198](https://jonas-paprotka.de/ref/codeunit/1208-pmt-export-mgt-cust-ledg-entry/source/#L198) calls [Table 287 Customer Bank Account](https://jonas-paprotka.de/ref/table/287-customer-bank-account/) `GetBankAccountNo`
- [219](https://jonas-paprotka.de/ref/codeunit/1208-pmt-export-mgt-cust-ledg-entry/source/#L219) raises `OnPreparePaymentExportDataCLEOnBeforeTempPaymentExportDataInsert`
- [220](https://jonas-paprotka.de/ref/codeunit/1208-pmt-export-mgt-cust-ledg-entry/source/#L220) writes [Table 1226 Payment Export Data](https://jonas-paprotka.de/ref/table/1226-payment-export-data/) Insert(true)

## EnableExportToServerTempFile

[Line 229](https://jonas-paprotka.de/ref/codeunit/1208-pmt-export-mgt-cust-ledg-entry/source/#L229).

- [231](https://jonas-paprotka.de/ref/codeunit/1208-pmt-export-mgt-cust-ledg-entry/source/#L231) calls [Codeunit 1210 Payment Export Mgt](https://jonas-paprotka.de/ref/codeunit/1210-payment-export-mgt/) `EnableExportToServerTempFile`

## GetServerTempFileName

[Line 239](https://jonas-paprotka.de/ref/codeunit/1208-pmt-export-mgt-cust-ledg-entry/source/#L239).

- [241](https://jonas-paprotka.de/ref/codeunit/1208-pmt-export-mgt-cust-ledg-entry/source/#L241) calls [Codeunit 1210 Payment Export Mgt](https://jonas-paprotka.de/ref/codeunit/1210-payment-export-mgt/) `GetServerTempFileName`

## SetExportFlagOnCustLedgerEntries

[Line 244](https://jonas-paprotka.de/ref/codeunit/1208-pmt-export-mgt-cust-ledg-entry/source/#L244), local.

- [250](https://jonas-paprotka.de/ref/codeunit/1208-pmt-export-mgt-cust-ledg-entry/source/#L250) validates [Table 21 Cust. Ledger Entry](https://jonas-paprotka.de/ref/table/21-cust-ledger-entry/) `Exported to Payment File`
- [251](https://jonas-paprotka.de/ref/codeunit/1208-pmt-export-mgt-cust-ledg-entry/source/#L251) runs [Codeunit 103 Cust. Entry-Edit](https://jonas-paprotka.de/ref/codeunit/103-cust-entry-edit/)

## Source

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

JOP-AL, 2026-11-20.
