---
id: object/codeunit/2000042-be
type: object
title: Codeunit 2000042 "Post Coded Bank Statement" (BE)
summary: Codeunit 2000042 "Post Coded Bank Statement" (BE) in the BE country layer (Microsoft.Bank.CODA). 17 public procedures, 11 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: e734ad010520d47ca8bd718dd7cc1b94db6a8a06f3cc54f931c16148342d358c
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/BE/BaseApp/Local/BankMgt/Statement/PostCodedBankStatement.Codeunit.al
    title: src/Layers/BE/BaseApp/Local/BankMgt/Statement/PostCodedBankStatement.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: 2000042
name: Post Coded Bank Statement
namespace: Microsoft.Bank.CODA
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: 41
  events: 11
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
---

# Codeunit 2000042 "Post Coded Bank Statement" (BE)

> Codeunit 2000042 "Post Coded Bank Statement" (BE) in the BE country layer (Microsoft.Bank.CODA). 17 public procedures, 11 events. Introduced in BC28, still in BC30.

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

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

## Properties

| Property | Value |
|---|---|
| TableNo | CODA Statement Line |
| Permissions | TableData "Cust. Ledger Entry" = rm, TableData "Vendor Ledger Entry" = rm, TableData "Gen. Journal Template" = r, TableData "Gen. Journal Line" = rimd, TableData "Gen. Journal Batch" = ri |

## Events published

- `OnAfterInitCodBankStmtLine(var CodBankStmtLine: Record "CODA Statement Line"; TransactionCoding: Record "Transaction Coding"; AccountType: Integer; UpdateApplicationAmounts: Boolean)` (integration)
- `OnAfterSearchCustomer(var Customer: Record Customer; var CustomerBankAccount: Record "Customer Bank Account"; var CODAStatementLine: Record "CODA Statement Line")` (integration)
- `OnAfterSearchVendor(var Vendor: Record Vendor; var VendorBankAccount: Record "Vendor Bank Account"; var CODAStatementLine: Record "CODA Statement Line")` (integration)
- `OnBeforeDefaultPosting(var CODAStatementLine: Record "CODA Statement Line"; TransactionCoding: Record "Transaction Coding")` (integration)
- `OnCodeOnBeforeTransferCodBankStmtLines(var CODAStatementLine: Record "CODA Statement Line"; var CODAStatementLine2: Record "CODA Statement Line")` (integration)
- `OnDecodeCustLedgEntryOnBeforePost(var CustLedgerEntry: Record "Cust. Ledger Entry"; var CODAStatementLine: Record "CODA Statement Line"; var DocNo: Code[20])` (integration)
- `OnDecodeVendLedgEntryOnAfterVendLedgEntrySetFilters(var VendLedgEntry: Record "Vendor Ledger Entry"; var CODAStatementLine: Record "CODA Statement Line"; var Message: Text[50])` (integration)
- `OnSearchCustLedgEntryOnAfterCustLedgEntry2SetFilters(var CustLedgerEntry: Record "Cust. Ledger Entry"; var CODAStatementLine: Record "CODA Statement Line")` (integration)
- `OnTransferCodBankStmtLinesOnBeforeInitGenJnlLine(var CODAStatementLine: Record "CODA Statement Line")` (integration)
- `OnTransferCodBankStmtLinesOnBeforeGenJnlLineInsert(var GenJnlLine: Record "Gen. Journal Line"; CodBankStmtLine: Record "CODA Statement Line")` (integration)
- `OnBeforeSearchVendorLedgerEntry(var CODAStatementLine: Record "CODA Statement Line"; var IsHandled: Boolean)` (integration)

## Procedures

- `Code()`
- `TransferCodBankStmtLines()`
- `ProcessCodBankStmtLine(var CodedBankStmtLine: Record "CODA Statement Line")`
- `FetchCodedTransaction(var CodedBankStmtLine: Record "CODA Statement Line"): Boolean`
- `ApplyCodedTransaction(var CodedBankStmtLine: Record "CODA Statement Line")`
- `DefaultPosting(var CodedBankStmtLine: Record "CODA Statement Line")`
- `NotCodedPosting()`
- `InterpretStandardFormat(var CodedBankStmtLine: Record "CODA Statement Line"): Text[250]`
- `InitCodeunit(NewTesting: Boolean; DefaultPosting: Boolean)`
- `DecodeNumber()`
- `DecodeEquivalent()`
- `DecodeOriginalAmount()`
- `PostCustLedgEntry()`
- `PostVendLedgEntry()`
- `DecodeMethodOfCalculation()`
- `DecodeDomiciliation()`
- `TermInvestment()`

Plus 13 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: "Post Coded Bank Statement")`, 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.
