---
title: "Codeunit 1211 Payment Export Gen. Jnl Check, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/1211-payment-export-gen-jnl-check/points/
object: https://jonas-paprotka.de/ref/codeunit/1211-payment-export-gen-jnl-check/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/1211-payment-export-gen-jnl-check/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 1211 Payment Export Gen. Jnl Check, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/1211-payment-export-gen-jnl-check/points/

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

## OnRun

[Line 18](https://jonas-paprotka.de/ref/codeunit/1211-payment-export-gen-jnl-check/source/#L18), trigger.

- [20](https://jonas-paprotka.de/ref/codeunit/1211-payment-export-gen-jnl-check/source/#L20) calls `CheckPaymentExportGenJnl`

## CheckPaymentExportGenJnl

[Line 37](https://jonas-paprotka.de/ref/codeunit/1211-payment-export-gen-jnl-check/source/#L37), local.

- [42](https://jonas-paprotka.de/ref/codeunit/1211-payment-export-gen-jnl-check/source/#L42) calls [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `DeletePaymentFileErrors`
- [46](https://jonas-paprotka.de/ref/codeunit/1211-payment-export-gen-jnl-check/source/#L46) calls `CheckGenJournalBatch`
- [49](https://jonas-paprotka.de/ref/codeunit/1211-payment-export-gen-jnl-check/source/#L49) calls `AddFieldEmptyError`
- [52](https://jonas-paprotka.de/ref/codeunit/1211-payment-export-gen-jnl-check/source/#L52) calls [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `InsertPaymentFileError`
- [56](https://jonas-paprotka.de/ref/codeunit/1211-payment-export-gen-jnl-check/source/#L56) calls [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `InsertPaymentFileError`
- [60](https://jonas-paprotka.de/ref/codeunit/1211-payment-export-gen-jnl-check/source/#L60) calls [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `InsertPaymentFileError`
- [64](https://jonas-paprotka.de/ref/codeunit/1211-payment-export-gen-jnl-check/source/#L64) calls [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `InsertPaymentFileError`
- [71](https://jonas-paprotka.de/ref/codeunit/1211-payment-export-gen-jnl-check/source/#L71) calls [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `InsertPaymentFileError`
- [74](https://jonas-paprotka.de/ref/codeunit/1211-payment-export-gen-jnl-check/source/#L74) raises `OnPaymentExportGenJnlCheck`
- [78](https://jonas-paprotka.de/ref/codeunit/1211-payment-export-gen-jnl-check/source/#L78) calls [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `InsertPaymentFileError`
- [87](https://jonas-paprotka.de/ref/codeunit/1211-payment-export-gen-jnl-check/source/#L87) calls [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `InsertPaymentFileError`
- [92](https://jonas-paprotka.de/ref/codeunit/1211-payment-export-gen-jnl-check/source/#L92) calls [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `InsertPaymentFileError`

## AddFieldEmptyError

[Line 104](https://jonas-paprotka.de/ref/codeunit/1211-payment-export-gen-jnl-check/source/#L104).

- [112](https://jonas-paprotka.de/ref/codeunit/1211-payment-export-gen-jnl-check/source/#L112) calls [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `InsertPaymentFileError`

## AddBatchEmptyError

[Line 121](https://jonas-paprotka.de/ref/codeunit/1211-payment-export-gen-jnl-check/source/#L121).

- [125](https://jonas-paprotka.de/ref/codeunit/1211-payment-export-gen-jnl-check/source/#L125) calls `AddFieldEmptyError`

## CheckGenJournalBatch

[Line 128](https://jonas-paprotka.de/ref/codeunit/1211-payment-export-gen-jnl-check/source/#L128), local.

- [133](https://jonas-paprotka.de/ref/codeunit/1211-payment-export-gen-jnl-check/source/#L133) writes [Table 232 Gen. Journal Batch](https://jonas-paprotka.de/ref/table/232-gen-journal-batch/) Insert
- [135](https://jonas-paprotka.de/ref/codeunit/1211-payment-export-gen-jnl-check/source/#L135) calls [Table 232 Gen. Journal Batch](https://jonas-paprotka.de/ref/table/232-gen-journal-batch/) `OnCheckGenJournalLineExportRestrictions`
- [138](https://jonas-paprotka.de/ref/codeunit/1211-payment-export-gen-jnl-check/source/#L138) calls `AddBatchEmptyError`
- [141](https://jonas-paprotka.de/ref/codeunit/1211-payment-export-gen-jnl-check/source/#L141) calls `AddBatchEmptyError`
- [144](https://jonas-paprotka.de/ref/codeunit/1211-payment-export-gen-jnl-check/source/#L144) calls `AddBatchEmptyError`
- [148](https://jonas-paprotka.de/ref/codeunit/1211-payment-export-gen-jnl-check/source/#L148) calls [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `InsertPaymentFileError`

## Source

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

JOP-AL, 2026-11-20.
