---
id: object/codeunit/2000020-be
type: object
title: Codeunit 2000020 "DomiciliationJnlManagement" (BE)
summary: Codeunit 2000020 "DomiciliationJnlManagement" (BE) in the BE country layer (Microsoft.Bank.Payment). 18 public procedures, 1 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: 1e390b4ed50c8d9018414de359e992eb8ba7fdc2db032130b8cc1423a8fc7b72
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/BE/BaseApp/Local/BankMgt/Payment/DomiciliationJnlManagement.Codeunit.al
    title: src/Layers/BE/BaseApp/Local/BankMgt/Payment/DomiciliationJnlManagement.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: 2000020
name: DomiciliationJnlManagement
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: 20
  events: 1
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
---

# Codeunit 2000020 "DomiciliationJnlManagement" (BE)

> Codeunit 2000020 "DomiciliationJnlManagement" (BE) in the BE country layer (Microsoft.Bank.Payment). 18 public procedures, 1 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/DomiciliationJnlManagement.Codeunit.al) · facts from BC29

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

## Properties

| Property | Value |
|---|---|
| Permissions | TableData "Cust. Ledger Entry" = rm, TableData "Domiciliation Journal Template" = imd, TableData "Domiciliation Journal Batch" = imd |

## Events published

- `OnCreateDomiciliationsOnAfterSetFilters(var DomiciliationJournalLine: Record "Domiciliation Journal Line")` (integration)

## Procedures

- `TemplateSelection(var DomJnlLine: Record "Domiciliation Journal Line"; var JnlSelected: Boolean)`
- `OpenJournal(var CurrentJnlBatchName: Code[10]; var DomicJnlLine: Record "Domiciliation Journal Line")`
- `OpenJnlBatch(var DomJnlBatch: Record "Domiciliation Journal Batch")`
- `TemplateSelectionFromBatch(var DomJnlBatch: Record "Domiciliation Journal Batch")`
- `CheckName(CurrentJnlBatchName: Code[10]; var DomicJnlLine: Record "Domiciliation Journal Line")`
- `SetName(CurrentJnlBatchName: Code[10]; var DomicJnlLine: Record "Domiciliation Journal Line")`
- `LookupName(CurrenJnlTemplateName: Code[10]; CurrentJnlBatchName: Code[10]; var NewJnlBatchName: Text[10]): Boolean`
- `GetAccounts(var DomicJnlLine: Record "Domiciliation Journal Line"; var AccName: Text[100]; var BankAccName: Text[100])`
- `CalculateTotals(var DomicJnlLine: Record "Domiciliation Journal Line"; LastDomicJnlLine: Record "Domiciliation Journal Line"; var Balance: Decimal; var TotalAmount: Decimal; var ShowAmount: Boolean; var ShowTotalAmount: Boolean)`
- `SetUpNewLine(var DomicJnlLine: Record "Domiciliation Journal Line"; LastDomicJnlLine: Record "Domiciliation Journal Line")`
- `ShowCard(DomicJnlLine: Record "Domiciliation Journal Line")`
- `ShowEntries(DomicJnlLine: Record "Domiciliation Journal Line")`
- `PrintTestReport(DomicJnlBatch: Record "Domiciliation Journal Batch")`
- `CreateDomiciliations(var DomicJnlLine: Record "Domiciliation Journal Line")`
- `AssignBankAccount(DomicJnlLine: Record "Domiciliation Journal Line"; BankName: Code[20])`
- `CreateReference(CustLedgEntry: Record "Cust. Ledger Entry"): Text[16]`
- `CheckDomiciliationNo(DomiciliationNo: Text[30]): Boolean`
- `ModifyPmtDiscDueDate(DomicJnlLine: Record "Domiciliation Journal Line")`

Plus 1 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: "DomiciliationJnlManagement")`, 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.
