---
id: object/codeunit/2000001-be
type: object
title: Codeunit 2000001 "CheckPaymJnlLine" (BE)
summary: Codeunit 2000001 "CheckPaymJnlLine" (BE) in the BE country layer (Microsoft.Bank.Payment). 15 public procedures, 6 events. Introduced in BC28, still in BC30.
tier: official
language: en
tags:
  - codeunit
  - be layer
versions:
  introduced: "28"
  last_changed: null
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 75053fa024dadb23b79f3033260b1cbb59c88602074df2195a418b80d7590c4c
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/BE/BaseApp/Local/BankMgt/Payment/CheckPaymJnlLine.Codeunit.al
    title: src/Layers/BE/BaseApp/Local/BankMgt/Payment/CheckPaymJnlLine.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations:
    - localization/be
  videos: []
  posts: []
  guidelines: []
object_type: codeunit
object_id: 2000001
name: CheckPaymJnlLine
namespace: Microsoft.Bank.Payment
app: Base Application
extends: null
first_version: "28"
last_version: "30"
present_in:
  - "28"
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
country: BE
counts:
  fields: 0
  procedures: 28
  events: 6
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
---

# Codeunit 2000001 "CheckPaymJnlLine" (BE)

> Codeunit 2000001 "CheckPaymJnlLine" (BE) in the BE country layer (Microsoft.Bank.Payment). 15 public procedures, 6 events. Introduced in BC28, still in BC30.

BE country layer · Microsoft.Bank.Payment · BC28-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/BE/BaseApp/Local/BankMgt/Payment/CheckPaymJnlLine.Codeunit.al) · facts from BC29

An object of the [BE localization](../../localizations/be.md), not part of W1.

## Properties

| Property | Value |
|---|---|
| TableNo | Payment Journal Line |

## Events published

- `OnBeforeCheckTotalLineAmounts(var PaymentJournalLine: Record "Payment Journal Line"; var IsHandled: Boolean)` (integration)
- `OnBeforeErrorIfCurrencyEuro(var PaymentJnlLine: Record "Payment Journal Line"; var IsHandled: Boolean)` (integration)
- `OnBeforeCheckSEPAAllowed(var RequiredSEPAAllowed: Boolean; PmtJnlLineNo: Integer; CountryRegionCode: Code[10]; var IsHandled: Boolean)` (integration)
- `OnBeforeCheckBeneficiaryBankForSEPA(var PaymentJournalLine: Record "Payment Journal Line"; var EuroSEPA: Boolean; var IsHandled: Boolean)` (integration)
- `OnFillGroupLineAmountBufOnAfterApplyFilters(var TempGroupPaymentJournalLine: Record "Payment Journal Line" temporary; PaymentJournalLine: Record "Payment Journal Line")` (integration)
- `OnFillGroupLineAmountBufOnBeforeInsert(var TempGroupPaymentJournalLine: Record "Payment Journal Line" temporary; PaymentJournalLine: Record "Payment Journal Line")` (integration)

## Procedures

- `CheckPostingDate(var PaymentJnlLine: Record "Payment Journal Line"; TemplateName: Code[20])`
- `Init()`
- `ClearErrorLog()`
- `InsertErrorLog(ErrorMessage: Text[250])`
- `ShowErrorLog()`
- `CheckExportProtocol(ExportProtocolCode: Code[20])`
- `ErrorNoPayments()`
- `FillGroupLineAmountBuf(PmtJnlLine: Record "Payment Journal Line")`
- `CheckTotalLineAmounts()`
- `ErrorIfCurrencyNotEuro(PmtJnlLine: Record "Payment Journal Line")`
- `ErrorIfCurrencyEuro(PmtJnlLine: Record "Payment Journal Line")`
- `CheckBankForSEPA(PmtJnlLine: Record "Payment Journal Line")`
- `CheckBeneficiaryBankForSEPA(PmtJnlLine: Record "Payment Journal Line"; EuroSEPA: Boolean)`
- `CheckCompanyName()`
- `CheckCustVendName(var PmtJnlLine: Record "Payment Journal Line")`

Plus 7 local procedures.

## Triggers

OnRun

## Across versions

- Present in: BC28-30
- Changed (declaration) in: none

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## Ask your agent

Procedure bodies are not stored here (D10). For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: `bcatlas_resolve_node(object_type: "codeunit", object_name: "CheckPaymJnlLine")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.

A BE country object, not part of W1: the default corpus does not have it; `bcatlas_list_countries` shows which countries the atlas has.
