---
id: object/table/5968
type: object
title: Table 5968 "Service Contract Template"
summary: Table 5968 "Service Contract Template" in Base Application (Microsoft.Service.Contract). 20 fields, 1 public procedures. Present since at least BC23, still in BC30, changed in BC24, BC28.
tier: official
language: en
tags:
  - table
  - base application
versions:
  introduced: null
  last_changed: "28"
  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: c584dbefe5af760b8c12ba47cb7417cfcaad1213509043de9de5356d396b02df
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Service/Contract/ServiceContractTemplate.Table.al
    title: src/Layers/W1/BaseApp/Service/Contract/ServiceContractTemplate.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: table
object_id: 5968
name: Service Contract Template
namespace: Microsoft.Service.Contract
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "24"
  - "28"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 20
  procedures: 1
  events: 0
  subscribers: 0
relations:
  out: 9
  referenced_by: 1
  pages: 2
  extended_by: 0
  event_subscribers: 1
  calls: 2
  called_by: 0
  implements: 0
---

# Table 5968 "Service Contract Template"

> Table 5968 "Service Contract Template" in Base Application (Microsoft.Service.Contract). 20 fields, 1 public procedures. Present since at least BC23, still in BC30, changed in BC24, BC28.

Base Application · Microsoft.Service.Contract · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Service/Contract/ServiceContractTemplate.Table.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Caption | Service Contract Template |
| 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 | No. | Code[20] | Specifies the number of the involved entry or record, according to the specified number series. |  |
| 2 | Description | Text[100] | Specifies a description of the service contract. |  |
| 3 | Invoice Period | Option | Specifies the invoice period for the service contract. | OptionCaption: Month,Two Months,Quarter,Half Year,Year,None |
| 4 | Max. Labor Unit Price | Decimal | Specifies the maximum unit price that can be set for a resource on lines for service orders associated with the service contract. |  |
| 5 | Combine Invoices | Boolean | Specifies you want to combine invoices for this service contract with invoices for other service contracts with the same bill-to customer. |  |
| 6 | Prepaid | Boolean | Specifies that this service contract is prepaid. |  |
| 7 | Service Zone Code | Code[10] | — | TableRelation [Table 5957 "Service Zone"](../table/5957.md) (Service Zone) |
| 8 | Language Code | Code[10] | — | TableRelation [Table 8 "Language"](../table/8.md) |
| 9 | Default Response Time (Hours) | Decimal | Specifies the default response time for the service contract created from this service contract template. <small>via [Page 6055 "Service Contract Template"](../page/6055.md)</small> |  |
| 10 | Contract Lines on Invoice | Boolean | Specifies you want contract lines to appear as text on the invoice. |  |
| 11 | Default Service Period | DateFormula | Specifies the default service period for the items in the contract. |  |
| 14 | Invoice after Service | Boolean | Specifies you can only invoice the contract if you have posted a service order linked to the contract since you last invoiced the contract. |  |
| 15 | Allow Unbalanced Amounts | Boolean | Specifies if the contents of the Calcd. Annual Amount field are copied into the Annual Amount field in the service contract or contract quote. |  |
| 16 | Contract Group Code | Code[10] | Specifies the contract group code of the service contract. | TableRelation [Table 5966 "Contract Group"](../table/5966.md) (Contract Group) |
| 17 | Service Order Type | Code[10] | Specifies the service order type assigned to service orders linked to this service contract. | TableRelation [Table 5903 "Service Order Type"](../table/5903.md) (Service Order Type) |
| 18 | Automatic Credit Memos | Boolean | Specifies that a credit memo is created when you remove a contract line from the service contract under certain conditions. |  |
| 20 | No. Series | Code[20] | — | TableRelation [Table 308 "No. Series"](../table/308.md) (No. Series); not editable |
| 21 | Price Update Period | DateFormula | Specifies the price update period for this service contract. |  |
| 22 | Price Inv. Increase Code | Code[20] | Specifies all billable prices for the project task, expressed in the local currency. | TableRelation [Table 7 "Standard Text"](../table/7.md) (Standard Text) |
| 23 | Serv. Contract Acc. Gr. Code | Code[10] | Specifies the code associated with the service contract account group. | TableRelation [Table 5973 "Service Contract Account Group"](../table/5973.md) ("Service Contract Account Group".Code) |

## Keys

- Key1: No. (clustered)

## Trigger event subscribers

- OnBeforeInsertEvent: [Codeunit 5999 "Service Experience Tier"](../codeunit/5999.md) BlockInsertServiceContractTemplate

## Procedures

- `AssistEdit(OldServContractTmplt: Record "Service Contract Template"): Boolean`

## Triggers

OnDelete, OnInsert, OnRename

## Relations

- drill-down page [Page 6056 "Service Contract Template List"](../page/6056.md)
- lookup page [Page 6056 "Service Contract Template List"](../page/6056.md)
- No. Series: TableRelation [Table 308 "No. Series"](../table/308.md)
- Service Order Type: TableRelation [Table 5903 "Service Order Type"](../table/5903.md)
- Service Zone Code: TableRelation [Table 5957 "Service Zone"](../table/5957.md)
- Contract Group Code: TableRelation [Table 5966 "Contract Group"](../table/5966.md)
- Serv. Contract Acc. Gr. Code: TableRelation [Table 5973 "Service Contract Account Group"](../table/5973.md)
- Price Inv. Increase Code: TableRelation [Table 7 "Standard Text"](../table/7.md)
- Language Code: TableRelation [Table 8 "Language"](../table/8.md)

## Referenced by

1 fields in 1 objects relate to this table (TableRelation or CalcFormula).

- [Table 5972 "Contract/Service Discount"](../table/5972.md): Contract No.

## Pages and codeunits on this table

- [Page 6055 "Service Contract Template"](../page/6055.md) (source table)
- [Page 6056 "Service Contract Template List"](../page/6056.md) (source table)

## Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an `Object::"Name"` argument. Interface dispatch and calls through events are not counted, so the list is not complete.

- [Codeunit 408 "DimensionManagement"](../codeunit/408.md) (2 calls: `OnDelete → DeleteDefaultDim`, `OnRename → RenameDefaultDim`)
- [Page 456 "No. Series"](../page/456.md) (2 calls: `AssistEdit → (object)`, `OnInsert → (object)`)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC24, BC28

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). The call sections above are our own, per object, from the BC29 call graph. 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: "Service Contract Template")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
