---
title: "Codeunit 8077 Deferral Post. Preview Handler, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/8077-deferral-post-preview-handler/points/
object: https://jonas-paprotka.de/ref/codeunit/8077-deferral-post-preview-handler/
app: "Subscription Billing"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/8077-deferral-post-preview-handler/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 8077 Deferral Post. Preview Handler, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/8077-deferral-post-preview-handler/points/

5 procedures and triggers with a step in src/Apps/W1/Subscription Billing/App/Deferrals/Codeunits/DeferralPostPreviewHandler.Codeunit.al, in source order, read from the text, not from a run.

## OnInsertCustContractDeferral

[Line 13](https://jonas-paprotka.de/ref/codeunit/8077-deferral-post-preview-handler/source/#L13), local.

- [22](https://jonas-paprotka.de/ref/codeunit/8077-deferral-post-preview-handler/source/#L22) writes [Table 8066 Cust. Sub. Contract Deferral](https://jonas-paprotka.de/ref/table/8066-cust-sub-contract-deferral/) Insert

## OnModifyCustContractDeferral

[Line 26](https://jonas-paprotka.de/ref/codeunit/8077-deferral-post-preview-handler/source/#L26), local.

- [32](https://jonas-paprotka.de/ref/codeunit/8077-deferral-post-preview-handler/source/#L32) writes [Table 8066 Cust. Sub. Contract Deferral](https://jonas-paprotka.de/ref/table/8066-cust-sub-contract-deferral/) Insert
- [33](https://jonas-paprotka.de/ref/codeunit/8077-deferral-post-preview-handler/source/#L33) writes [Table 8066 Cust. Sub. Contract Deferral](https://jonas-paprotka.de/ref/table/8066-cust-sub-contract-deferral/) Modify

## OnInsertVendContractDeferral

[Line 37](https://jonas-paprotka.de/ref/codeunit/8077-deferral-post-preview-handler/source/#L37), local.

- [46](https://jonas-paprotka.de/ref/codeunit/8077-deferral-post-preview-handler/source/#L46) writes [Table 8072 Vend. Sub. Contract Deferral](https://jonas-paprotka.de/ref/table/8072-vend-sub-contract-deferral/) Insert

## OnModifyVendContractDeferral

[Line 50](https://jonas-paprotka.de/ref/codeunit/8077-deferral-post-preview-handler/source/#L50), local.

- [56](https://jonas-paprotka.de/ref/codeunit/8077-deferral-post-preview-handler/source/#L56) writes [Table 8072 Vend. Sub. Contract Deferral](https://jonas-paprotka.de/ref/table/8072-vend-sub-contract-deferral/) Insert
- [57](https://jonas-paprotka.de/ref/codeunit/8077-deferral-post-preview-handler/source/#L57) writes [Table 8072 Vend. Sub. Contract Deferral](https://jonas-paprotka.de/ref/table/8072-vend-sub-contract-deferral/) Modify

## DeleteAll

[Line 60](https://jonas-paprotka.de/ref/codeunit/8077-deferral-post-preview-handler/source/#L60).

- [63](https://jonas-paprotka.de/ref/codeunit/8077-deferral-post-preview-handler/source/#L63) writes [Table 8066 Cust. Sub. Contract Deferral](https://jonas-paprotka.de/ref/table/8066-cust-sub-contract-deferral/) DeleteAll
- [65](https://jonas-paprotka.de/ref/codeunit/8077-deferral-post-preview-handler/source/#L65) writes [Table 8072 Vend. Sub. Contract Deferral](https://jonas-paprotka.de/ref/table/8072-vend-sub-contract-deferral/) DeleteAll

## Source

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

JOP-AL, 2026-11-20.
