---
id: object/table/8051
type: object
title: Table 8051 "Subscription Contract Setup"
summary: Table 8051 "Subscription Contract Setup" in Subscription Billing (Microsoft.SubscriptionBilling). 22 fields, 4 public procedures. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - table
  - subscription billing
versions:
  introduced: "29"
  last_changed: null
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 865a8c1fbbf9ba8656982a2f6cba180898bca06001f13885d8cb6f5f0951d3c6
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/Subscription%20Billing/app/Base/Tables/SubscriptionContractSetup.Table.al
    title: src/Apps/W1/Subscription Billing/app/Base/Tables/SubscriptionContractSetup.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn:
    - https://learn.microsoft.com/dynamics365/business-central/SRB/setup/general
  objects: []
  features: []
  topics:
    - topic/business-central/business-functionality/set-up-business-central/set-up-sales/set-up-subscription-billing
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: table
object_id: 8051
name: Subscription Contract Setup
namespace: Microsoft.SubscriptionBilling
app: Subscription Billing
extends: null
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 22
  procedures: 5
  events: 0
  subscribers: 0
relations:
  out: 3
  referenced_by: 0
  pages: 1
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Table 8051 "Subscription Contract Setup"

> Table 8051 "Subscription Contract Setup" in Subscription Billing (Microsoft.SubscriptionBilling). 22 fields, 4 public procedures. Introduced in BC29, still in BC30.

Subscription Billing · Microsoft.SubscriptionBilling · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/Subscription%20Billing/app/Base/Tables/SubscriptionContractSetup.Table.al) · facts from BC29

Learn documents this table through its pages: [Page 8051 "Service Contract Setup"](../page/8051.md) (1 Learn page).

## Properties

| Property | Value |
|---|---|
| Caption | Subscription Contract Setup |
| DataClassification | CustomerContent |

## Fields

Explanation: the field's ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.

