---
title: "Table 5997 Standard Service Line"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/table/5997-standard-service-line/
type: table
id: 5997
name: "Standard Service Line"
app: "Base Application"
namespace: Microsoft.Service.Document
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/table/5997-standard-service-line/source/29/"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Table 5997 Standard Service Line

Jonas Paprotka, https://jonas-paprotka.de/ref/table/5997-standard-service-line/

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.Service.Document |
| Versions | 17-28 |
| Source file | Service/Document/StandardServiceLine.Table.al |

## Fields

| Id | Name | Type | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| 1 | Standard Service Code | Code[10] | 17-28 | - | - |
| 2 | Line No. | Integer | 17-28 | - | - |
| 3 | Type | Enum Service Line Type | 17-28 | - | - |
| 4 | No. | Code[20] | 17-28 | - | - |
| 5 | Description | Text[100] | 17-28 | - | - |
| 6 | Quantity | Decimal | 17-28 | - | - |
| 7 | Amount Excl. VAT | Decimal | 17-28 | - | - |
| 8 | Unit of Measure Code | Code[10] | 17-28 | - | - |
| 9 | Shortcut Dimension 1 Code | Code[20] | 17-28 | - | - |
| 10 | Shortcut Dimension 2 Code | Code[20] | 17-28 | - | - |
| 11 | Variant Code | Code[10] | 17-28 | - | - |
| 480 | Dimension Set ID | Integer | 17-28 | - | - |

## Keys

| Name | Fields | Versions |
| --- | --- | --- |
| Key1, clustered | Standard Service Code, Line No. | 17-28 |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| EmptyLine | () | Boolean | public | 17-28 | - | - |
| InsertLine | () | Boolean | public | 17-28 | - | - |
| ShowDimensions | () | - | public | 17-28 | - | - |
| ValidateShortcutDimCode | (Integer, var Code[20]) | - | public | 17-28 | - | - |
| LookupShortcutDimCode | (Integer, var Code[20]) | - | public | 17-28 | - | - |
| ShowShortcutDimCode | (var Code[20]) | - | public | 17-28 | - | - |
| CreateDim | (Integer, Code[20]) | - | public | 17-22 | Pending 20.0 | Replaced by CreateDim(DefaultDimSource: List of [Dictionary of [Integer, Code[20]]]) |
| CreateDim | (List) | - | public | 20-28 | - | - |
| CreateDimFromDefaultDim | () | - | public | 20-28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnAfterCreateDimTableIDs | (var Record Standard Service Line, Integer, var Integer, var Code[20]) | 17-22 | Pending 20.0 | Temporary event for compatibility |
| Integration event | OnBeforeLookupShortcutDimCode | (var Record Standard Service Line, var Record Standard Service Line, Integer, var Code[20], Boolean) | 17-19 | - | - |
| Integration event | OnAfterValidateShortcutDimCode | (var Record Standard Service Line, var Record Standard Service Line, Integer, var Code[20]) | 17-28 | - | - |
| Integration event | OnBeforeValidateShortcutDimCode | (var Record Standard Service Line, var Record Standard Service Line, Integer, var Code[20]) | 17-28 | - | - |
| Integration event | OnAfterInitDefaultDimensionSources | (var Record Standard Service Line, var List) | 20-28 | - | - |
| Integration event | OnAfterCreateDim | (var Record Standard Service Line, List) | 20-28 | - | - |
| Integration event | OnBeforeLookupShortcutDimCode | (var Record Standard Service Line, var Record Standard Service Line, Integer, var Code[20], var Boolean) | 20-28 | - | - |

## Source

Symbols: Microsoft.BaseApplication.symbols.437dbf0e-84ff-417a-965d-ed2bb9650972, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-09-20.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at a66254c3b8b5bb1cea290dc8f9d097aec4381153.

Jonas Paprotka, 2026-09-20.
