---
title: "Codeunit 20565 Subc. Posting Preview Binding, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/20565-subc-posting-preview-binding/points/
object: https://jonas-paprotka.de/ref/codeunit/20565-subc-posting-preview-binding/
app: "Subcontracting"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/20565-subc-posting-preview-binding/source/
checked: 2026-11-20
changed: 2026-10-05
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 20565 Subc. Posting Preview Binding, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/20565-subc-posting-preview-binding/points/

4 procedures and triggers with a step in src/Apps/W1/Subcontracting/App/src/WIPItem/SubcPostingPreviewBinding.Codeunit.al, in source order, read from the text, not from a run.

## BindPostPrevEventHandlerOnAfterBindSubscription

[Line 19](https://jonas-paprotka.de/ref/codeunit/20565-subc-posting-preview-binding/source/#L19), local.

- [21](https://jonas-paprotka.de/ref/codeunit/20565-subc-posting-preview-binding/source/#L21) calls `TryBindPostingPreviewHandler`

## UnbindPostPrecEventHandlerOnAfterUnbindSubscription

[Line 25](https://jonas-paprotka.de/ref/codeunit/20565-subc-posting-preview-binding/source/#L25), local.

- [27](https://jonas-paprotka.de/ref/codeunit/20565-subc-posting-preview-binding/source/#L27) calls `TryUnbindPostingPreviewHandler`

## TryBindPostingPreviewHandler

[Line 30](https://jonas-paprotka.de/ref/codeunit/20565-subc-posting-preview-binding/source/#L30), local.

- [36](https://jonas-paprotka.de/ref/codeunit/20565-subc-posting-preview-binding/source/#L36) calls [Codeunit 20569 Subc. Feature Flag Handler](https://jonas-paprotka.de/ref/codeunit/20569-subc-feature-flag-handler/) `IsSubcontractingEnabled`
- [40](https://jonas-paprotka.de/ref/codeunit/20565-subc-posting-preview-binding/source/#L40) calls [Codeunit 20567 Subc. Pst. Prev. Event Handler](https://jonas-paprotka.de/ref/codeunit/20567-subc-pst-prev-event-handler/) `DeleteAll`

## TryUnbindPostingPreviewHandler

[Line 44](https://jonas-paprotka.de/ref/codeunit/20565-subc-posting-preview-binding/source/#L44), local.

- [50](https://jonas-paprotka.de/ref/codeunit/20565-subc-posting-preview-binding/source/#L50) calls [Codeunit 20569 Subc. Feature Flag Handler](https://jonas-paprotka.de/ref/codeunit/20569-subc-feature-flag-handler/) `IsSubcontractingEnabled`

## Source

AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