| No. | Name | Type | Explanation | Notes |
|---|---|---|---|---|
| 1 | Primary Key | Code[10] | — |  |
| 2 | Cust. Sub. Contract Nos. | Code[20] | Specifies the code for the number series that will be used to assign numbers to Customer Subscription Contracts. <small>via [Page 8051 "Service Contract Setup"](../page/8051.md)</small> | TableRelation No. Series |
| 3 | Vend. Sub. Contract Nos. | Code[20] | Specifies the code for the number series that will be used to assign numbers to Vendor Subscription Contracts. <small>via [Page 8051 "Service Contract Setup"](../page/8051.md)</small> | TableRelation No. Series |
| 4 | Subscription Header No. | Code[20] | Specifies the code for the number series that will be used to assign numbers to Subscriptions. <small>via [Page 8051 "Service Contract Setup"](../page/8051.md)</small> | TableRelation No. Series |
| 5 | Aut. Insert C. Contr. DimValue | Boolean | Specifies whether the contract number is also automatically created as a dimension value when a Customer Subscription Contract is created. <small>via [Page 8051 "Service Contract Setup"](../page/8051.md)</small> |  |
| 6 | Sub. Line Start Date Inv. Pick | Enum "Serv. Start Date For Inv. Pick" | Specifies the date field, that will be used as Subscription Start Date of the Subscription Line, if the item is shipped in a inventory pick. <small>via [Page 8051 "Service Contract Setup"](../page/8051.md)</small> | enum [Enum 8000 "Serv. Start Date For Inv. Pick"](../enum/8000.md) |
| 7 | Overdue Date Formula | DateFormula | Specifies the default date formula which will be used for filtering overdue Subscription Lines. <small>via [Page 8051 "Service Contract Setup"](../page/8051.md)</small> |  |
| 10 | Contract Invoice Description | Enum "Contract Invoice Text Type" | Specifies which information is used for Sales Invoice line description. <small>via [Page 8051 "Service Contract Setup"](../page/8051.md)</small> | enum [Enum 8001 "Contract Invoice Text Type"](../enum/8001.md) |
| 11 | Contract Invoice Add. Line 1 | Enum "Contract Invoice Text Type" | Specifies which information is used for the first additional line. <small>via [Page 8051 "Service Contract Setup"](../page/8051.md)</small> | enum [Enum 8001 "Contract Invoice Text Type"](../enum/8001.md) |
| 12 | Contract Invoice Add. Line 2 | Enum "Contract Invoice Text Type" | Specifies which information is used for the second additional line. <small>via [Page 8051 "Service Contract Setup"](../page/8051.md)</small> | enum [Enum 8001 "Contract Invoice Text Type"](../enum/8001.md) |
| 13 | Contract Invoice Add. Line 3 | Enum "Contract Invoice Text Type" | Specifies which information is used for the third additional line. <small>via [Page 8051 "Service Contract Setup"](../page/8051.md)</small> | enum [Enum 8001 "Contract Invoice Text Type"](../enum/8001.md) |
| 14 | Contract Invoice Add. Line 4 | Enum "Contract Invoice Text Type" | Specifies which information is used for the fourth additional line. <small>via [Page 8051 "Service Contract Setup"](../page/8051.md)</small> | enum [Enum 8001 "Contract Invoice Text Type"](../enum/8001.md) |
| 15 | Contract Invoice Add. Line 5 | Enum "Contract Invoice Text Type" | Specifies which information is used for the fifth additional line. <small>via [Page 8051 "Service Contract Setup"](../page/8051.md)</small> | enum [Enum 8001 "Contract Invoice Text Type"](../enum/8001.md) |
| 20 | Origin Name collective Invoice | Enum "Contract Origin Name Type" | Specifies which customer information (name) is transferred to collective invoices. This setting is applies for collective invoices only. <small>via [Page 8051 "Service Contract Setup"](../page/8051.md)</small> | enum [Enum 8002 "Contract Origin Name Type"](../enum/8002.md) |
| 21 | Dimension Code Cust. Contr. | Code[20] | Specifies the Dimension Code that is used for Customer Subscription Contracts. <small>via [Page 8051 "Service Contract Setup"](../page/8051.md)</small> | TableRelation [Table 348 "Dimension"](../table/348.md) |
| 30 | Invoice Desc. (Surcharge) | Enum "Invoice Detail Origin" | Specifies the origin of the invoice details' description for usage data to be charged as Unit Cost Surcharge. <small>via [Page 8051 "Service Contract Setup"](../page/8051.md)</small> | enum [Enum 8021 "Invoice Detail Origin"](../enum/8021.md) |
| 59 | Default Period Calculation | enum "Period Calculation" | Specifies which Period Calculation will initially be set in Subscription Package line. <small>via [Page 8051 "Service Contract Setup"](../page/8051.md)</small> | enum [Enum 8005 "Period Calculation"](../enum/8005.md) |
| 60 | Default Billing Base Period | DateFormula | Specifies the default period to which the Subscription Line amount relates. For example, enter 1M if the amount relates to one month or 12M if the amount relates to 1 year. <small>via [Page 8051 "Service Contract Setup"](../page/8051.md)</small> |  |
| 61 | Default Billing Rhythm | DateFormula | Specifies the default rhythm in which the Subscription Line is calculated. Using a date formula, the rhythm can be defined as monthly, quarterly or annual calculation. <small>via [Page 8051 "Service Contract Setup"](../page/8051.md)</small> |  |
| 180 | Def. Rel. Jnl. Template Name | Code[10] | Specifies the name of the journal template to use for posting of deferrals release. <small>via [Page 8051 "Service Contract Setup"](../page/8051.md)</small> | TableRelation [Table 80 "Gen. Journal Template"](../table/80.md) (Gen. Journal Template) |
| 181 | Def. Rel. Jnl. Batch Name | Code[10] | Specifies the name of the journal batch to use for posting of deferrals release. <small>via [Page 8051 "Service Contract Setup"](../page/8051.md)</small> | TableRelation [Table 232 "Gen. Journal Batch"](../table/232.md) (if ("Def. Rel. Jnl. Template Name" = filter(<> '')) "Gen. Journal Batch".Name where("Journal Template Name" = field("Def. Rel. Jnl. Template Name"))) |
| 182 | Create Contract Deferrals | Enum "Create Contract Deferrals" | Specifies whether deferrals are created for new Subscription lines by default. <small>via [Page 8051 "Service Contract Setup"](../page/8051.md)</small> | enum [Enum 8020 "Create Contract Deferrals"](../enum/8020.md) |

## Keys

- PK: Primary Key (clustered)

## Procedures

- `ContractTextsCreateDefaults()`
- `VerifyContractTextsSetup()`
- `CheckPrerequisitesForCreatingManualContractLine()`
- `InitRecord()` (internal)

Plus 1 local procedures.

## Relations

- Def. Rel. Jnl. Batch Name: TableRelation [Table 232 "Gen. Journal Batch"](../table/232.md)
- Dimension Code Cust. Contr.: TableRelation [Table 348 "Dimension"](../table/348.md)
- Def. Rel. Jnl. Template Name: TableRelation [Table 80 "Gen. Journal Template"](../table/80.md)

## Pages and codeunits on this table

- [Page 8051 "Service Contract Setup"](../page/8051.md) (source table)

## Across versions

- Present in: BC29-30
- Changed (declaration) in: none

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## Ask your agent

Procedure bodies are not stored here (D10). For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: `bcatlas_resolve_node(object_type: "table", object_name: "Subscription Contract Setup")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
