Namespace Microsoft.Bank.Ledger

Provides comprehensive bank account ledger entry management for transaction tracking and reconciliation. This namespace implements the complete bank account transaction lifecycle from entry creation through application processing and historical analysis. The architecture supports detailed transaction tracking with running balance calculations and audit trail maintenance.

Codeunit

Name Description
Codeunit Microsoft.Bank.Ledger."Calc. Running Acc. Balance" Calculates running account balances for bank account ledger entries with optimized caching. Provides efficient balance calculations for both local and foreign currency amounts by maintaining daily totals and entry-specific balance caches to avoid repetitive database queries.
Codeunit Microsoft.Bank.Ledger."G/L Reg.-Bank Account Ledger" Opens the Bank Account Ledger Entries page filtered to show entries from a specific G/L register. Links general ledger register records to their corresponding bank account ledger entries for audit trails.

Table

Name Description
Table Microsoft.Bank.Ledger."Bank Account Ledger Entry" Stores posted bank account transactions with full audit trail and reconciliation support. Each entry represents a single bank account transaction with complete financial, dimensional, and reconciliation information for tracking bank movements and statement matching.

Page

Name Description
Page Microsoft.Bank.Ledger."Applied Bank Acc. Ledger Entry" List part page displaying bank account ledger entries that have been applied to bank statements. Shows read-only view of entries that have been successfully matched during bank reconciliation, providing audit trail and reference information for reconciled transactions.
Page Microsoft.Bank.Ledger."Apply Bank Acc. Ledger Entries" List part page for selecting and applying bank account ledger entries during bank reconciliation. Provides filtering, selection, and balance calculation functionality for matching bank statement lines with posted bank account transactions during the reconciliation process.
Page Microsoft.Bank.Ledger."Bank Acc. Ledg. Entr. Preview" Preview page for bank account ledger entries before posting transactions. Displays temporary bank account ledger entries to show the expected results of posting operations without committing the data to the database, used in posting preview functionality.
Page Microsoft.Bank.Ledger."Bank Account Ledger Entries" Displays bank account ledger entries in a list view with filtering and navigation capabilities. Provides read-only access to posted bank transactions with drill-down to related documents, dimensions, check entries, and reversal functionality for authorized users.

Report

Name Description
Report Microsoft.Bank.Ledger."Date Compress Bank Acc. Ledger" Date compression report for bank account ledger entries to optimize database storage. Combines multiple closed bank account ledger entries within specified date ranges into single summarized entries, preserving audit trails while reducing database size and improving query performance.

Query

Name Description
Query Microsoft.Bank.Ledger."Bank Account Ledger Entries" Query object providing optimized read-only access to bank account ledger entry data. Exposes key bank account ledger entry fields for reporting, analysis, and external integrations with improved performance compared to table-based data access.

Events

Name
OnAfterCopyFromGenJnlLine Integration event raised after copying field values from a general journal line. Allows subscribers to customize or extend the field transfer process.
OnAfterUpdateDebitCredit Integration event raised after updating debit and credit amount fields. Allows subscribers to customize debit/credit calculation logic or add additional processing.
OnAfterSetBankReconciliationCandidatesFilter Integration event raised after setting filters for bank reconciliation candidates. Allows subscribers to modify or extend the filtering criteria for reconciliation matching.
OnAfterApplyControledFilters Integration event raised after applying controlled filters to the bank account ledger entries. Allows subscribers to modify or extend the filtering logic for reconciliation scenarios.
OnBeforeGetSelectedRecords Integration event raised before collecting selected records for reconciliation processing. Allows subscribers to customize selection logic or handle records differently.
OnInsertNewEntryOnBeforeInsert Integration event raised before inserting a new compressed bank account ledger entry. Allows subscribers to modify the entry or add custom processing before database insertion.

Remarks

Key architectural components include bank account ledger entry storage for transaction records, application processing for matching and reconciling entries, running balance calculations for real-time account position tracking, and comprehensive querying capabilities for reporting.

The namespace integrates with core banking functionality through bank account management, general ledger integration for financial consistency, and date compression utilities for historical data maintenance. Extension points include custom application logic, specialized balance calculations, and integration event handling for third-party systems.

Dependencies include Microsoft.Bank.BankAccount for account relationships, Microsoft.Finance.GeneralLedger for posting integration, and Microsoft.Foundation.AuditCodes for transaction classification and tracking purposes.