---
title: "Page 8052 Customer Contract, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/page/8052-customer-contract/points/
object: https://jonas-paprotka.de/ref/page/8052-customer-contract/
app: "Subscription Billing"
major: 29
source: https://jonas-paprotka.de/ref/page/8052-customer-contract/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/"
---

# Page 8052 Customer Contract, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/page/8052-customer-contract/points/

31 procedures and triggers with a step in src/Apps/W1/Subscription Billing/App/Customer Contracts/Pages/CustomerContract.Page.al, in source order, read from the text, not from a run.

## No..OnAssistEdit

[Line 33](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L33), trigger.

- [35](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L35) calls [Table 8052 Customer Subscription Contract](https://jonas-paprotka.de/ref/table/8052-customer-subscription-contract/) `AssistEdit`

## Sell-to Customer No..OnValidate

[Line 46](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L46), trigger.

- [48](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L48) calls [Table 8052 Customer Subscription Contract](https://jonas-paprotka.de/ref/table/8052-customer-subscription-contract/) `SelltoCustomerNoOnAfterValidate`

## Sell-to Customer Name.OnValidate

[Line 58](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L58), trigger.

- [60](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L60) calls [Table 8052 Customer Subscription Contract](https://jonas-paprotka.de/ref/table/8052-customer-subscription-contract/) `SelltoCustomerNoOnAfterValidate`

## Sell-to Customer Name.OnLookup

[Line 64](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L64), trigger.

- [66](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L66) calls [Table 8052 Customer Subscription Contract](https://jonas-paprotka.de/ref/table/8052-customer-subscription-contract/) `LookupSellToCustomerName`

## Sell-to Country/Region Code.OnValidate

[Line 120](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L120), trigger.

- [122](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L122) calls [Codeunit 365 Format Address](https://jonas-paprotka.de/ref/codeunit/365-format-address/) `UseCounty`

## DescriptionText.OnValidate

[Line 190](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L190), trigger.

- [192](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L192) calls [Table 8052 Customer Subscription Contract](https://jonas-paprotka.de/ref/table/8052-customer-subscription-contract/) `SetDescription`

## ShippingOptions.OnValidate

[Line 320](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L320), trigger.

- [327](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L327) raises `OnBeforeValidateShipToOptions`, IsHandled
- [334](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L334) validates [Table 8052 Customer Subscription Contract](https://jonas-paprotka.de/ref/table/8052-customer-subscription-contract/) `Ship-to Code`
- [335](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L335) calls [Table 8052 Customer Subscription Contract](https://jonas-paprotka.de/ref/table/8052-customer-subscription-contract/) `CopySellToAddressToShipToAddress`
- [345](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L345) raises `OnValidateShipToOptionsOnAfterShipToAddressListGetRecord`
- [346](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L346) validates [Table 8052 Customer Subscription Contract](https://jonas-paprotka.de/ref/table/8052-customer-subscription-contract/) `Ship-to Code`
- [347](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L347) calls [Codeunit 365 Format Address](https://jonas-paprotka.de/ref/codeunit/365-format-address/) `UseCounty`
- [353](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L353) validates [Table 8052 Customer Subscription Contract](https://jonas-paprotka.de/ref/table/8052-customer-subscription-contract/) `Ship-to Code`
- [354](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L354) calls [Codeunit 365 Format Address](https://jonas-paprotka.de/ref/codeunit/365-format-address/) `UseCounty`
- [358](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L358) raises `OnAfterValidateShippingOptions`

## Ship-to Code.OnValidate

[Line 372](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L372), trigger.

- [380](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L380) calls [Codeunit 365 Format Address](https://jonas-paprotka.de/ref/codeunit/365-format-address/) `UseCounty`

## Ship-to Country/Region Code.OnValidate

[Line 439](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L439), trigger.

- [441](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L441) calls [Codeunit 365 Format Address](https://jonas-paprotka.de/ref/codeunit/365-format-address/) `UseCounty`

## BillToOptions.OnValidate

[Line 460](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L460), trigger.

- [463](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L463) validates [Table 8052 Customer Subscription Contract](https://jonas-paprotka.de/ref/table/8052-customer-subscription-contract/) `Bill-to Customer No.`
- [464](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L464) calls [Table 8052 Customer Subscription Contract](https://jonas-paprotka.de/ref/table/8052-customer-subscription-contract/) `RecallModifyAddressNotification`
- [464](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L464) calls [Table 8052 Customer Subscription Contract](https://jonas-paprotka.de/ref/table/8052-customer-subscription-contract/) `GetModifyBillToCustomerAddressNotificationId`
- [467](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L467) calls [Table 8052 Customer Subscription Contract](https://jonas-paprotka.de/ref/table/8052-customer-subscription-contract/) `CopySellToAddressToBillToAddress`
- [469](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L469) calls `UpdateBillToFieldsEnabled`

## Bill-to Country/Region Code.OnValidate

[Line 554](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L554), trigger.

- [556](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L556) calls [Codeunit 365 Format Address](https://jonas-paprotka.de/ref/codeunit/365-format-address/) `UseCounty`

## Dimensions.OnAction

[Line 668](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L668), trigger.

- [670](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L670) calls [Table 8052 Customer Subscription Contract](https://jonas-paprotka.de/ref/table/8052-customer-subscription-contract/) `ShowDocDim`

## UpdateDimensionsInDeferrals.OnAction

[Line 689](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L689), trigger.

- [691](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L691) calls [Table 8052 Customer Subscription Contract](https://jonas-paprotka.de/ref/table/8052-customer-subscription-contract/) `UpdateDimensionsInDeferrals`

## GetServiceCommitmentsAction.OnAction

[Line 702](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L702), trigger.

- [706](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L706) calls [Page 8069 Serv. Comm. WO Cust. Contract](https://jonas-paprotka.de/ref/page/8069-serv-comm-wo-cust-contract/) `SetCustomerContractNo`

## UpdateServicesDatesAction.OnAction

[Line 716](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L716), trigger.

- [719](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L719) calls [Table 8052 Customer Subscription Contract](https://jonas-paprotka.de/ref/table/8052-customer-subscription-contract/) `UpdateServicesDates`

## UpdateExchangeRates.OnAction

[Line 728](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L728), trigger.

- [730](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L730) calls [Table 8052 Customer Subscription Contract](https://jonas-paprotka.de/ref/table/8052-customer-subscription-contract/) `UpdateAndRecalculateServiceCommitmentCurrencyData`

## CreateContractInvoice.OnAction

[Line 739](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L739), trigger.

- [741](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L741) calls [Table 8052 Customer Subscription Contract](https://jonas-paprotka.de/ref/table/8052-customer-subscription-contract/) `CreateBillingProposal`

## ExtendContract.OnAction

[Line 750](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L750), trigger.

- [754](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L754) calls [Page 8002 Extend Contract](https://jonas-paprotka.de/ref/page/8002-extend-contract/) `SetParameters`

## CreateContractRenewalQuote.OnAction

[Line 765](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L765), trigger.

- [770](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L770) calls [Codeunit 8003 Sub. Contract Renewal Mgt.](https://jonas-paprotka.de/ref/codeunit/8003-sub-contract-renewal-mgt/) `StartContractRenewalFromContract`

## ShowSalesInvoices.OnAction

[Line 779](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L779), trigger.

- [781](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L781) calls [Codeunit 8059 Sub. Contracts General Mgt.](https://jonas-paprotka.de/ref/codeunit/8059-sub-contracts-general-mgt/) `ShowUnpostedSalesDocument`

## ShowSalesCreditMemos.OnAction

[Line 790](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L790), trigger.

- [792](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L792) calls [Codeunit 8059 Sub. Contracts General Mgt.](https://jonas-paprotka.de/ref/codeunit/8059-sub-contracts-general-mgt/) `ShowUnpostedSalesDocument`

## ShowPostedSalesInvoices.OnAction

[Line 801](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L801), trigger.

- [803](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L803) calls [Codeunit 8059 Sub. Contracts General Mgt.](https://jonas-paprotka.de/ref/codeunit/8059-sub-contracts-general-mgt/) `ShowPostedSalesInvoices`

## ShowPostedSalesCreditMemos.OnAction

[Line 812](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L812), trigger.

- [814](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L814) calls [Codeunit 8059 Sub. Contracts General Mgt.](https://jonas-paprotka.de/ref/codeunit/8059-sub-contracts-general-mgt/) `ShowPostedSalesCreditMemos`

## ShowRenewalQuote.OnAction

[Line 823](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L823), trigger.

- [827](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L827) calls [Codeunit 8003 Sub. Contract Renewal Mgt.](https://jonas-paprotka.de/ref/codeunit/8003-sub-contract-renewal-mgt/) `ShowRenewalSalesDocumentForContract`

## ShowRenewalOrder.OnAction

[Line 836](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L836), trigger.

- [840](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L840) calls [Codeunit 8003 Sub. Contract Renewal Mgt.](https://jonas-paprotka.de/ref/codeunit/8003-sub-contract-renewal-mgt/) `ShowRenewalSalesDocumentForContract`

## OverviewOfContractComponents.OnAction

[Line 854](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L854), trigger.

- [860](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L860) calls [Report 8004 Overview Of Contract Comp](https://jonas-paprotka.de/ref/report/8004-overview-of-contract-comp/) `SetIncludeInactiveCustomerContracts`

## Category_Category6.OnAfterGetRecord

[Line 940](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L940), trigger.

- [942](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L942) calls `SetControlVisibility`
- [943](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L943) calls `UpdateShipToBillToGroupVisibility`
- [944](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L944) calls [Table 8052 Customer Subscription Contract](https://jonas-paprotka.de/ref/table/8052-customer-subscription-contract/) `GetDescription`
- [945](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L945) calls `UpdateBillToFieldsEnabled`
- [947](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L947) calls [Table 8052 Customer Subscription Contract](https://jonas-paprotka.de/ref/table/8052-customer-subscription-contract/) `NotReleasedCustomerContractDeferralsExists`
- [948](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L948) calls [Table 8052 Customer Subscription Contract](https://jonas-paprotka.de/ref/table/8052-customer-subscription-contract/) `IsContractTypeSetAsHarmonizedBilling`

## OnNewRecord

[Line 957](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L957), trigger.

- [961](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L961) calls [Table 8052 Customer Subscription Contract](https://jonas-paprotka.de/ref/table/8052-customer-subscription-contract/) `SetSellToCustomerFromFilter`
- [963](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L963) calls `UpdateShipToBillToGroupVisibility`

## OnOpenPage

[Line 966](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L966), trigger.

- [968](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L968) calls `ActivateFields`
- [970](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L970) calls `SetDocNoVisible`

## ActivateFields

[Line 993](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L993), local.

- [995](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L995) calls [Codeunit 365 Format Address](https://jonas-paprotka.de/ref/codeunit/365-format-address/) `UseCounty`
- [996](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L996) calls [Codeunit 365 Format Address](https://jonas-paprotka.de/ref/codeunit/365-format-address/) `UseCounty`
- [997](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L997) calls [Codeunit 365 Format Address](https://jonas-paprotka.de/ref/codeunit/365-format-address/) `UseCounty`

## UpdateShipToBillToGroupVisibility

[Line 1010](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L1010), local.

- [1015](https://jonas-paprotka.de/ref/page/8052-customer-contract/source/#L1015) calls [Codeunit 1302 Customer Mgt.](https://jonas-paprotka.de/ref/codeunit/1302-customer-mgt/) `CalculateShipBillToOptions`

## Source

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

JOP-AL, 2026-11-20.
