---
title: "Codeunit 8001 Sub. Contr. Renewal Subcribers, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/points/
object: https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/
app: "Subscription Billing"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/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 8001 Sub. Contr. Renewal Subcribers, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/points/

38 procedures and triggers with a step in src/Apps/W1/Subscription Billing/App/Contract Renewal/Codeunits/SubContrRenewalSubcribers.Codeunit.al, in source order, read from the text, not from a run.

## BlankUnitPriceForContractRenewal

[Line 25](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L25), local.

- [27](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L27) calls [Table 37 Sales Line](https://jonas-paprotka.de/ref/table/37-sales-line/) `IsContractRenewal`
- [28](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L28) validates [Table 37 Sales Line](https://jonas-paprotka.de/ref/table/37-sales-line/) `Unit Price`

## SalesHeaderOnBeforeInsertRecreatesSalesLines

[Line 43](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L43), local.

- [45](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L45) calls [Table 37 Sales Line](https://jonas-paprotka.de/ref/table/37-sales-line/) `IsContractRenewal`

## DisallowQuoteToInvoiceForContractRenewalQuote

[Line 51](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L51), local.

- [55](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L55) calls [Codeunit 8003 Sub. Contract Renewal Mgt.](https://jonas-paprotka.de/ref/codeunit/8003-sub-contract-renewal-mgt/) `IsContractRenewal`

## PageSalesQuoteDisallowActionQuoteToInvoiceForContractRenewal

[Line 60](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L60), local.

- [64](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L64) calls [Codeunit 8003 Sub. Contract Renewal Mgt.](https://jonas-paprotka.de/ref/codeunit/8003-sub-contract-renewal-mgt/) `IsContractRenewal`

## PageSalesQuotesDisallowActionQuoteToInvoiceForContractRenewal

[Line 69](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L69), local.

- [73](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L73) calls [Codeunit 8003 Sub. Contract Renewal Mgt.](https://jonas-paprotka.de/ref/codeunit/8003-sub-contract-renewal-mgt/) `IsContractRenewal`

## SalesPostOnBeforeSalesLineDeleteAll

[Line 78](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L78), local.

- [84](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L84) calls [Codeunit 8004 Post Sub. Contract Renewal](https://jonas-paprotka.de/ref/codeunit/8004-post-sub-contract-renewal/) `ProcessPlannedServCommsForPostedSalesInvoice`
- [86](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L86) calls [Codeunit 8004 Post Sub. Contract Renewal](https://jonas-paprotka.de/ref/codeunit/8004-post-sub-contract-renewal/) `ProcessPlannedServCommsForPostedSalesCreditMemo`

## PurchPostOnBeforeDeleteAfterPosting

[Line 91](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L91), local.

- [97](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L97) calls [Codeunit 8004 Post Sub. Contract Renewal](https://jonas-paprotka.de/ref/codeunit/8004-post-sub-contract-renewal/) `ProcessPlannedServCommsForPostedPurchaseInvoice`
- [99](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L99) calls [Codeunit 8004 Post Sub. Contract Renewal](https://jonas-paprotka.de/ref/codeunit/8004-post-sub-contract-renewal/) `ProcessPlannedServCommsForPostedPurchaseCreditMemo`

## OnCopySalesDocSalesLineOnAfterCalcShouldRunIteration

[Line 110](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L110), local.

- [114](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L114) calls [Table 37 Sales Line](https://jonas-paprotka.de/ref/table/37-sales-line/) `IsContractRenewal`

## PerformRenewalForSalesLine

[Line 125](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L125), local.

- [127](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L127) calls `IsContractRenewal`

## OnBeforePostSalesLines

[Line 142](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L142), local.

- [147](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L147) calls [Codeunit 8003 Sub. Contract Renewal Mgt.](https://jonas-paprotka.de/ref/codeunit/8003-sub-contract-renewal-mgt/) `IsContractRenewal`
- [149](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L149) runs [Codeunit 8004 Post Sub. Contract Renewal](https://jonas-paprotka.de/ref/codeunit/8004-post-sub-contract-renewal/)

## SkipInitializingPostingNo

[Line 170](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L170), local.

- [174](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L174) calls `HasOnlyContractRenewalLines`

## SkipInsertingSalesInvoiceHeader

[Line 179](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L179), local.

- [183](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L183) calls `HasOnlyContractRenewalLines`

## SkipInsertShipmentHeaderNeededOnPostSalesOrderWithContractRenewal

[Line 188](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L188), local.

- [192](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L192) calls `HasOnlyContractRenewalLines`

## SkipInsertSalesInvoiceLineOnPostSalesLineOnBeforeInsertInvoiceLine

[Line 197](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L197), local.

- [199](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L199) calls `IsContractRenewal`
- [199](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L199) calls `HasOnlyContractRenewalLines`

## SkipInsertSalesInvoiceLineOnBeforeSalesInvLineInsert

[Line 204](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L204), local.

- [206](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L206) calls `IsContractRenewal`
- [206](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L206) calls `HasOnlyContractRenewalLines`

## SkipInsertSalesShipmentLineOnPostSalesLineOnBeforeInsertShipmentLine

[Line 211](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L211), local.

- [213](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L213) calls `IsContractRenewal`
- [213](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L213) calls `HasOnlyContractRenewalLines`

## SkipInsertReturnReceiptLineOnPostSalesLineOnBeforeInsertReturnReceiptLine

[Line 218](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L218), local.

- [220](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L220) calls `IsContractRenewal`
- [220](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L220) calls `HasOnlyContractRenewalLines`

## SkipInsertSalesCrMemoLineOnPostSalesLineOnBeforeInsertCrMemoLine

[Line 225](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L225), local.

- [227](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L227) calls `IsContractRenewal`
- [227](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L227) calls `HasOnlyContractRenewalLines`

## OnPostItemTrackingForShipmentOnBeforeShipmentInvoiceErr

[Line 232](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L232), local.

- [234](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L234) calls `IsContractRenewal`

## OnBeforePostItemTrackingCheckShipment

[Line 239](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L239), local.

- [241](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L241) calls `IsContractRenewal`

## OnBeforeTestUpdatedSalesLine

[Line 246](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L246), local.

- [248](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L248) calls `IsContractRenewal`

## OnBeforePrepareLine

[Line 253](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L253), local.

- [255](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L255) calls `IsContractRenewal`

## OnPostSalesLineOnBeforePostSalesLine

[Line 260](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L260), local.

- [262](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L262) calls `IsContractRenewal`

## OnBeforeTestSalesLine

[Line 267](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L267), local.

- [269](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L269) calls `IsContractRenewal`

## OnBeforePostLedgerEntry

[Line 274](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L274), local.

- [278](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L278) calls `HasOnlyContractRenewalLines`

## SkipDocumentAttachmentForContractRenewalLines

[Line 283](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L283), local.

- [287](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L287) calls `HasOnlyContractRenewalLines`

## SetEverythingInvoicedOnPostSalesLineOnAfterSetEverythingInvoiced

[Line 299](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L299), local.

- [301](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L301) calls `IsContractRenewal`

## OnRoundAmountOnBeforeIncrAmount

[Line 308](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L308), local.

- [310](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L310) calls `IsContractRenewal`

## OnBeforeRoundAmount

[Line 316](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L316), local.

- [318](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L318) calls `IsContractRenewal`

## OnBeforeSumSalesLines2

[Line 338](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L338), local.

- [340](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L340) calls `IsContractRenewal`

## AllowChangingResponsibilityCenter

[Line 346](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L346), local.

- [358](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L358) calls [Codeunit 8003 Sub. Contract Renewal Mgt.](https://jonas-paprotka.de/ref/codeunit/8003-sub-contract-renewal-mgt/) `IsContractRenewal`
- [364](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L364) calls [Codeunit 8074 Document Change Management](https://jonas-paprotka.de/ref/codeunit/8074-document-change-management/) `SetSkipContractSalesHeaderModifyCheck`
- [365](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L365) calls `UpdateResponsibilityCenterOnSalesLines`
- [375](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L375) calls [Codeunit 8074 Document Change Management](https://jonas-paprotka.de/ref/codeunit/8074-document-change-management/) `SetSkipContractSalesHeaderModifyCheck`
- [376](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L376) calls `UpdateResponsibilityCenterOnSalesLines`
- [380](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L380) calls [Codeunit 480 Get Shortcut Dimension Values](https://jonas-paprotka.de/ref/codeunit/480-get-shortcut-dimension-values/) `GetGlobalDimensions`
- [383](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L383) calls [Codeunit 8074 Document Change Management](https://jonas-paprotka.de/ref/codeunit/8074-document-change-management/) `SetSkipContractSalesHeaderModifyCheck`
- [384](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L384) calls `UpdateResponsibilityCenterOnSalesLines`

## UpdateResponsibilityCenterOnSalesLines

[Line 388](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L388), local.

- [395](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L395) writes [Table 37 Sales Line](https://jonas-paprotka.de/ref/table/37-sales-line/) ModifyAll

## SkipDeletingExistingSalesLines

[Line 399](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L399), local.

- [407](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L407) calls [Codeunit 8003 Sub. Contract Renewal Mgt.](https://jonas-paprotka.de/ref/codeunit/8003-sub-contract-renewal-mgt/) `IsContractRenewal`

## ClearAllowChangingResponsibilityCenter

[Line 415](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L415), local.

- [419](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L419) calls [Codeunit 8074 Document Change Management](https://jonas-paprotka.de/ref/codeunit/8074-document-change-management/) `SetSkipContractSalesHeaderModifyCheck`

## ClearContractRenewalCacheOnBeforePostSalesDoc

[Line 423](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L423), local.

- [425](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L425) calls `ClearContractRenewalCache`

## ClearContractRenewalCacheOnAfterPostSalesDoc

[Line 429](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L429), local.

- [431](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L431) calls `ClearContractRenewalCache`

## HasOnlyContractRenewalLines

[Line 443](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L443), local.

- [448](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L448) calls [Table 36 Sales Header](https://jonas-paprotka.de/ref/table/36-sales-header/) `HasOnlyContractRenewalLines`
- [451](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L451) calls [Table 36 Sales Header](https://jonas-paprotka.de/ref/table/36-sales-header/) `HasOnlyContractRenewalLines`

## IsContractRenewal

[Line 458](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L458), local.

- [463](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L463) calls [Table 37 Sales Line](https://jonas-paprotka.de/ref/table/37-sales-line/) `IsContractRenewal`
- [466](https://jonas-paprotka.de/ref/codeunit/8001-sub-contr-renewal-subcribers/source/#L466) calls [Table 37 Sales Line](https://jonas-paprotka.de/ref/table/37-sales-line/) `IsContractRenewal`

## Source

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

JOP-AL, 2026-11-20.
