---
id: object/codeunit/373
type: object
title: Codeunit 373 "Bank. Acc. Recon. Post Preview"
summary: Codeunit 373 "Bank. Acc. Recon. Post Preview" in Base Application (Microsoft.Bank.Reconciliation). 7 public procedures, 10 events. Present since at least BC23, still in BC30.
tier: official
language: en
tags:
  - codeunit
  - base application
versions:
  introduced: null
  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: 5ea52850e8ad3f430b999e3b8c3348cdcf8bf0dbcc3d308774f5a394f2f33394
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Bank/Reconciliation/BankAccReconPostPreview.Codeunit.al
    title: src/Layers/W1/BaseApp/Bank/Reconciliation/BankAccReconPostPreview.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: codeunit
object_id: 373
name: Bank. Acc. Recon. Post Preview
namespace: Microsoft.Bank.Reconciliation
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 22
  events: 10
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 2
  calls: 5
  called_by: 1
  implements: 0
---

# Codeunit 373 "Bank. Acc. Recon. Post Preview"

> Codeunit 373 "Bank. Acc. Recon. Post Preview" in Base Application (Microsoft.Bank.Reconciliation). 7 public procedures, 10 events. Present since at least BC23, still in BC30.

Base Application · Microsoft.Bank.Reconciliation · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Bank/Reconciliation/BankAccReconPostPreview.Codeunit.al) · facts from BC29

## Events published

- `OnBeforeRunPreview(var Subscriber: Codeunit "Bank Acc. Reconciliation Post"; var BankAccReconciliationSource: Record "Bank Acc. Reconciliation")` (integration)
- `OnRunPreview(var Result: Boolean; var Subscriber: Codeunit "Bank Acc. Reconciliation Post"; var BankAccReconciliationSource: Record "Bank Acc. Reconciliation")` (integration)
  - subscribers: [Codeunit 370 "Bank Acc. Reconciliation Post"](../codeunit/370.md) OnRunPreview
- `OnAfterBindSubscription(var PostingPreviewEventHandler: Codeunit "Posting Preview Event Handler")` (integration)
- `OnAfterUnbindSubscription(var EventHandlerCodeunit: Codeunit "Posting Preview Event Handler")` (integration)
- `OnSystemSetPostingPreviewActive(var Result: Boolean)` (integration)
  - subscribers: [Codeunit 20 "Posting Preview Event Handler"](../codeunit/20.md) SetTrueOnSystemSetPostingPreviewActiveBankRecon
- `OnAfterIsActive(var Result: Boolean)` (integration)
- `OnBeforeShowAllEntries(var TempDocumentEntry: Record "Document Entry" temporary; var IsHandled: Boolean; var PostingPreviewEventHandler: Codeunit "Posting Preview Event Handler")` (integration)
- `OnBeforeThrowError()` (integration)
- `OnAfterShowAllEntries()` (integration)
- `OnShowAllEntriesOnCaseElse(var TempDocumentEntry: Record "Document Entry" temporary; var PostingPreviewEventHandler: Codeunit "Posting Preview Event Handler")` (integration)

## Procedures

- `Preview(var Subscriber: Codeunit "Bank Acc. Reconciliation Post"; var BankAccReconciliationSource: Record "Bank Acc. Reconciliation")`
- `GetPreviewHandler(var ResultPostingPreviewEventHandler: Codeunit "Posting Preview Event Handler")`
- `IsActive(): Boolean`
- `IsSuccess(): Boolean`
- `SetContext(var Subscriber: Codeunit "Bank Acc. Reconciliation Post"; var BankAccReconciliationSource: Record "Bank Acc. Reconciliation")`
- `ShowDimensions(TableID: Integer; EntryNo: Integer; DimensionSetID: Integer)`
- `ThrowError()`

Plus 5 local procedures.

## Triggers

OnRun

## Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an `Object::"Name"` argument. Interface dispatch and calls through events are not counted, so the list is not complete.

- [Codeunit 9070 "Document Errors Mgt."](../codeunit/9070.md) (5 calls: `IsSuccess → GetNothingToPostErrorMsg`, `PreviewStart → GetNothingToPostErrorMsg`, `ShowAllEntries → GetNothingToPostErrorMsg`, …)
- [Codeunit 28 "Error Message Management"](../codeunit/28.md) (3 calls: `PreviewStart → Activate`, `PreviewStart → PushContext`, `RunPreview → LogError`)
- [Codeunit 20 "Posting Preview Event Handler"](../codeunit/20.md) (1 call: `ShowAllEntries → FillDocumentEntry`)
- [Codeunit 29 "Error Message Handler"](../codeunit/29.md) (1 call: `PreviewStart → ShowErrors`)
- [Codeunit 408 "DimensionManagement"](../codeunit/408.md) (1 call: `ShowDimensions → ShowDimensionSet`)

## Called by

- [Codeunit 370 "Bank Acc. Reconciliation Post"](../codeunit/370.md) (1 call: `Preview → Preview`)

## Across versions

- Present in: BC23-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). The call sections above are our own, per object, from the BC29 call graph. 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: "Bank. Acc. Recon. Post Preview")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
