{"title":"Codeunit 8023 Create Usage Data Billing, procedures","url":"https://jonas-paprotka.de/ref/codeunit/8023-create-usage-data-billing/procedures/","author":"JOP-AL","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/","subject":"Microsoft Dynamics 365 Business Central","checked":"2026-11-20","changed":"2026-10-10","object":{"type":"codeunit","id":8023,"name":"Create Usage Data Billing","app":"Subscription Billing","versions":"26-29","url":"https://jonas-paprotka.de/ref/codeunit/8023-create-usage-data-billing/","json":"https://jonas-paprotka.de/ref/codeunit/8023-create-usage-data-billing.json"},"aspect":"procedures","total":5,"rows":[{"name":"CollectServiceCommitments","sig":"(var Record Subscription Line, Code[20], Date)","named":"(var TempServiceCommitment: Record \"Subscription Line\" temporary; ServiceObjectNo: Code[20]; SubscriptionEndDate: Date)","returns":"","kind":"procedure","access":"internal","obsolete":null,"range":"26-29","first":26,"last":29,"obsoleteSince":null,"spans":[{"from":26,"to":29,"named":"(var TempServiceCommitment: Record \"Subscription Line\" temporary; ServiceObjectNo: Code[20]; SubscriptionEndDate: Date)","returns":"","kind":"procedure","access":"internal","obsolete":null}]},{"name":"CreateUsageDataBillingFromTempServiceCommitments","sig":"(var Record Subscription Line, Code[20], Integer, Code[20], Date, Date, Decimal, Decimal, Decimal, Decimal, Decimal, Code[10])","named":"(var TempServiceCommitment: Record \"Subscription Line\"; SupplierNo: Code[20]; UsageDataImportEntryNo: Integer; ServiceObjectNo: Code[20]; BillingPeriodStartDate: Date; BillingPeriodEndDate: Date; UnitCost: Decimal; NewQuantity: Decimal; CostAmount: Decimal; UnitPrice: Decimal; NewAmount: Decimal; CurrencyCode: Code[10])","returns":"","kind":"procedure","access":"internal","obsolete":null,"range":"26","first":26,"last":26,"obsoleteSince":null,"spans":[{"from":26,"to":26,"named":"(var TempServiceCommitment: Record \"Subscription Line\"; SupplierNo: Code[20]; UsageDataImportEntryNo: Integer; ServiceObjectNo: Code[20]; BillingPeriodStartDate: Date; BillingPeriodEndDate: Date; UnitCost: Decimal; NewQuantity: Decimal; CostAmount: Decimal; UnitPrice: Decimal; NewAmount: Decimal; CurrencyCode: Code[10])","returns":"","kind":"procedure","access":"internal","obsolete":null}]},{"name":"GetRetryFailedUsageDataImport","sig":"()","named":"()","returns":"Boolean","kind":"procedure","access":"internal","obsolete":null,"range":"26-27","first":26,"last":27,"obsoleteSince":null,"spans":[{"from":26,"to":27,"named":"()","returns":"Boolean","kind":"procedure","access":"internal","obsolete":null}]},{"name":"CreateUsageDataBillingFromTempServiceCommitments","sig":"(var Record Subscription Line, Code[20], Integer, Code[20], Text[80], Text[100], Date, Date, Decimal, Decimal, Decimal, Decimal, Decimal, Code[10])","named":"(var TempServiceCommitment: Record \"Subscription Line\"; SupplierNo: Code[20]; UsageDataImportEntryNo: Integer; ServiceObjectNo: Code[20]; ProductID: Text[80]; ProductName: Text[100]; BillingPeriodStartDate: Date; BillingPeriodEndDate: Date; UnitCost: Decimal; NewQuantity: Decimal; CostAmount: Decimal; UnitPrice: Decimal; NewAmount: Decimal; CurrencyCode: Code[10])","returns":"","kind":"procedure","access":"internal","obsolete":null,"range":"27-28","first":27,"last":28,"obsoleteSince":null,"spans":[{"from":27,"to":28,"named":"(var TempServiceCommitment: Record \"Subscription Line\"; SupplierNo: Code[20]; UsageDataImportEntryNo: Integer; ServiceObjectNo: Code[20]; ProductID: Text[80]; ProductName: Text[100]; BillingPeriodStartDate: Date; BillingPeriodEndDate: Date; UnitCost: Decimal; NewQuantity: Decimal; CostAmount: Decimal; UnitPrice: Decimal; NewAmount: Decimal; CurrencyCode: Code[10])","returns":"","kind":"procedure","access":"internal","obsolete":null}]},{"name":"CreateUsageDataBillingFromTempServiceCommitments","sig":"(var Record Subscription Line, Code[20], Record Usage Data Generic Import)","named":"(var TempServiceCommitment: Record \"Subscription Line\"; SupplierNo: Code[20]; UsageDataGenericImportGlobal: Record \"Usage Data Generic Import\")","returns":"","kind":"procedure","access":"internal","obsolete":null,"range":"29","first":29,"last":29,"obsoleteSince":null,"spans":[{"from":29,"to":29,"named":"(var TempServiceCommitment: Record \"Subscription Line\"; SupplierNo: Code[20]; UsageDataGenericImportGlobal: Record \"Usage Data Generic Import\")","returns":"","kind":"procedure","access":"internal","obsolete":null}]}]}