---
title: "Table 8068 Sales Subscription Line"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/table/8068-sales-subscription-line/
type: table
id: 8068
name: "Sales Subscription Line"
app: "Subscription Billing"
namespace: Microsoft.SubscriptionBilling
versions: "26-29"
build: 29.0.54011.55644
countries: "W1, DE, US"
source: "https://jonas-paprotka.de/ref/table/8068-sales-subscription-line/source/?v=28 https://jonas-paprotka.de/ref/table/8068-sales-subscription-line/source/"
checked: 2026-11-20
changed: 2026-10-06
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 8068 Sales Subscription Line

JOP-AL, https://jonas-paprotka.de/ref/table/8068-sales-subscription-line/

| | |
| --- | --- |
| App | Subscription Billing |
| Namespace | Microsoft.SubscriptionBilling |
| Versions | 26-29 |
| Minors | W1 26.0-29.0; DE 26.0-29.0; US 26.0-29.0, [every minor](https://jonas-paprotka.de/ref/table/8068-sales-subscription-line/editions.json) |
| Source file | Sales Service Commitments/Tables/SalesSubscriptionLine.Table.al |

## Fields

| Id | Name | Type | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| 1 | Document Type | Enum Sales Document Type | 26-29 | - | - |
| 2 | Document No. | Code[20] | 26-29 | - | - |
| 3 | Document Line No. | Integer | 26-29 | - | - |
| 4 | Line No. | Integer | 26-29 | - | - |
| 10 | Item No. | Code[20] | 26-29 | - | - |
| 11 | Item Description | Text[100] | 26-29 | - | - |
| 12 | Partner | Enum Service Partner | 26-29 | - | - |
| 13 | Description | Text[100] | 26-29 | - | - |
| 14 | Calculation Base Type | Enum Calculation Base Type | 26-29 | - | - |
| 15 | Calculation Base Amount | Decimal | 26-29 | - | - |
| 16 | Calculation Base % | Decimal | 26-29 | - | - |
| 17 | Price | Decimal | 26-29 | - | - |
| 18 | Discount % | Decimal | 26-29 | - | - |
| 19 | Discount Amount | Decimal | 26-29 | - | - |
| 20 | Amount | Decimal | 26-29 | - | - |
| 21 | Sub. Line Start Formula | DateFormula | 26-29 | - | - |
| 22 | Agreed Sub. Line Start Date | Date | 26-29 | - | - |
| 23 | Initial Term | DateFormula | 26-29 | - | - |
| 24 | Notice Period | DateFormula | 26-29 | - | - |
| 25 | Extension Term | DateFormula | 26-29 | - | - |
| 26 | Billing Base Period | DateFormula | 26-29 | - | - |
| 27 | Billing Rhythm | DateFormula | 26-29 | - | - |
| 28 | Invoicing via | Enum Invoicing Via | 26-29 | - | - |
| 30 | Template | Code[20] | 26-29 | - | - |
| 31 | Subscription Package Code | Code[20] | 26-29 | - | - |
| 32 | Customer Price Group | Code[10] | 26-29 | - | - |
| 33 | Discount | Boolean | 26-29 | - | - |
| 40 | Create Contract Deferrals | Enum Create Contract Deferrals | 26-29 | - | - |
| 50 | Subscription Header No. | Code[20] | 26-29 | - | - |
| 51 | Subscription Line Entry No. | Integer | 26-29 | - | - |
| 54 | Price Binding Period | DateFormula | 26-29 | - | - |
| 59 | Period Calculation | Enum Period Calculation | 26-29 | - | - |
| 60 | Linked to No. | Code[20] | 26-29 | - | - |
| 61 | Linked to Line No. | Integer | 26-29 | - | - |
| 62 | Process | Enum Process | 26-29 | - | - |
| 100 | Unit Cost | Decimal | 26-29 | - | - |
| 101 | Unit Cost (LCY) | Decimal | 26-29 | - | - |
| 102 | Currency Code | Code[10] | 27-29 | - | - |
| 8000 | Usage Based Billing | Boolean | 26-29 | - | - |
| 8001 | Usage Based Pricing | Enum Usage Based Pricing | 26-29 | - | - |
| 8002 | Pricing Unit Cost Surcharge % | Decimal | 26-29 | - | - |

## Keys

| Name | Fields | Sum fields | Versions |
| --- | --- | --- | --- |
| PK, clustered | Line No. | - | 26-29 |
| SK1 | Document Type, Document No., Document Line No., Subscription Package Code | - | 26-29 |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| FilterOnSalesLine | (SourceSalesLine: Record "Sales Line") | - | public | 26-29 | - | - |
| FilterOnDocument | (SalesDocumentType: Enum "Sales Document Type"; DocumentNo: Code[20]) | - | internal | 26-29 | - | - |
| InitRecord | (SourceSalesLine: Record "Sales Line") | - | internal | 26-29 | - | - |
| SetDocumentFields | (DocType: Enum "Sales Document Type"; DocNo: Code[20]; DocLineNo: Integer) | - | internal | 26-29 | - | - |
| CalculateCalculationBaseAmount | () | - | public | 26-29 | - | - |
| CalcVATAmountLines | (var SalesHeader: Record "Sales Header"; var TempSalesServiceCommitmentBuff: Record "Sales Service Commitment Buff." temporary; var UniqueRhythmDictionary: Dictionary of [Code[20], Text]) | - | internal | 26-29 | - | - |
| IsOnlyRemainingLineForContractRenewalInDocument | () | Boolean | internal | 26-29 | - | - |
| CalculateUnitCost | () | - | internal | 26-29 | - | - |
| SetSalesLine | (var NewSalesLine: Record "Sales Line") | - | public | 27-29 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnCalculateBaseTypeElseCaseOnCalculateCalculationBaseAmountCustomer | (SalesSubscriptionLine: Record "Sales Subscription Line"; SalesLine: Record "Sales Line"; var CalculatedBaseAmount: Decimal; var IsHandled: Boolean) | 26-29 | - | - |
| Integration event | OnCalculateBaseTypeElseCaseOnCalculateCalculationBaseAmountVendor | (SalesSubscriptionLine: Record "Sales Subscription Line"; SalesLine: Record "Sales Line"; var CalculatedBaseAmount: Decimal; var IsHandled: Boolean) | 26-29 | - | - |
| Integration event | OnBeforeCreateVATAmountLineForSalesSubscriptionLine | (SalesSubscriptionLine: Record "Sales Subscription Line"; var IsHandled: Boolean) | 26-29 | - | - |
| Integration event | OnAfterGetSalesLine | (var SalesSubscriptionLine: Record "Sales Subscription Line"; var SalesLine: Record "Sales Line") | 26-29 | - | - |
| Integration event | OnBeforeCalculateCalculationBaseAmount | (var SalesLine: Record "Sales Line"; var SalesSubscriptionLine: Record "Sales Subscription Line"; var IsHandled: Boolean) | 26-29 | - | - |
| Integration event | OnAfterCalculateCalculationBaseAmount | (var SalesLine: Record "Sales Line"; var SalesSubscriptionLine: Record "Sales Subscription Line") | 26-29 | - | - |

## Trigger events

| Name | Parameters | ElementName | Docs |
| --- | --- | --- | --- |
| OnBeforeInsertEvent | (var Rec: Record "Sales Subscription Line"; RunTrigger: Boolean) | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onbeforeinsertevent-table-trigger/ |
| OnAfterInsertEvent | (var Rec: Record "Sales Subscription Line"; RunTrigger: Boolean) | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onafterinsertevent-table-trigger/ |
| OnBeforeModifyEvent | (var Rec: Record "Sales Subscription Line"; var xRec: Record "Sales Subscription Line"; RunTrigger: Boolean) | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onbeforemodifyevent-table-trigger/ |
| OnAfterModifyEvent | (var Rec: Record "Sales Subscription Line"; var xRec: Record "Sales Subscription Line"; RunTrigger: Boolean) | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onaftermodifyevent-table-trigger/ |
| OnBeforeDeleteEvent | (var Rec: Record "Sales Subscription Line"; RunTrigger: Boolean) | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onbeforedeleteevent-table-trigger/ |
| OnAfterDeleteEvent | (var Rec: Record "Sales Subscription Line"; RunTrigger: Boolean) | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onafterdeleteevent-table-trigger/ |
| OnBeforeRenameEvent | (var Rec: Record "Sales Subscription Line"; var xRec: Record "Sales Subscription Line"; RunTrigger: Boolean) | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onbeforerenameevent-table-trigger/ |
| OnAfterRenameEvent | (var Rec: Record "Sales Subscription Line"; var xRec: Record "Sales Subscription Line"; RunTrigger: Boolean) | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onafterrenameevent-table-trigger/ |
| OnBeforeValidateEvent | (var Rec: Record "Sales Subscription Line"; var xRec: Record "Sales Subscription Line"; CurrFieldNo: Integer) | per field, ElementName: field name | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onbeforevalidateevent-table-trigger/ |
| OnAfterValidateEvent | (var Rec: Record "Sales Subscription Line"; var xRec: Record "Sales Subscription Line"; CurrFieldNo: Integer) | per field, ElementName: field name | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onaftervalidateevent-table-trigger/ |

## Source

Symbols: Microsoft.SubscriptionBilling.symbols.3099ffc7-4cf7-4df6-9b96-7e4bc2bb587c, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-11-20.
AL source 28: https://github.com/microsoft/BCApps, MIT, releases/28.x at 408a4cc8d3a4c54b60464cc14c964479facb9ba0.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
