---
title: "Table 8051 Subscription Contract Setup"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/table/8051-subscription-contract-setup/
type: table
id: 8051
name: "Subscription Contract Setup"
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/8051-subscription-contract-setup/source/?v=28 https://jonas-paprotka.de/ref/table/8051-subscription-contract-setup/source/"
checked: 2026-11-20
changed: 2026-10-05
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 8051 Subscription Contract Setup

JOP-AL, https://jonas-paprotka.de/ref/table/8051-subscription-contract-setup/

| | |
| --- | --- |
| 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/8051-subscription-contract-setup/editions.json) |
| Source file | Base/Tables/SubscriptionContractSetup.Table.al |

## Fields

| Id | Name | Type | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| 1 | Primary Key | Code[10] | 26-29 | - | - |
| 2 | Cust. Sub. Contract Nos. | Code[20] | 26-29 | - | - |
| 3 | Vend. Sub. Contract Nos. | Code[20] | 26-29 | - | - |
| 4 | Subscription Header No. | Code[20] | 26-29 | - | - |
| 5 | Aut. Insert C. Contr. DimValue | Boolean | 26-29 | - | - |
| 6 | Sub. Line Start Date Inv. Pick | Enum Serv. Start Date For Inv. Pick | 26-29 | - | - |
| 7 | Overdue Date Formula | DateFormula | 26-29 | - | - |
| 10 | Contract Invoice Description | Enum Contract Invoice Text Type | 26-29 | - | - |
| 11 | Contract Invoice Add. Line 1 | Enum Contract Invoice Text Type | 26-29 | - | - |
| 12 | Contract Invoice Add. Line 2 | Enum Contract Invoice Text Type | 26-29 | - | - |
| 13 | Contract Invoice Add. Line 3 | Enum Contract Invoice Text Type | 26-29 | - | - |
| 14 | Contract Invoice Add. Line 4 | Enum Contract Invoice Text Type | 26-29 | - | - |
| 15 | Contract Invoice Add. Line 5 | Enum Contract Invoice Text Type | 26-29 | - | - |
| 20 | Origin Name collective Invoice | Enum Contract Origin Name Type | 26-29 | - | - |
| 21 | Dimension Code Cust. Contr. | Code[20] | 26-29 | - | - |
| 30 | Invoice Desc. (Surcharge) | Enum Invoice Detail Origin | 27-29 | - | - |
| 59 | Default Period Calculation | Enum Period Calculation | 26-29 | - | - |
| 60 | Default Billing Base Period | DateFormula | 26-29 | - | - |
| 61 | Default Billing Rhythm | DateFormula | 26-29 | - | - |
| 180 | Def. Rel. Jnl. Template Name | Code[10] | 26-29 | - | - |
| 181 | Def. Rel. Jnl. Batch Name | Code[10] | 26-29 | - | - |
| 182 | Create Contract Deferrals | Enum Create Contract Deferrals | 26-29 | - | - |

## Keys

| Name | Fields | Sum fields | Versions |
| --- | --- | --- | --- |
| PK, clustered | Primary Key | - | 26-29 |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| ContractTextsCreateDefaults | () | - | public | 26-29 | - | - |
| VerifyContractTextsSetup | () | - | public | 26-29 | - | - |
| CheckPrerequisitesForCreatingManualContractLine | () | - | public | 26-29 | - | - |
| InitRecord | () | - | internal | 26-29 | - | - |

## Trigger events

| Name | Parameters | ElementName | Docs |
| --- | --- | --- | --- |
| OnBeforeInsertEvent | (var Rec: Record "Subscription Contract Setup"; RunTrigger: Boolean) | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onbeforeinsertevent-table-trigger/ |
| OnAfterInsertEvent | (var Rec: Record "Subscription Contract Setup"; RunTrigger: Boolean) | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onafterinsertevent-table-trigger/ |
| OnBeforeModifyEvent | (var Rec: Record "Subscription Contract Setup"; var xRec: Record "Subscription Contract Setup"; RunTrigger: Boolean) | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onbeforemodifyevent-table-trigger/ |
| OnAfterModifyEvent | (var Rec: Record "Subscription Contract Setup"; var xRec: Record "Subscription Contract Setup"; RunTrigger: Boolean) | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onaftermodifyevent-table-trigger/ |
| OnBeforeDeleteEvent | (var Rec: Record "Subscription Contract Setup"; RunTrigger: Boolean) | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onbeforedeleteevent-table-trigger/ |
| OnAfterDeleteEvent | (var Rec: Record "Subscription Contract Setup"; RunTrigger: Boolean) | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onafterdeleteevent-table-trigger/ |
| OnBeforeRenameEvent | (var Rec: Record "Subscription Contract Setup"; var xRec: Record "Subscription Contract Setup"; RunTrigger: Boolean) | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onbeforerenameevent-table-trigger/ |
| OnAfterRenameEvent | (var Rec: Record "Subscription Contract Setup"; var xRec: Record "Subscription Contract Setup"; RunTrigger: Boolean) | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onafterrenameevent-table-trigger/ |
| OnBeforeValidateEvent | (var Rec: Record "Subscription Contract Setup"; var xRec: Record "Subscription Contract Setup"; 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 "Subscription Contract Setup"; var xRec: Record "Subscription Contract Setup"; 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.
