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

JOP-AL, https://jonas-paprotka.de/ref/table/8006-usage-data-billing/points/

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

## Processing Status.OnValidate

[Line 72](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L72), trigger.

- [75](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L75) calls `SetReason`

## Reason (Preview).OnLookup

[Line 96](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L96), trigger.

- [98](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L98) calls `ShowReason`

## OnDelete

[Line 337](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L337), trigger.

- [339](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L339) calls `IsInvoiced`
- [341](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L341) calls `RevertServiceCommitmentNextBillingDateIfRebillingMetadataExist`
- [342](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L342) calls `DeleteUsageDataBillingMetadata`

## DeleteUsageDataBillingMetadata

[Line 345](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L345), local.

- [350](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L350) writes [Table 8021 Usage Data Billing Metadata](https://jonas-paprotka.de/ref/table/8021-usage-data-billing-metadata/) DeleteAll

## RevertServiceCommitmentNextBillingDateIfRebillingMetadataExist

[Line 353](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L353), local.

- [358](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L358) calls [Table 8021 Usage Data Billing Metadata](https://jonas-paprotka.de/ref/table/8021-usage-data-billing-metadata/) `FilterOnServiceCommitment`
- [364](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L364) writes [Table 8059 Subscription Line](https://jonas-paprotka.de/ref/table/8059-subscription-line/) Modify

## SetReason

[Line 367](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L367), internal.

- [378](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L378) calls [Codeunit 8021 Text Management](https://jonas-paprotka.de/ref/codeunit/8021-text-management/) `WriteBlobText`

## InitFrom

[Line 383](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L383), internal.

- [395](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L395) calls `UpdateChargedPeriod`

## AlignContractCurrency

[Line 398](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L398), internal.

- [403](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L403) calls `IsPartnerVendor`
- [404](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L404) calls `GetVendorContractCurrencyInfo`
- [406](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L406) calls `GetCustomerContractCurrencyInfo`
- [413](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L413) calls `SetReason`

## CalculateAmounts

[Line 441](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L441), internal.

- [449](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L449) calls [Table 4 Currency](https://jonas-paprotka.de/ref/table/4-currency/) `InitRoundingPrecision`
- [453](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L453) calls `DeriveAndConvertAmounts`
- [457](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L457) calls `IsPartnerCustomer`
- [458](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L458) calls `DeriveAndConvertAmounts`

## DeriveAndConvertAmounts

[Line 464](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L464), local.

- [473](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L473) calls [Table 330 Currency Exchange Rate](https://jonas-paprotka.de/ref/table/330-currency-exchange-rate/) `ExchangeAmtFCYToFCY`
- [474](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L474) calls [Table 330 Currency Exchange Rate](https://jonas-paprotka.de/ref/table/330-currency-exchange-rate/) `ExchangeAmtFCYToFCY`

## FilterOnUsageDataImportAndServiceCommitment

[Line 478](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L478), internal.

- [481](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L481) calls `FilterOnServiceCommitment`

## ShowReason

[Line 499](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L499), internal.

- [506](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L506) calls [Codeunit 8021 Text Management](https://jonas-paprotka.de/ref/codeunit/8021-text-management/) `ShowFieldText`

## GetReason

[Line 509](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L509), internal.

- [516](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L516) calls [Codeunit 8021 Text Management](https://jonas-paprotka.de/ref/codeunit/8021-text-management/) `ReadBlobText`

## ShowRelatedDocuments

[Line 519](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L519), internal.

- [525](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L525) calls `MarkAndOpenCustomerContracts`
- [527](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L527) calls `MarkAndOpenVendorContracts`
- [530](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L530) calls `MarkAndOpenSalesInvoices`
- [532](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L532) calls `MarkAndOpenPurchaseInvoices`
- [535](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L535) calls `MarkAndOpenPostedSalesInvoices`
- [537](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L537) calls `MarkAndOpenPostedPurchaseInvoices`

## MarkAndOpenCustomerContracts

[Line 541](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L541), local.

- [553](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L553) runs [Page 8053 Customer Contracts](https://jonas-paprotka.de/ref/page/8053-customer-contracts/)

## MarkAndOpenVendorContracts

[Line 556](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L556), local.

- [568](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L568) runs [Page 8071 Vendor Contracts](https://jonas-paprotka.de/ref/page/8071-vendor-contracts/)

## MarkAndOpenSalesInvoices

[Line 571](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L571), local.

- [575](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L575) calls `MarkSalesHeaderFromUsageDataBilling`
- [577](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L577) runs [Page 9301 Sales Invoice List](https://jonas-paprotka.de/ref/page/9301-sales-invoice-list/)

## MarkAndOpenPurchaseInvoices

[Line 580](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L580), local.

- [584](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L584) calls `MarkPurchaseHeaderFromUsageDataBilling`
- [586](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L586) runs [Page 9308 Purchase Invoices](https://jonas-paprotka.de/ref/page/9308-purchase-invoices/)

## MarkAndOpenPostedSalesInvoices

[Line 589](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L589), local.

- [593](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L593) calls `MarkSalesInvHeaderFromUsageDataBilling`
- [595](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L595) runs [Page 143 Posted Sales Invoices](https://jonas-paprotka.de/ref/page/143-posted-sales-invoices/)

## MarkAndOpenPostedPurchaseInvoices

[Line 598](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L598), local.

- [602](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L602) calls `MarkPurchInvHeaderFromUsageDataBilling`
- [604](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L604) runs [Page 146 Posted Purchase Invoices](https://jonas-paprotka.de/ref/page/146-posted-purchase-invoices/)

## SaveDocumentValues

[Line 662](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L662), internal.

- [668](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L668) writes [Table 8006 Usage Data Billing](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/) Modify
- [669](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L669) raises `OnAfterSaveDocumentValues`

## FilterDocumentWithLine

[Line 689](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L689), internal.

- [691](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L691) calls `FilterOnDocumentTypeAndDocumentNo`

## ShowForContractLine

[Line 710](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L710), internal.

- [712](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L712) calls `FilterContractLine`
- [713](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L713) runs [Page 8035 Usage Data Billings](https://jonas-paprotka.de/ref/page/8035-usage-data-billings/)

## ShowForDocuments

[Line 716](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L716), internal.

- [718](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L718) calls `FilterDocumentWithLine`
- [719](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L719) runs [Page 8035 Usage Data Billings](https://jonas-paprotka.de/ref/page/8035-usage-data-billings/)

## ShowForSalesDocuments

[Line 722](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L722), internal.

- [724](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L724) calls `ShowForDocuments`
- [724](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L724) calls [Codeunit 8024 Usage Based Doc. Type Conv.](https://jonas-paprotka.de/ref/codeunit/8024-usage-based-doc-type-conv/) `ConvertSalesDocTypeToUsageBasedBillingDocType`

## ShowForPurchaseDocuments

[Line 727](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L727), internal.

- [729](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L729) calls `ShowForDocuments`
- [729](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L729) calls [Codeunit 8024 Usage Based Doc. Type Conv.](https://jonas-paprotka.de/ref/codeunit/8024-usage-based-doc-type-conv/) `ConvertPurchaseDocTypeToUsageBasedBillingDocType`

## ShowForRecurringBilling

[Line 732](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L732), internal.

- [734](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L734) calls `FilterBillingLine`
- [734](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L734) calls [Codeunit 8024 Usage Based Doc. Type Conv.](https://jonas-paprotka.de/ref/codeunit/8024-usage-based-doc-type-conv/) `ConvertRecurringBillingDocTypeToUsageBasedBillingDocType`
- [735](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L735) runs [Page 8035 Usage Data Billings](https://jonas-paprotka.de/ref/page/8035-usage-data-billings/)

## ShowForServiceCommitments

[Line 738](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L738), internal.

- [740](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L740) calls `FilterServiceCommitmentLine`
- [741](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L741) runs [Page 8035 Usage Data Billings](https://jonas-paprotka.de/ref/page/8035-usage-data-billings/)

## ExistForContractLine

[Line 744](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L744), internal.

- [746](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L746) calls `FilterContractLine`

## ExistForDocuments

[Line 750](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L750), internal.

- [752](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L752) calls `FilterDocumentWithLine`

## ExistForSalesDocuments

[Line 756](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L756), internal.

- [758](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L758) calls `ExistForDocuments`
- [758](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L758) calls [Codeunit 8024 Usage Based Doc. Type Conv.](https://jonas-paprotka.de/ref/codeunit/8024-usage-based-doc-type-conv/) `ConvertSalesDocTypeToUsageBasedBillingDocType`

## ExistForPurchaseDocuments

[Line 761](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L761), internal.

- [763](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L763) calls `ExistForDocuments`
- [763](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L763) calls [Codeunit 8024 Usage Based Doc. Type Conv.](https://jonas-paprotka.de/ref/codeunit/8024-usage-based-doc-type-conv/) `ConvertPurchaseDocTypeToUsageBasedBillingDocType`

## ExistForRecurringBilling

[Line 766](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L766), internal.

- [768](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L768) calls `FilterBillingLine`
- [768](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L768) calls [Codeunit 8024 Usage Based Doc. Type Conv.](https://jonas-paprotka.de/ref/codeunit/8024-usage-based-doc-type-conv/) `ConvertRecurringBillingDocTypeToUsageBasedBillingDocType`

## ExistForServiceCommitments

[Line 772](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L772), internal.

- [774](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L774) calls `FilterServiceCommitmentLine`

## InsertMetadata

[Line 790](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L790), internal.

- [796](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L796) calls [Table 8021 Usage Data Billing Metadata](https://jonas-paprotka.de/ref/table/8021-usage-data-billing-metadata/) `InsertFromUsageDataBilling`
- [798](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L798) writes [Table 8021 Usage Data Billing Metadata](https://jonas-paprotka.de/ref/table/8021-usage-data-billing-metadata/) ModifyAll

## SetMetadataAsInvoiced

[Line 801](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L801), internal.

- [810](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L810) writes [Table 8021 Usage Data Billing Metadata](https://jonas-paprotka.de/ref/table/8021-usage-data-billing-metadata/) ModifyAll

## GetPrintoutDescription

[Line 818](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L818).

- [820](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L820) calls `ShouldPrintProductName`
- [824](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L824) raises `OnAfterGetPrintoutDescription`

## ShouldPrintProductName

[Line 827](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L827).

- [835](https://jonas-paprotka.de/ref/table/8006-usage-data-billing/source/#L835) raises `OnAfterShouldPrintProductName`

## Source

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

JOP-AL, 2026-11-20.
