---
title: "Codeunit 10140 Deposit-Post"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/10140-deposit-post/
type: codeunit
id: 10140
name: "Deposit-Post"
app: "Base Application"
versions: "17-22"
build: 22.5.59966.64723
countries: "US"
obsolete: "Pending 21.0"
checked: 2026-11-20
changed: 2026-09-28
subject: "Microsoft Dynamics 365 Business Central"
license: "Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/"
---

# Codeunit 10140 Deposit-Post

JOP-AL, https://jonas-paprotka.de/ref/codeunit/10140-deposit-post/

| | |
| --- | --- |
| App | Base Application |
| Versions | 17-22 |
| Minors | US 17.0-22.5, [every minor](https://jonas-paprotka.de/ref/codeunit/10140-deposit-post/editions.json) |
| TableNo | Deposit Header |
| Obsolete | Pending, tag 21.0, obsolete since 20: Replaced by new Bank Deposits extension |
| Source file | Local/DepositPost.Codeunit.al |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnAfterCheckDeposit | (DepositHeader: Record "Deposit Header") | 17-22 | - | - |
| Integration event | OnAfterDepositPost | (DepositHeader: Record "Deposit Header"; var PostedDepositHeader: Record "Posted Deposit Header") | 17-22 | - | - |
| Integration event | OnAfterPostBalancingEntry | (var GenJnlLine: Record "Gen. Journal Line") | 17-22 | - | - |
| Integration event | OnBeforeDepositPost | (var DepositHeader: Record "Deposit Header") | 17-22 | - | - |
| Integration event | OnBeforePostBalancingEntry | (var GenJnlLine: Record "Gen. Journal Line"; DepositHeader: Record "Deposit Header"; var GenJnlPostLine: Codeunit "Gen. Jnl.-Post Line") | 17-22 | - | - |
| Integration event | OnBeforePostGenJnlLine | (var GenJnlLine: Record "Gen. Journal Line"; DepositHeader: Record "Deposit Header"; var GenJnlPostLine: Codeunit "Gen. Jnl.-Post Line") | 17-22 | - | - |
| Integration event | OnBeforePostedDepositHeaderInsert | (var PostedDepositHeader: Record "Posted Deposit Header"; DepositHeader: Record "Deposit Header") | 17-22 | - | - |
| Integration event | OnBeforePostedDepositLineInsert | (var PostedDepositLine: Record "Posted Deposit Line"; GenJnlLine: Record "Gen. Journal Line") | 17-22 | - | - |
| Integration event | OnBeforePostedDepositLineModify | (var PostedDepositLine: Record "Posted Deposit Line"; GenJnlLine: Record "Gen. Journal Line") | 17-22 | - | - |
| Integration event | OnRunOnBeforeGenJnlLineDeleteAll | (var DepositHeader: Record "Deposit Header"; var PostedDepositLine: Record "Posted Deposit Line"; var GenJnlLine: Record "Gen. Journal Line") | 17-22 | - | - |
| Integration event | OnRunOnAfterPostBalancingEntry | (var GenJnlLine: Record "Gen. Journal Line") | 18-22 | - | - |

## Source

Symbols: Microsoft.BaseApplication.US.symbols.437dbf0e-84ff-417a-965d-ed2bb9650972, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-11-20.

JOP-AL, 2026-11-20.
