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

JOP-AL, https://jonas-paprotka.de/ref/table/8061-billing-line/points/

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

## OnDelete

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

- [272](https://jonas-paprotka.de/ref/table/8061-billing-line/source/#L272) calls `FindFirstBillingLineForServiceCommitment`
- [274](https://jonas-paprotka.de/ref/table/8061-billing-line/source/#L274) calls `ResetServiceCommitmentNextBillingDate`
- [277](https://jonas-paprotka.de/ref/table/8061-billing-line/source/#L277) calls `RecalculateCustomerContractHarmonizedBillingFields`
- [279](https://jonas-paprotka.de/ref/table/8061-billing-line/source/#L279) writes [Table 8006 Usage Data Billing](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/) ModifyAll

## ResetServiceCommitmentNextBillingDate

[Line 297](https://jonas-paprotka.de/ref/table/8061-billing-line/source/#L297).

- [301](https://jonas-paprotka.de/ref/table/8061-billing-line/source/#L301) calls `GetServiceCommitment`
- [304](https://jonas-paprotka.de/ref/table/8061-billing-line/source/#L304) raises `OnBeforeUpdateNextBillingDateInResetSubscriptionLineNextBillingDate`
- [306](https://jonas-paprotka.de/ref/table/8061-billing-line/source/#L306) calls [Table 8059 Subscription Line](https://jonas-paprotka.de/ref/table/8059-subscription-line/) `UpdateNextBillingDate`
- [308](https://jonas-paprotka.de/ref/table/8061-billing-line/source/#L308) calls [Table 8059 Subscription Line](https://jonas-paprotka.de/ref/table/8059-subscription-line/) `UpdateNextBillingDate`
- [311](https://jonas-paprotka.de/ref/table/8061-billing-line/source/#L311) calls `UpdateNextBillingDateFromUsageDataMetadata`
- [312](https://jonas-paprotka.de/ref/table/8061-billing-line/source/#L312) writes [Table 8059 Subscription Line](https://jonas-paprotka.de/ref/table/8059-subscription-line/) Modify

## GetSalesDocumentTypeForContractNo

[Line 315](https://jonas-paprotka.de/ref/table/8061-billing-line/source/#L315), internal.

- [319](https://jonas-paprotka.de/ref/table/8061-billing-line/source/#L319) calls `GetServiceAmountForContract`
- [320](https://jonas-paprotka.de/ref/table/8061-billing-line/source/#L320) calls `GetSalesDocumentTypeForAmount`

## GetPurchaseDocumentTypeForContractNo

[Line 323](https://jonas-paprotka.de/ref/table/8061-billing-line/source/#L323), internal.

- [327](https://jonas-paprotka.de/ref/table/8061-billing-line/source/#L327) calls `GetServiceAmountForContract`
- [328](https://jonas-paprotka.de/ref/table/8061-billing-line/source/#L328) calls `GetPurchaseDocumentTypeForAmount`

## GetSalesDocumentTypeForCustomerNo

[Line 342](https://jonas-paprotka.de/ref/table/8061-billing-line/source/#L342), internal.

- [346](https://jonas-paprotka.de/ref/table/8061-billing-line/source/#L346) calls `GetServiceAmountForPartnerNo`
- [347](https://jonas-paprotka.de/ref/table/8061-billing-line/source/#L347) calls `GetSalesDocumentTypeForAmount`

## GetPurchaseDocumentTypeForVendorNo

[Line 350](https://jonas-paprotka.de/ref/table/8061-billing-line/source/#L350), internal.

- [354](https://jonas-paprotka.de/ref/table/8061-billing-line/source/#L354) calls `GetServiceAmountForPartnerNo`
- [355](https://jonas-paprotka.de/ref/table/8061-billing-line/source/#L355) calls `GetPurchaseDocumentTypeForAmount`

## OpenSalesDocumentCard

[Line 435](https://jonas-paprotka.de/ref/table/8061-billing-line/source/#L435), local.

- [441](https://jonas-paprotka.de/ref/table/8061-billing-line/source/#L441) raises `OnBeforeOpenSalesDocumentCard`, IsHandled
- [444](https://jonas-paprotka.de/ref/table/8061-billing-line/source/#L444) calls `GetSalesDocumentTypeFromBillingDocumentType`
- [445](https://jonas-paprotka.de/ref/table/8061-billing-line/source/#L445) calls [Codeunit 700 Page Management](https://jonas-paprotka.de/ref/codeunit/700-page-management/) `PageRunModal`

## OpenPurchaseDocumentCard

[Line 448](https://jonas-paprotka.de/ref/table/8061-billing-line/source/#L448), local.

- [452](https://jonas-paprotka.de/ref/table/8061-billing-line/source/#L452) calls `GetPurchaseDocumentTypeFromBillingDocumentType`
- [453](https://jonas-paprotka.de/ref/table/8061-billing-line/source/#L453) calls [Codeunit 700 Page Management](https://jonas-paprotka.de/ref/codeunit/700-page-management/) `PageRunModal`

## OpenDocumentCard

[Line 456](https://jonas-paprotka.de/ref/table/8061-billing-line/source/#L456), internal.

- [461](https://jonas-paprotka.de/ref/table/8061-billing-line/source/#L461) calls `OpenSalesDocumentCard`
- [463](https://jonas-paprotka.de/ref/table/8061-billing-line/source/#L463) calls `OpenPurchaseDocumentCard`

## FilterBillingLineOnContractLine

[Line 473](https://jonas-paprotka.de/ref/table/8061-billing-line/source/#L473).

- [475](https://jonas-paprotka.de/ref/table/8061-billing-line/source/#L475) calls `FilterBillingLineOnContract`

## RecalculateCustomerContractHarmonizedBillingFields

[Line 484](https://jonas-paprotka.de/ref/table/8061-billing-line/source/#L484), local.

- [488](https://jonas-paprotka.de/ref/table/8061-billing-line/source/#L488) calls `IsPartnerVendor`
- [491](https://jonas-paprotka.de/ref/table/8061-billing-line/source/#L491) calls [Table 8052 Customer Subscription Contract](https://jonas-paprotka.de/ref/table/8052-customer-subscription-contract/) `RecalculateHarmonizedBillingFieldsBasedOnNextBillingDate`

## UpdateNextBillingDateFromUsageDataMetadata

[Line 534](https://jonas-paprotka.de/ref/table/8061-billing-line/source/#L534), local.

- [540](https://jonas-paprotka.de/ref/table/8061-billing-line/source/#L540) calls [Table 8059 Subscription Line](https://jonas-paprotka.de/ref/table/8059-subscription-line/) `IsUsageBasedBillingValid`
- [542](https://jonas-paprotka.de/ref/table/8061-billing-line/source/#L542) calls [Table 8006 Usage Data Billing](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/) `FilterOnDocumentTypeAndDocumentNo`
- [542](https://jonas-paprotka.de/ref/table/8061-billing-line/source/#L542) calls [Codeunit 8024 Usage Based Doc. Type Conv.](https://jonas-paprotka.de/ref/codeunit/8024-usage-based-doc-type-conv/) `ConvertRecurringBillingDocTypeToUsageBasedBillingDocType`
- [546](https://jonas-paprotka.de/ref/table/8061-billing-line/source/#L546) calls [Table 8059 Subscription Line](https://jonas-paprotka.de/ref/table/8059-subscription-line/) `GetSupplierChargeStartDateIfRebillingMetadataExist`

## Source

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

JOP-AL, 2026-11-20.
