---
title: "Table 8059 Subscription Line, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/table/8059-subscription-line/points/
object: https://jonas-paprotka.de/ref/table/8059-subscription-line/
app: "Subscription Billing"
major: 29
source: https://jonas-paprotka.de/ref/table/8059-subscription-line/source/
checked: 2026-11-20
changed: 2026-11-17
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/"
---

# Table 8059 Subscription Line, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/table/8059-subscription-line/points/

106 procedures and triggers with a step in src/Apps/W1/Subscription Billing/App/Service Commitments/Tables/SubscriptionLine.Table.al, in source order, read from the text, not from a run.

## Subscription Line Start Date.OnValidate

[Line 57](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L57), trigger.

- [59](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L59) calls `CheckSubscriptionLineStartDateChangeAllowed`
- [60](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L60) calls [Codeunit 8057 Date Formula Management](https://jonas-paprotka.de/ref/codeunit/8057-date-formula-management/) `ErrorIfDateEmpty`
- [61](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L61) calls `UpdateNextBillingDate`
- [62](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L62) calls `CheckServiceDates`
- [63](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L63) calls `RecalculateHarmonizedBillingFieldsOnCustomerContract`
- [64](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L64) calls `UpdateNextPriceUpdate`
- [65](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L65) calls `CalculateSubscriptionDates`

## Subscription Line End Date.OnValidate

[Line 72](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L72), trigger.

- [74](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L74) calls [Codeunit 8057 Date Formula Management](https://jonas-paprotka.de/ref/codeunit/8057-date-formula-management/) `ErrorIfDateEmpty`
- [75](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L75) calls `ErrorIfPlannedServiceCommitmentExists`
- [76](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L76) calls `CheckServiceDates`
- [77](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L77) calls `ClearTerminationPeriodsWhenServiceEnded`
- [78](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L78) calls `RefreshRenewalTerm`

## Calculation Base Amount.OnValidate

[Line 94](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L94), trigger.

- [97](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L97) calls [Table 4 Currency](https://jonas-paprotka.de/ref/table/4-currency/) `InitRoundingPrecision`
- [99](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L99) calls [Table 330 Currency Exchange Rate](https://jonas-paprotka.de/ref/table/330-currency-exchange-rate/) `ExchangeAmtFCYToLCY`
- [104](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L104) calls `CalculatePrice`

## Calculation Base %.OnValidate

[Line 115](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L115), trigger.

- [117](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L117) calls `CalculatePrice`

## Price.OnValidate

[Line 128](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L128), trigger.

- [131](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L131) calls [Table 4 Currency](https://jonas-paprotka.de/ref/table/4-currency/) `Initialize`
- [134](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L134) validates [Table 8059 Subscription Line](https://jonas-paprotka.de/ref/table/8059-subscription-line/) `Discount %`

## Discount %.OnValidate

[Line 148](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L148), trigger.

- [152](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L152) calls `CalculateServiceAmount`

## Discount Amount.OnValidate

[Line 163](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L163), trigger.

- [167](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L167) calls `CalculateServiceAmount`

## Amount.OnValidate

[Line 177](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L177), trigger.

- [179](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L179) calls `CalculateServiceAmount`

## Billing Base Period.OnValidate

[Line 186](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L186), trigger.

- [188](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L188) calls [Codeunit 8057 Date Formula Management](https://jonas-paprotka.de/ref/codeunit/8057-date-formula-management/) `ErrorIfDateFormulaEmpty`
- [189](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L189) calls [Codeunit 8057 Date Formula Management](https://jonas-paprotka.de/ref/codeunit/8057-date-formula-management/) `ErrorIfDateFormulaNegative`
- [190](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L190) calls `CheckRatioBetweenBillingBasePeriodAndRhythm`

## Invoicing via.OnValidate

[Line 196](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L196), trigger.

- [202](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L202) calls `ErrorIfInvoicingViaIsNotContractForDiscount`

## Invoicing Item No..OnValidate

[Line 209](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L209), trigger.

- [213](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L213) calls `ErrorIfInvoicingItemIsNotServiceCommitmentItemForDiscount`

## Notice Period.OnValidate

[Line 230](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L230), trigger.

- [232](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L232) calls `IsNoticePeriodEmpty`
- [235](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L235) calls [Codeunit 8057 Date Formula Management](https://jonas-paprotka.de/ref/codeunit/8057-date-formula-management/) `ErrorIfDateFormulaNegative`
- [238](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L238) calls `CalculateCancellationPossibleUntil`

## Initial Term.OnValidate

[Line 245](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L245), trigger.

- [247](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L247) calls [Codeunit 8057 Date Formula Management](https://jonas-paprotka.de/ref/codeunit/8057-date-formula-management/) `ErrorIfDateFormulaNegative`
- [248](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L248) calls `RefreshRenewalTerm`

## Extension Term.OnValidate

[Line 255](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L255), trigger.

- [259](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L259) calls [Codeunit 8057 Date Formula Management](https://jonas-paprotka.de/ref/codeunit/8057-date-formula-management/) `ErrorIfDateFormulaNegative`

## Billing Rhythm.OnValidate

[Line 265](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L265), trigger.

- [267](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L267) calls [Codeunit 8057 Date Formula Management](https://jonas-paprotka.de/ref/codeunit/8057-date-formula-management/) `ErrorIfDateFormulaEmpty`
- [268](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L268) calls [Codeunit 8057 Date Formula Management](https://jonas-paprotka.de/ref/codeunit/8057-date-formula-management/) `ErrorIfDateFormulaNegative`
- [269](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L269) calls `CheckRatioBetweenBillingBasePeriodAndRhythm`

## Cancellation Possible Until.OnValidate

[Line 276](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L276), trigger.

- [278](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L278) calls `CalculateTermUntilFromCancellationPossibleUntil`

## Term Until.OnValidate

[Line 285](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L285), trigger.

- [287](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L287) calls `CalculateCancellationPossibleUntil`

## Shortcut Dimension 1 Code.OnValidate

[Line 311](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L311), trigger.

- [313](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L313) calls `ValidateShortcutDimCode`

## Shortcut Dimension 2 Code.OnValidate

[Line 324](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L324), trigger.

- [326](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L326) calls `ValidateShortcutDimCode`

## Currency Code.OnValidate

[Line 360](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L360), trigger.

- [366](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L366) calls `UpdateCurrencyFactorAndRecalculateAmountsFromExchRate`

## Discount.OnValidate

[Line 393](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L393), trigger.

- [395](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L395) calls `ErrorIfInvoicingViaIsNotContractForDiscount`
- [396](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L396) calls `ErrorIfInvoicingItemIsNotServiceCommitmentItemForDiscount`
- [397](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L397) calls `ErrorIfDiscountUsedWithUsageBasedBilling`

## Create Contract Deferrals.OnValidate

[Line 413](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L413), trigger.

- [415](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L415) calls `OpenDeferralsExist`

## Price Binding Period.OnValidate

[Line 436](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L436), trigger.

- [438](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L438) calls `UpdateNextPriceUpdate`

## Unit Cost (LCY).OnValidate

[Line 470](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L470), trigger.

- [474](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L474) calls `NoManualEntryOfUnitCostLCYForVendorServCommError`
- [476](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L476) calls [Table 4 Currency](https://jonas-paprotka.de/ref/table/4-currency/) `Initialize`
- [480](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L480) calls [Table 330 Currency Exchange Rate](https://jonas-paprotka.de/ref/table/330-currency-exchange-rate/) `ExchangeAmtLCYToFCY`

## Renewal Term.OnValidate

[Line 499](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L499), trigger.

- [505](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L505) calls [Codeunit 8057 Date Formula Management](https://jonas-paprotka.de/ref/codeunit/8057-date-formula-management/) `ErrorIfDateFormulaNegative`

## Dimension Set ID.OnLookup

[Line 522](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L522), trigger.

- [524](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L524) calls `EditDimensionSet`

## Dimension Set ID.OnValidate

[Line 527](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L527), trigger.

- [529](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L529) calls [Codeunit 408 DimensionManagement](https://jonas-paprotka.de/ref/codeunit/408-dimensionmanagement/) `UpdateGlobalDimFromDimSetID`

## OnModify

[Line 629](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L629), trigger.

- [631](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L631) calls `DisplayErrorIfContractLinesExist`
- [632](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L632) calls `SetUpdateRequiredOnBillingLines`
- [633](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L633) calls `UpdateCustomerContractLineServiceCommitmentDescription`
- [634](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L634) calls `ArchiveServiceCommitment`

## OnDelete

[Line 637](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L637), trigger.

- [639](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L639) calls `DisplayErrorIfStartDateIsDifferentThanNextBillingDate`
- [640](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L640) calls `DisplayErrorIfContractLinesExist`
- [641](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L641) calls `DeleteContractLine`
- [642](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L642) calls `SetUpdateRequiredOnBillingLines`
- [643](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L643) calls `DisconnectBillingLineArchive`
- [644](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L644) calls `DeleteContractPriceUpdateLines`

## CheckServiceDates

[Line 707](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L707), internal.

- [712](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L712) raises `OnBeforeCheckServiceDates`, IsHandled

## DisplayErrorIfContractLinesExist

[Line 727](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L727), local.

- [734](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L734) calls [Table 8062 Cust. Sub. Contract Line](https://jonas-paprotka.de/ref/table/8062-cust-sub-contract-line/) `FindFirstSubscriptionLine`
- [738](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L738) calls [Table 8065 Vend. Sub. Contract Line](https://jonas-paprotka.de/ref/table/8065-vend-sub-contract-line/) `FindFirstSubscriptionLine`

## CalculateSubscriptionDates

[Line 752](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L752), internal.

- [754](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L754) calls `CalculateServiceEndDate`
- [755](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L755) calls `CalculateTermUntilDate`

## CalculateServiceEndDate

[Line 758](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L758), internal.

- [760](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L760) calls `IsInitialTermEmpty`
- [762](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L762) calls `IsExtensionTermEmpty`
- [768](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L768) calls `RefreshRenewalTerm`

## CalculateTermUntilDate

[Line 771](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L771), internal.

- [776](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L776) calls `IsExtensionTermEmpty`
- [778](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L778) calls `IsInitialTermEmpty`
- [782](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L782) calls `IsNoticePeriodEmpty`
- [787](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L787) calls `CalculateCancellationPossibleUntil`

## CalculateTermUntilUsingExtensionTerm

[Line 790](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L790), internal.

- [794](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L794) calls `IsExtensionTermEmpty`
- [805](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L805) calls [Codeunit 8017 Date Time Management](https://jonas-paprotka.de/ref/codeunit/8017-date-time-management/) `IsLastDayOfMonth`
- [806](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L806) calls [Codeunit 8017 Date Time Management](https://jonas-paprotka.de/ref/codeunit/8017-date-time-management/) `MoveDateToLastDayOfMonth`

## CalculateTermUntilFromCancellationPossibleUntil

[Line 810](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L810), local.

- [812](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L812) calls `IsNoticePeriodEmpty`
- [818](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L818) calls [Codeunit 8017 Date Time Management](https://jonas-paprotka.de/ref/codeunit/8017-date-time-management/) `IsLastDayOfMonth`
- [819](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L819) calls [Codeunit 8017 Date Time Management](https://jonas-paprotka.de/ref/codeunit/8017-date-time-management/) `MoveDateToLastDayOfMonth`

## CalculateCancellationPossibleUntil

[Line 822](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L822), internal.

- [824](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L824) calls `IsNoticePeriodEmpty`
- [826](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L826) calls [Codeunit 7600 Calendar Management](https://jonas-paprotka.de/ref/codeunit/7600-calendar-management/) `ReverseDateFormula`
- [828](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L828) calls [Codeunit 8017 Date Time Management](https://jonas-paprotka.de/ref/codeunit/8017-date-time-management/) `IsLastDayOfMonth`
- [829](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L829) calls [Codeunit 8017 Date Time Management](https://jonas-paprotka.de/ref/codeunit/8017-date-time-management/) `MoveDateToLastDayOfMonth`

## CalculatePrice

[Line 846](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L846), internal.

- [849](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L849) validates [Table 8059 Subscription Line](https://jonas-paprotka.de/ref/table/8059-subscription-line/) `Price`
- [851](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L851) validates [Table 8059 Subscription Line](https://jonas-paprotka.de/ref/table/8059-subscription-line/) `Price`
- [853](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L853) calls `CalculateUnitCost`

## CalculateServiceAmount

[Line 856](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L856), internal.

- [862](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L862) calls [Table 4 Currency](https://jonas-paprotka.de/ref/table/4-currency/) `Initialize`
- [896](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L896) calls `SetLCYFields`
- [897](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L897) raises `OnAfterCalculateServiceAmount`

## SetUpdateRequiredOnBillingLines

[Line 900](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L900), internal.

- [908](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L908) validates [Table 8061 Billing Line](https://jonas-paprotka.de/ref/table/8061-billing-line/) `Update Required`
- [909](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L909) writes [Table 8061 Billing Line](https://jonas-paprotka.de/ref/table/8061-billing-line/) Modify

## UpdateNextBillingDate

[Line 913](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L913), internal.

- [924](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L924) calls `GetOriginalInvoicedToDateIfRebillingMetadataExist`
- [927](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L927) raises `OnAfterUpdateNextBillingDate`

## UpdateCustomerContractLineServiceCommitmentDescription

[Line 930](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L930), local.

- [938](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L938) calls [Table 8062 Cust. Sub. Contract Line](https://jonas-paprotka.de/ref/table/8062-cust-sub-contract-line/) `FilterOnServiceObjectContractLineType`
- [939](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L939) writes [Table 8062 Cust. Sub. Contract Line](https://jonas-paprotka.de/ref/table/8062-cust-sub-contract-line/) ModifyAll

## RecalculateAmountsFromCurrencyData

[Line 942](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L942), internal.

- [948](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L948) calls [Table 4 Currency](https://jonas-paprotka.de/ref/table/4-currency/) `Initialize`
- [949](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L949) validates [Table 8059 Subscription Line](https://jonas-paprotka.de/ref/table/8059-subscription-line/) `Calculation Base Amount`
- [949](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L949) calls [Table 330 Currency Exchange Rate](https://jonas-paprotka.de/ref/table/330-currency-exchange-rate/) `ExchangeAmtLCYToFCY`

## ResetAmountsAndCurrencyFromLCY

[Line 952](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L952), internal.

- [959](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L959) calls `SetCurrencyData`

## SetLCYFields

[Line 962](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L962), internal.

- [972](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L972) calls [Table 4 Currency](https://jonas-paprotka.de/ref/table/4-currency/) `Initialize`
- [975](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L975) calls [Table 330 Currency Exchange Rate](https://jonas-paprotka.de/ref/table/330-currency-exchange-rate/) `ExchangeAmtFCYToLCY`
- [976](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L976) calls [Table 330 Currency Exchange Rate](https://jonas-paprotka.de/ref/table/330-currency-exchange-rate/) `ExchangeAmtFCYToLCY`
- [977](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L977) calls [Table 330 Currency Exchange Rate](https://jonas-paprotka.de/ref/table/330-currency-exchange-rate/) `ExchangeAmtFCYToLCY`
- [978](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L978) calls [Table 330 Currency Exchange Rate](https://jonas-paprotka.de/ref/table/330-currency-exchange-rate/) `ExchangeAmtFCYToLCY`
- [980](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L980) calls [Table 330 Currency Exchange Rate](https://jonas-paprotka.de/ref/table/330-currency-exchange-rate/) `ExchangeAmtFCYToLCY`

## UpdateServiceCommitment

[Line 999](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L999), internal.

- [1009](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1009) validates [Table 8057 Subscription Header](https://jonas-paprotka.de/ref/table/8057-subscription-header/) `Quantity`
- [1010](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1010) writes [Table 8057 Subscription Header](https://jonas-paprotka.de/ref/table/8057-subscription-header/) Modify(true)
- [1018](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1018) validates [Table 8057 Subscription Header](https://jonas-paprotka.de/ref/table/8057-subscription-header/) `Variant Code`
- [1019](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1019) writes [Table 8057 Subscription Header](https://jonas-paprotka.de/ref/table/8057-subscription-header/) Modify(true)
- [1024](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1024) validates [Table 8059 Subscription Line](https://jonas-paprotka.de/ref/table/8059-subscription-line/) `Invoicing Item No.`
- [1026](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1026) validates [Table 8059 Subscription Line](https://jonas-paprotka.de/ref/table/8059-subscription-line/) `Subscription Line Start Date`
- [1028](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1028) validates [Table 8059 Subscription Line](https://jonas-paprotka.de/ref/table/8059-subscription-line/) `Subscription Line End Date`
- [1030](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1030) validates [Table 8059 Subscription Line](https://jonas-paprotka.de/ref/table/8059-subscription-line/) `Quantity`
- [1032](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1032) validates [Table 8059 Subscription Line](https://jonas-paprotka.de/ref/table/8059-subscription-line/) `Discount %`
- [1034](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1034) validates [Table 8059 Subscription Line](https://jonas-paprotka.de/ref/table/8059-subscription-line/) `Discount Amount`
- [1036](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1036) validates [Table 8059 Subscription Line](https://jonas-paprotka.de/ref/table/8059-subscription-line/) `Amount`
- [1038](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1038) validates [Table 8059 Subscription Line](https://jonas-paprotka.de/ref/table/8059-subscription-line/) `Calculation Base Amount`
- [1040](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1040) validates [Table 8059 Subscription Line](https://jonas-paprotka.de/ref/table/8059-subscription-line/) `Calculation Base %`
- [1042](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1042) validates [Table 8059 Subscription Line](https://jonas-paprotka.de/ref/table/8059-subscription-line/) `Billing Base Period`
- [1044](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1044) validates [Table 8059 Subscription Line](https://jonas-paprotka.de/ref/table/8059-subscription-line/) `Billing Rhythm`
- [1046](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1046) validates [Table 8059 Subscription Line](https://jonas-paprotka.de/ref/table/8059-subscription-line/) `Cancellation Possible Until`
- [1048](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1048) validates [Table 8059 Subscription Line](https://jonas-paprotka.de/ref/table/8059-subscription-line/) `Term Until`
- [1050](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1050) validates [Table 8059 Subscription Line](https://jonas-paprotka.de/ref/table/8059-subscription-line/) `Discount`
- [1052](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1052) validates [Table 8059 Subscription Line](https://jonas-paprotka.de/ref/table/8059-subscription-line/) `Currency Code`
- [1054](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1054) validates [Table 8059 Subscription Line](https://jonas-paprotka.de/ref/table/8059-subscription-line/) `Exclude from Price Update`
- [1056](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1056) validates [Table 8059 Subscription Line](https://jonas-paprotka.de/ref/table/8059-subscription-line/) `Next Price Update`
- [1058](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1058) validates [Table 8059 Subscription Line](https://jonas-paprotka.de/ref/table/8059-subscription-line/) `Period Calculation`
- [1060](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1060) validates [Table 8059 Subscription Line](https://jonas-paprotka.de/ref/table/8059-subscription-line/) `Notice Period`
- [1062](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1062) validates [Table 8059 Subscription Line](https://jonas-paprotka.de/ref/table/8059-subscription-line/) `Period Calculation`
- [1064](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1064) validates [Table 8059 Subscription Line](https://jonas-paprotka.de/ref/table/8059-subscription-line/) `Unit Cost (LCY)`
- [1066](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1066) validates [Table 8059 Subscription Line](https://jonas-paprotka.de/ref/table/8059-subscription-line/) `Create Contract Deferrals`
- [1068](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1068) validates [Table 8059 Subscription Line](https://jonas-paprotka.de/ref/table/8059-subscription-line/) `Shortcut Dimension 1 Code`
- [1070](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1070) validates [Table 8059 Subscription Line](https://jonas-paprotka.de/ref/table/8059-subscription-line/) `Shortcut Dimension 2 Code`
- [1072](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1072) writes [Table 8059 Subscription Line](https://jonas-paprotka.de/ref/table/8059-subscription-line/) Modify(true)
- [1075](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1075) raises `OnAfterUpdateSubscriptionLine`

## EditDimensionSet

[Line 1078](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1078), internal.

- [1082](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1082) raises `OnBeforeValidateDimensionSetID`
- [1085](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1085) calls [Codeunit 408 DimensionManagement](https://jonas-paprotka.de/ref/codeunit/408-dimensionmanagement/) `EditDimensionSet`
- [1090](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1090) writes [Table 8059 Subscription Line](https://jonas-paprotka.de/ref/table/8059-subscription-line/) Modify
- [1091](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1091) calls `UpdateRelatedVendorServiceCommDimensions`
- [1093](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1093) raises `OnAfterValidateDimensionSetID`

## ValidateShortcutDimCode

[Line 1096](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1096), local.

- [1100](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1100) raises `OnBeforeValidateShortcutDimCode`
- [1102](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1102) calls [Codeunit 408 DimensionManagement](https://jonas-paprotka.de/ref/codeunit/408-dimensionmanagement/) `ValidateShortcutDimValues`
- [1104](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1104) writes [Table 8059 Subscription Line](https://jonas-paprotka.de/ref/table/8059-subscription-line/) Modify
- [1105](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1105) calls `UpdateRelatedVendorServiceCommDimensions`
- [1108](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1108) raises `OnAfterValidateShortcutDimCode`

## SetDefaultDimensions

[Line 1111](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1111), internal.

- [1115](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1115) calls `AddDefaultDimensionSources`
- [1116](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1116) calls [Codeunit 408 DimensionManagement](https://jonas-paprotka.de/ref/codeunit/408-dimensionmanagement/) `GetDefaultDimID`
- [1117](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1117) calls [Codeunit 408 DimensionManagement](https://jonas-paprotka.de/ref/codeunit/408-dimensionmanagement/) `UpdateGlobalDimFromDimSetID`

## ApplyContractDimensions

[Line 1120](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1120), internal.

- [1131](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1131) calls `AddDefaultDimensionSources`
- [1133](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1133) calls [Codeunit 408 DimensionManagement](https://jonas-paprotka.de/ref/codeunit/408-dimensionmanagement/) `GetTableIDsForHigherPriorities`
- [1135](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1135) calls [Codeunit 408 DimensionManagement](https://jonas-paprotka.de/ref/codeunit/408-dimensionmanagement/) `GetRecDefaultDimID`
- [1140](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1140) calls [Codeunit 408 DimensionManagement](https://jonas-paprotka.de/ref/codeunit/408-dimensionmanagement/) `GetCombinedDimensionSetID`
- [1141](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1141) raises `OnAfterGetCombinedDimensionSetID`

## AddDefaultDimensionSources

[Line 1144](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1144), local.

- [1149](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1149) calls [Codeunit 408 DimensionManagement](https://jonas-paprotka.de/ref/codeunit/408-dimensionmanagement/) `AddDimSource`
- [1155](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1155) calls [Codeunit 408 DimensionManagement](https://jonas-paprotka.de/ref/codeunit/408-dimensionmanagement/) `AddDimSource`
- [1157](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1157) calls [Codeunit 408 DimensionManagement](https://jonas-paprotka.de/ref/codeunit/408-dimensionmanagement/) `AddDimSource`

## GetCombinedDimensionSetID

[Line 1161](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1161), internal.

- [1167](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1167) calls [Codeunit 408 DimensionManagement](https://jonas-paprotka.de/ref/codeunit/408-dimensionmanagement/) `GetCombinedDimensionSetID`
- [1168](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1168) raises `OnAfterGetCombinedDimensionSetID`

## UpdateRelatedVendorServiceCommDimensions

[Line 1171](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1171), internal.

- [1179](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1179) calls [Table 8059 Subscription Line](https://jonas-paprotka.de/ref/table/8059-subscription-line/) `FilterOnServiceObjectAndPackage`
- [1182](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1182) calls [Codeunit 408 DimensionManagement](https://jonas-paprotka.de/ref/codeunit/408-dimensionmanagement/) `GetDeltaDimSetID`
- [1183](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1183) calls [Codeunit 408 DimensionManagement](https://jonas-paprotka.de/ref/codeunit/408-dimensionmanagement/) `UpdateGlobalDimFromDimSetID`
- [1185](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1185) writes [Table 8059 Subscription Line](https://jonas-paprotka.de/ref/table/8059-subscription-line/) Modify

## DeleteContractLine

[Line 1196](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1196), local.

- [1208](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1208) writes [Table 8062 Cust. Sub. Contract Line](https://jonas-paprotka.de/ref/table/8062-cust-sub-contract-line/) Delete(true)
- [1213](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1213) writes [Table 8065 Vend. Sub. Contract Line](https://jonas-paprotka.de/ref/table/8065-vend-sub-contract-line/) Delete(true)

## FilterOnServiceObjectAndPackage

[Line 1217](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1217), internal.

- [1219](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1219) calls `FilterOnServiceObjectAndTemplate`

## NewLineForServiceObject

[Line 1223](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1223), internal.

- [1229](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1229) calls [Table 8051 Subscription Contract Setup](https://jonas-paprotka.de/ref/table/8051-subscription-contract-setup/) `CheckPrerequisitesForCreatingManualContractLine`
- [1239](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1239) validates [Table 8059 Subscription Line](https://jonas-paprotka.de/ref/table/8059-subscription-line/) `Subscription Line Start Date`
- [1243](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1243) calls [Table 8059 Subscription Line](https://jonas-paprotka.de/ref/table/8059-subscription-line/) `SetDefaultDimensions`
- [1244](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1244) writes [Table 8059 Subscription Line](https://jonas-paprotka.de/ref/table/8059-subscription-line/) Insert

## InitForServiceObject

[Line 1247](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1247), internal.

- [1252](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1252) calls [Table 8051 Subscription Contract Setup](https://jonas-paprotka.de/ref/table/8051-subscription-contract-setup/) `CheckPrerequisitesForCreatingManualContractLine`
- [1260](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1260) validates [Table 8059 Subscription Line](https://jonas-paprotka.de/ref/table/8059-subscription-line/) `Subscription Line Start Date`
- [1265](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1265) calls [Table 8057 Subscription Header](https://jonas-paprotka.de/ref/table/8057-subscription-header/) `IsItem`
- [1266](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1266) calls [Codeunit 8055 Sub. Contracts Item Management](https://jonas-paprotka.de/ref/codeunit/8055-sub-contracts-item-management/) `IsServiceCommitmentItem`
- [1268](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1268) calls `SetDefaultDimensions`

## UpdateFromCustomerContract

[Line 1271](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1271), internal.

- [1276](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1276) calls `InitCurrencyData`
- [1278](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1278) calls `ApplyContractDimensions`

## UpdateFromVendorContract

[Line 1282](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1282), internal.

- [1287](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1287) calls `InitCurrencyData`
- [1289](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1289) calls `ApplyContractDimensions`

## CopyFromSalesServiceCommitment

[Line 1293](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1293), internal.

- [1320](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1320) raises `OnAfterCopyFromSalesSubscriptionLine`

## UpdateCurrencyFactorAndRecalculateAmountsFromExchRate

[Line 1323](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1323), local.

- [1328](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1328) calls [Codeunit 1281 Update Currency Exchange Rates](https://jonas-paprotka.de/ref/codeunit/1281-update-currency-exchange-rates/) `ExchangeRatesForCurrencyExist`
- [1331](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1331) calls `RecalculateAmountsFromCurrencyData`
- [1333](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1333) calls [Codeunit 1281 Update Currency Exchange Rates](https://jonas-paprotka.de/ref/codeunit/1281-update-currency-exchange-rates/) `ShowMissingExchangeRatesNotification`
- [1338](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1338) calls `RecalculateAmountsFromCurrencyData`

## RecalculateHarmonizedBillingFieldsOnCustomerContract

[Line 1342](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1342), local.

- [1346](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1346) calls `IsPartnerVendor`
- [1351](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1351) calls [Table 8052 Customer Subscription Contract](https://jonas-paprotka.de/ref/table/8052-customer-subscription-contract/) `RecalculateHarmonizedBillingFieldsBasedOnNextBillingDate`

## OpenExchangeSelectionPage

[Line 1369](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1369).

- [1376](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1376) calls [Page 8088 Exchange Rate Selection](https://jonas-paprotka.de/ref/page/8088-exchange-rate-selection/) `SetData`
- [1377](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1377) calls [Page 8088 Exchange Rate Selection](https://jonas-paprotka.de/ref/page/8088-exchange-rate-selection/) `SetIsCalledFromServiceObject`
- [1379](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1379) calls [Page 8088 Exchange Rate Selection](https://jonas-paprotka.de/ref/page/8088-exchange-rate-selection/) `GetData`

## ResetServiceCommitmentCurrencyLCYFromContract

[Line 1386](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1386), internal.

- [1390](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1390) calls [Table 8059 Subscription Line](https://jonas-paprotka.de/ref/table/8059-subscription-line/) `FilterOnContract`
- [1394](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1394) calls [Table 8059 Subscription Line](https://jonas-paprotka.de/ref/table/8059-subscription-line/) `ResetAmountsAndCurrencyFromLCY`
- [1395](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1395) calls [Table 8059 Subscription Line](https://jonas-paprotka.de/ref/table/8059-subscription-line/) `SetUpdateRequiredOnBillingLines`
- [1396](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1396) calls [Table 8059 Subscription Line](https://jonas-paprotka.de/ref/table/8059-subscription-line/) `ArchiveServiceCommitment`
- [1397](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1397) writes [Table 8059 Subscription Line](https://jonas-paprotka.de/ref/table/8059-subscription-line/) Modify

## UpdateAndRecalculateServCommCurrencyFromContract

[Line 1402](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1402), internal.

- [1409](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1409) calls [Table 8059 Subscription Line](https://jonas-paprotka.de/ref/table/8059-subscription-line/) `FilterOnContract`
- [1410](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1410) calls `UpdateCurrencyDataOnServiceCommitments`

## UpdateCurrencyDataOnServiceCommitments

[Line 1413](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1413), internal.

- [1419](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1419) calls [Table 8059 Subscription Line](https://jonas-paprotka.de/ref/table/8059-subscription-line/) `SetCurrencyData`
- [1420](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1420) calls [Table 8059 Subscription Line](https://jonas-paprotka.de/ref/table/8059-subscription-line/) `RecalculateAmountsFromCurrencyData`
- [1421](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1421) calls [Table 8059 Subscription Line](https://jonas-paprotka.de/ref/table/8059-subscription-line/) `SetUpdateRequiredOnBillingLines`
- [1422](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1422) calls [Table 8059 Subscription Line](https://jonas-paprotka.de/ref/table/8059-subscription-line/) `ArchiveServiceCommitment`
- [1423](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1423) writes [Table 8059 Subscription Line](https://jonas-paprotka.de/ref/table/8059-subscription-line/) Modify

## InitCurrencyData

[Line 1433](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1433), local.

- [1445](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1445) calls [Table 330 Currency Exchange Rate](https://jonas-paprotka.de/ref/table/330-currency-exchange-rate/) `ExchangeRate`

## EnsureCalculationBaseAmountExcludesVAT

[Line 1456](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1456), internal.

- [1465](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1465) calls [Table 37 Sales Line](https://jonas-paprotka.de/ref/table/37-sales-line/) `GetVATPct`
- [1467](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1467) calls [Table 4 Currency](https://jonas-paprotka.de/ref/table/4-currency/) `Initialize`
- [1469](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1469) calls [Table 37 Sales Line](https://jonas-paprotka.de/ref/table/37-sales-line/) `GetVATPct`
- [1471](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1471) validates [Table 8059 Subscription Line](https://jonas-paprotka.de/ref/table/8059-subscription-line/) `Calculation Base Amount`

## ErrorIfBillingLineForServiceCommitmentExist

[Line 1474](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1474), internal.

- [1478](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1478) calls [Table 8061 Billing Line](https://jonas-paprotka.de/ref/table/8061-billing-line/) `FilterBillingLineOnServiceCommitment`

## CheckSubscriptionLineStartDateChangeAllowed

[Line 1489](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1489), local.

- [1491](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1491) calls `CheckBillingStateAllowsSubscriptionLineStartDateChange`
- [1492](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1492) raises `OnAfterCheckSubscriptionLineStartDateChangeAllowed`

## CheckBillingStateAllowsSubscriptionLineStartDateChange

[Line 1495](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1495), local.

- [1507](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1507) calls `ErrorIfBillingLineArchiveForServiceCommitmentExist`
- [1508](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1508) calls `ErrorIfBillingLineForServiceCommitmentExist`

## ErrorIfBillingLineArchiveForServiceCommitmentExist

[Line 1530](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1530), internal.

- [1534](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1534) calls [Table 8064 Billing Line Archive](https://jonas-paprotka.de/ref/table/8064-billing-line-archive/) `FilterBillingLineArchiveOnServiceCommitment`

## ArchiveServiceCommitment

[Line 1544](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1544), internal.

- [1563](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1563) calls `CreateServiceCommitmentArchive`

## ArchiveServiceCommitmentFromServiceObject

[Line 1566](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1566), internal.

- [1574](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1574) calls `CreateServiceCommitmentArchive`
- [1577](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1577) writes [Table 8073 Subscription Line Archive](https://jonas-paprotka.de/ref/table/8073-subscription-line-archive/) Modify

## CreateServiceCommitmentArchive

[Line 1581](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1581), internal.

- [1583](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1583) calls `FindServiceCommitmentArchiveCreatedInLessThanMinute`
- [1584](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1584) calls [Table 8073 Subscription Line Archive](https://jonas-paprotka.de/ref/table/8073-subscription-line-archive/) `CopyFromServiceCommitment`
- [1587](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1587) writes [Table 8073 Subscription Line Archive](https://jonas-paprotka.de/ref/table/8073-subscription-line-archive/) Modify
- [1590](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1590) calls [Table 8073 Subscription Line Archive](https://jonas-paprotka.de/ref/table/8073-subscription-line-archive/) `CopyFromServiceCommitment`
- [1594](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1594) writes [Table 8073 Subscription Line Archive](https://jonas-paprotka.de/ref/table/8073-subscription-line-archive/) Insert(true)

## FindServiceCommitmentArchiveCreatedInLessThanMinute

[Line 1598](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1598), local.

- [1600](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1600) calls [Table 8073 Subscription Line Archive](https://jonas-paprotka.de/ref/table/8073-subscription-line-archive/) `FilterOnServiceCommitment`

## CalculateCalculationBaseAmount

[Line 1615](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1615), internal.

- [1626](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1626) calls [Codeunit 8055 Sub. Contracts Item Management](https://jonas-paprotka.de/ref/codeunit/8055-sub-contracts-item-management/) `CreateTempSalesHeader`
- [1627](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1627) calls [Codeunit 8055 Sub. Contracts Item Management](https://jonas-paprotka.de/ref/codeunit/8055-sub-contracts-item-management/) `CreateTempSalesLine`
- [1628](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1628) calls [Codeunit 8055 Sub. Contracts Item Management](https://jonas-paprotka.de/ref/codeunit/8055-sub-contracts-item-management/) `CalculateUnitPrice`
- [1631](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1631) calls [Table 8057 Subscription Header](https://jonas-paprotka.de/ref/table/8057-subscription-header/) `IsItem`
- [1632](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1632) calls [Codeunit 8055 Sub. Contracts Item Management](https://jonas-paprotka.de/ref/codeunit/8055-sub-contracts-item-management/) `CalculateUnitCost`

## RefreshRenewalTerm

[Line 1636](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1636), internal.

- [1641](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1641) validates [Table 8059 Subscription Line](https://jonas-paprotka.de/ref/table/8059-subscription-line/) `Renewal Term`
- [1644](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1644) validates [Table 8059 Subscription Line](https://jonas-paprotka.de/ref/table/8059-subscription-line/) `Renewal Term`

## IsFullyInvoiced

[Line 1657](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1657), internal.

- [1659](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1659) calls `BillingLineExists`

## DisconnectBillingLineArchive

[Line 1679](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1679), local.

- [1683](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1683) calls [Table 8064 Billing Line Archive](https://jonas-paprotka.de/ref/table/8064-billing-line-archive/) `FilterBillingLineArchiveOnServiceCommitment`
- [1688](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1688) writes [Table 8064 Billing Line Archive](https://jonas-paprotka.de/ref/table/8064-billing-line-archive/) Modify

## ModifyExcludeFromPriceUpdateInAllRelatedServiceCommitments

[Line 1704](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1704), internal.

- [1710](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1710) calls [Codeunit 27 Confirm Management](https://jonas-paprotka.de/ref/codeunit/27-confirm-management/) `GetResponse`
- [1710](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1710) calls `GetChangeExcludeFromPriceUpdateQst`
- [1712](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1712) calls [Table 8059 Subscription Line](https://jonas-paprotka.de/ref/table/8059-subscription-line/) `FilterOnContract`
- [1713](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1713) writes [Table 8059 Subscription Line](https://jonas-paprotka.de/ref/table/8059-subscription-line/) ModifyAll

## CalculateUnitCost

[Line 1727](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1727), internal.

- [1737](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1737) validates [Table 8059 Subscription Line](https://jonas-paprotka.de/ref/table/8059-subscription-line/) `Unit Cost (LCY)`
- [1737](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1737) calls [Codeunit 8055 Sub. Contracts Item Management](https://jonas-paprotka.de/ref/codeunit/8055-sub-contracts-item-management/) `CalculateUnitCost`
- [1741](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1741) calls [Table 4 Currency](https://jonas-paprotka.de/ref/table/4-currency/) `Initialize`
- [1743](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1743) validates [Table 8059 Subscription Line](https://jonas-paprotka.de/ref/table/8059-subscription-line/) `Unit Cost (LCY)`
- [1745](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1745) calls [Table 330 Currency Exchange Rate](https://jonas-paprotka.de/ref/table/330-currency-exchange-rate/) `ExchangeAmtFCYToLCY`
- [1750](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1750) validates [Table 8059 Subscription Line](https://jonas-paprotka.de/ref/table/8059-subscription-line/) `Unit Cost (LCY)`

## DeleteContractPriceUpdateLines

[Line 1754](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1754), local.

- [1758](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1758) calls [Table 8004 Sub. Contr. Price Update Line](https://jonas-paprotka.de/ref/table/8004-sub-contr-price-update-line/) `FilterOnServiceCommitment`
- [1759](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1759) writes [Table 8004 Sub. Contr. Price Update Line](https://jonas-paprotka.de/ref/table/8004-sub-contr-price-update-line/) DeleteAll

## UpdateServiceCommitmentFromContractPriceUpdateLine

[Line 1762](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1762), internal.

- [1769](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1769) validates [Table 8059 Subscription Line](https://jonas-paprotka.de/ref/table/8059-subscription-line/) `Calculation Base %`
- [1770](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1770) validates [Table 8059 Subscription Line](https://jonas-paprotka.de/ref/table/8059-subscription-line/) `Calculation Base Amount`
- [1771](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1771) validates [Table 8059 Subscription Line](https://jonas-paprotka.de/ref/table/8059-subscription-line/) `Price`
- [1772](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1772) validates [Table 8059 Subscription Line](https://jonas-paprotka.de/ref/table/8059-subscription-line/) `Amount`
- [1773](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1773) validates [Table 8059 Subscription Line](https://jonas-paprotka.de/ref/table/8059-subscription-line/) `Discount %`
- [1779](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1779) calls `SetSkipArchiving`
- [1780](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1780) writes [Table 8059 Subscription Line](https://jonas-paprotka.de/ref/table/8059-subscription-line/) Modify(true)
- [1781](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1781) calls `SetSkipArchiving`
- [1782](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1782) calls `CreateServiceCommitmentArchive`
- [1783](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1783) raises `OnAfterUpdateServiceCommitmentFromContractPriceUpdateLine`

## UpdateServiceCommitmentFromServiceCommitmentArchive

[Line 1797](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1797), internal.

- [1811](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1811) writes [Table 8059 Subscription Line](https://jonas-paprotka.de/ref/table/8059-subscription-line/) Modify

## UnpostedDocumentExists

[Line 1821](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1821), internal.

- [1825](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1825) calls [Table 8061 Billing Line](https://jonas-paprotka.de/ref/table/8061-billing-line/) `FilterBillingLineOnContractLine`

## BillingLineExists

[Line 1830](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1830), internal.

- [1834](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1834) calls [Table 8061 Billing Line](https://jonas-paprotka.de/ref/table/8061-billing-line/) `FilterBillingLineOnContractLine`

## DisconnectContractLine

[Line 1838](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1838), internal.

- [1844](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1844) writes [Table 8059 Subscription Line](https://jonas-paprotka.de/ref/table/8059-subscription-line/) Modify

## DeleteOrDisconnectServiceCommitment

[Line 1848](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1848), internal.

- [1855](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1855) writes [Table 8059 Subscription Line](https://jonas-paprotka.de/ref/table/8059-subscription-line/) Delete
- [1856](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1856) calls `DeleteContractPriceUpdateLines`
- [1858](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1858) calls [Table 8057 Subscription Header](https://jonas-paprotka.de/ref/table/8057-subscription-header/) `DeleteServiceObjectFromContract`
- [1860](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1860) calls `DisconnectContractLine`

## IsUsageDataBillingFound

[Line 1863](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1863), internal.

- [1865](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1865) calls `SetUsageDataBillingFilters`

## SetUsageDataBillingFilters

[Line 1869](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1869), internal.

- [1876](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1876) raises `OnAfterSetUsageDataBillingFilters`

## GetUsageDataChargeEndDateCrossingPeriodEnd

[Line 1884](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1884), internal.

- [1888](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1888) calls `IsUsageBasedBillingValid`

## GetOriginalInvoicedToDateIfRebillingMetadataExist

[Line 1901](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1901), local.

- [1907](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1907) calls [Table 8021 Usage Data Billing Metadata](https://jonas-paprotka.de/ref/table/8021-usage-data-billing-metadata/) `FilterOnServiceCommitment`

## GetSupplierChargeEndDateIfRebillingMetadataExist

[Line 1915](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1915), internal.

- [1921](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1921) calls [Table 8021 Usage Data Billing Metadata](https://jonas-paprotka.de/ref/table/8021-usage-data-billing-metadata/) `FilterOnServiceCommitment`

## GetLastSupplierChargeEndDateIfMetadataExist

[Line 1929](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1929), internal.

- [1933](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1933) calls [Table 8021 Usage Data Billing Metadata](https://jonas-paprotka.de/ref/table/8021-usage-data-billing-metadata/) `FilterOnServiceCommitment`

## GetSupplierChargeStartDateIfRebillingMetadataExist

[Line 1938](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1938), internal.

- [1944](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1944) calls [Table 8021 Usage Data Billing Metadata](https://jonas-paprotka.de/ref/table/8021-usage-data-billing-metadata/) `FilterOnServiceCommitment`

## ShowUsageDataBillingMetadata

[Line 1953](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1953), internal.

- [1958](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1958) runs [Page 8096 Usage Data Billing Metadata](https://jonas-paprotka.de/ref/page/8096-usage-data-billing-metadata/)

## UnitPriceForPeriod

[Line 1961](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1961).

- [1967](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1967) calls `UnitPriceAndCostForPeriod`

## UnitPriceAndCostForPeriod

[Line 1970](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1970), internal.

- [1980](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1980) calls `GetBillingPeriodRatio`
- [1992](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L1992) calls `CalculatePeriodCountAndDaysCount`

## CalculatePeriodCountAndDaysCount

[Line 2004](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L2004), internal.

- [2018](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L2018) calls [Codeunit 8057 Date Formula Management](https://jonas-paprotka.de/ref/codeunit/8057-date-formula-management/) `FindDateFormulaType`
- [2022](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L2022) calls `CalculateNextToDate`
- [2029](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L2029) calls `SinglePeriodDaysCount`

## GetBillingPeriodRatio

[Line 2036](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L2036), internal.

- [2043](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L2043) calls [Codeunit 8057 Date Formula Management](https://jonas-paprotka.de/ref/codeunit/8057-date-formula-management/) `FindDateFormulaTypeForComparison`
- [2044](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L2044) calls [Codeunit 8057 Date Formula Management](https://jonas-paprotka.de/ref/codeunit/8057-date-formula-management/) `FindDateFormulaTypeForComparison`

## CalculateNextToDate

[Line 2048](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L2048), internal.

- [2058](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L2058) calls `GetBillingReferenceDate`
- [2058](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L2058) calls `GetBillingReferenceDate`

## NoManualEntryOfUnitCostLCYForVendorServCommError

[Line 2096](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L2096), local.

- [2098](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L2098) calls `IsPartnerVendor`

## CheckRatioBetweenBillingBasePeriodAndRhythm

[Line 2125](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L2125), local.

- [2129](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L2129) calls [Codeunit 8057 Date Formula Management](https://jonas-paprotka.de/ref/codeunit/8057-date-formula-management/) `CheckIntegerRatioForDateFormulas`

## DisplayErrorIfStartDateIsDifferentThanNextBillingDate

[Line 2132](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L2132), local.

- [2134](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L2134) calls `IsContractLineClosed`

## IsContractLineClosed

[Line 2140](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L2140), local.

- [2147](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L2147) calls [Table 8062 Cust. Sub. Contract Line](https://jonas-paprotka.de/ref/table/8062-cust-sub-contract-line/) `FindFirstSubscriptionLine`
- [2150](https://jonas-paprotka.de/ref/table/8059-subscription-line/source/#L2150) calls [Table 8065 Vend. Sub. Contract Line](https://jonas-paprotka.de/ref/table/8065-vend-sub-contract-line/) `FindFirstSubscriptionLine`

## Source

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

JOP-AL, 2026-11-20.
