---
id: object/codeunit/3010541-ch
type: object
title: Codeunit 3010541 "DtaMgt" (CH)
summary: Codeunit 3010541 "DtaMgt" (CH) in the CH country layer (Microsoft.Bank.Payment). 23 public procedures. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - codeunit
  - ch layer
versions:
  introduced: "29"
  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: ae9c6eae11cca084414f200016a774241b24136550ff605872c964a4c0cbf0a5
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/CH/BaseApp/Local/Bank/Payment/DtaMgt.Codeunit.al
    title: src/Layers/CH/BaseApp/Local/Bank/Payment/DtaMgt.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations:
    - localization/ch
  videos: []
  posts: []
  guidelines: []
object_type: codeunit
object_id: 3010541
name: DtaMgt
namespace: Microsoft.Bank.Payment
app: Base Application
extends: null
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
country: CH
counts:
  fields: 0
  procedures: 25
  events: 0
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
---

# Codeunit 3010541 "DtaMgt" (CH)

> Codeunit 3010541 "DtaMgt" (CH) in the CH country layer (Microsoft.Bank.Payment). 23 public procedures. Introduced in BC29, still in BC30.

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

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

## Properties

| Property | Value |
|---|---|
| Permissions | TableData "Vendor Ledger Entry" = rm |

## Procedures

- `CheckSetup()`
- `ProcessGlLine(var GenJnlLine: Record "Gen. Journal Line"; CodingLine: Text[70])`
- `ProcessPurchHeader(var PurchHeader: Record "Purchase Header"; CodingLine: Text[70])`
- `GetVendorBank(VendorBankAccount: Record "Vendor Bank Account"; AccNo: Text[20]; VendorNo: Code[20])`
- `ProcessGlRefNo(var GLL: Record "Gen. Journal Line")`
- `PurchHeadRefNoProcess(var PurchHead: Record "Purchase Header")`
- `CheckRefNo(RefNo: Text[35]; ChkDig: Text[2]; Amt: Decimal): Text[35]`
- `VendLedgEntriesCheckRefNo(VenLedgEnt: Record "Vendor Ledger Entry")`
- `PostAccountInsertDash(AccWithoutDash: Text[20]): Text[20]`
- `Modulo11(RefNo: Text[35]; ChkDig: Text[2]; Amt: Decimal)`
- `CheckAmountChkDig(AmtString: Text[20])`
- `AmountInDecimal(AmtString: Text[20]): Decimal`
- `CheckVenorPost(GLL: Record "Gen. Journal Line")`
- `TransferVendorGlLine(var GLL: Record "Gen. Journal Line")`
- `TransferPurchHeadGLL(var PurchHead: Record "Purchase Header"; var GLL: Record "Gen. Journal Line")`
- `ReleaseVendorLedgerEntries(GenJnlLine: Record "Gen. Journal Line")`
- `StartYellownet()`
- `ModifyDocNo(var GenJnlLine: Record "Gen. Journal Line")`
- `ModifyExRate(GenJnlLine: Record "Gen. Journal Line")`
- `CheckEsrCurrency(CurrencyCode: Code[10]; ESRISRCodingLine: Code[70])`
- `IBANDELCHR(IBAN: Code[37]): Code[37]`
- `GetIsoCurrencyCode(CurrencyCode: Code[10]): Code[10]`
- `GetRecordType(xISO: Code[10]; Amount: Decimal; VendorNo: Code[20]; VendBankNo: Code[20]; DtaEzag: Code[10]): Integer`

Plus 2 local procedures.

## Triggers

OnRun

## Across versions

- Present in: BC29-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: "DtaMgt")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.

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