---
title: "Table 5901 Service Item Line"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/table/5901-service-item-line/
type: table
id: 5901
name: "Service Item Line"
app: "Base Application"
namespace: Microsoft.Service.Document
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/table/5901-service-item-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 5901 Service Item Line

Jonas Paprotka, https://jonas-paprotka.de/ref/table/5901-service-item-line/

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

## Fields

| Id | Name | Type | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| 1 | Document No. | Code[20] | 17-28 | - | - |
| 2 | Line No. | Integer | 17-28 | - | - |
| 3 | Service Item No. | Code[20] | 17-28 | - | - |
| 4 | Service Item Group Code | Code[10] | 17-28 | - | - |
| 5 | Item No. | Code[20] | 17-28 | - | - |
| 6 | Serial No. | Code[50] | 17-28 | - | - |
| 7 | Description | Text[100] | 17-28 | - | - |
| 8 | Description 2 | Text[50] | 17-28 | - | - |
| 9 | Repair Status Code | Code[10] | 17-28 | - | - |
| 10 | Priority | Enum Service Priority | 17-28 | - | - |
| 11 | Response Time (Hours) | Decimal | 17-28 | - | - |
| 12 | Response Date | Date | 17-28 | - | - |
| 13 | Response Time | Time | 17-28 | - | - |
| 14 | Starting Date | Date | 17-28 | - | - |
| 15 | Starting Time | Time | 17-28 | - | - |
| 16 | Finishing Date | Date | 17-28 | - | - |
| 17 | Finishing Time | Time | 17-28 | - | - |
| 18 | Service Shelf No. | Code[10] | 17-28 | - | - |
| 19 | Warranty Starting Date (Parts) | Date | 17-28 | - | - |
| 20 | Warranty Ending Date (Parts) | Date | 17-28 | - | - |
| 21 | Warranty | Boolean | 17-28 | - | - |
| 22 | Warranty % (Parts) | Decimal | 17-28 | - | - |
| 23 | Warranty % (Labor) | Decimal | 17-28 | - | - |
| 24 | Warranty Starting Date (Labor) | Date | 17-28 | - | - |
| 25 | Warranty Ending Date (Labor) | Date | 17-28 | - | - |
| 26 | Contract No. | Code[20] | 17-28 | - | - |
| 27 | Location of Service Item | Text[30] | 17-28 | - | - |
| 28 | Loaner No. | Code[20] | 17-28 | - | - |
| 29 | Vendor No. | Code[20] | 17-28 | - | - |
| 30 | Vendor Item No. | Text[50] | 17-28 | - | - |
| 31 | Fault Reason Code | Code[10] | 17-28 | - | - |
| 32 | Service Price Group Code | Code[10] | 17-28 | - | - |
| 33 | Fault Area Code | Code[10] | 17-28 | - | - |
| 34 | Symptom Code | Code[10] | 17-28 | - | - |
| 35 | Fault Code | Code[10] | 17-28 | - | - |
| 36 | Resolution Code | Code[10] | 17-28 | - | - |
| 37 | Fault Comment | Boolean | 17-28 | - | - |
| 38 | Resolution Comment | Boolean | 17-28 | - | - |
| 40 | Variant Code | Code[10] | 17-28 | - | - |
| 41 | Service Item Loaner Comment | Boolean | 17-28 | - | - |
| 42 | Actual Response Time (Hours) | Decimal | 17-28 | - | - |
| 43 | Document Type | Enum Service Document Type | 17-28 | - | - |
| 44 | Serv. Price Adjmt. Gr. Code | Code[10] | 17-28 | - | - |
| 45 | Adjustment Type | Option | 17-28 | - | - |
| 46 | Base Amount to Adjust | Decimal | 17-28 | - | - |
| 60 | No. of Active/Finished Allocs | Integer | 17-28 | - | - |
| 61 | No. of Allocations | Integer | 17-28 | - | - |
| 62 | No. of Previous Services | Integer | 17-28 | - | - |
| 63 | Contract Line No. | Integer | 17-28 | - | - |
| 64 | Ship-to Code | Code[10] | 17-28 | - | - |
| 65 | Customer No. | Code[20] | 17-28 | - | - |
| 91 | Date Filter | Date | 17-28 | - | - |
| 92 | Resource Filter | Code[20] | 17-28 | - | - |
| 93 | Allocation Date Filter | Date | 17-28 | - | - |
| 94 | Repair Status Code Filter | Code[10] | 17-28 | - | - |
| 96 | Allocation Status Filter | Option | 17-28 | - | - |
| 97 | Responsibility Center | Code[10] | 17-28 | - | - |
| 98 | Service Order Filter | Code[20] | 17-28 | - | - |
| 99 | Resource Group Filter | Code[20] | 17-28 | - | - |
| 100 | Shortcut Dimension 1 Code | Code[20] | 17-28 | - | - |
| 101 | Shortcut Dimension 2 Code | Code[20] | 17-28 | - | - |
| 130 | Release Status | Enum Service Doc. Release Status | 17-28 | - | - |
| 480 | Dimension Set ID | Integer | 17-28 | - | - |

## Keys

| Name | Fields | Versions |
| --- | --- | --- |
| Key1, clustered | Document Type, Document No., Line No. | 17-28 |
| Key2 | Document No., Line No., Document Type | 17-28 |
| Key3 | Document Type, Document No., Service Item No., Contract No., Contract Line No. | 17-28 |
| Key4 | Service Item No. | 17-28 |
| Key5 | Document Type, Document No., Response Date, Response Time | 17-28 |
| Key6 | Response Date, Response Time, Priority | 17-28 |
| Key7 | Loaner No. | 17-28 |
| Key8 | Document Type, Document No., Starting Date, Starting Time | 17-28 |
| Key9 | Document Type, Document No., Finishing Date, Finishing Time | 17-28 |
| Key10 | Fault Reason Code | 17-28 |
| Key11 | Contract No. | 17-28 |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| SetUpNewLine | () | - | public | 17-28 | - | - |
| SetServHeader | (var Record Service Header) | - | public | 17-28 | - | - |
| CheckWarranty | (Date) | - | public | 17-28 | - | - |
| CalculateResponseDateTime | (Date, Time) | - | public | 17-28 | - | - |
| CheckServLineExist | () | Boolean | public | 17-28 | - | - |
| CheckIfServHourExist | (Code[20]) | Boolean | public | 17-28 | - | - |
| AssistEditSerialNo | () | - | public | 17-28 | - | - |
| SetHideDialogBox | (Boolean) | - | public | 17-28 | - | - |
| ShowComments | (Option) | - | public | 17-28 | Pending 27.0 | Replaced by namesake procedure with Enum parameter |
| CalculateResponseTimeHours | () | Decimal | public | 17-28 | - | - |
| UpdateResponseTimeHours | () | - | public | 17-28 | - | - |
| UpdateServiceOrderChangeLog | (var Record Service Item Line) | - | public | 17-28 | - | - |
| CreateDim | (Integer, Code[20], Integer, Code[20], Integer, Code[20]) | - | public | 17-22 | Pending 20.0 | Replaced by CreateDim(DefaultDimSource: List of [Dictionary of [Integer, Code[20]]]) |
| ValidateShortcutDimCode | (Integer, var Code[20]) | - | public | 17-28 | - | - |
| ShowDimensions | () | - | public | 17-28 | - | - |
| UpdateAllLineDim | (Integer, Integer) | - | public | 17-28 | - | - |
| SetServItemInfo | (Record Service Item) | - | public | 17-28 | - | - |
| CheckTempDateErrorDate | (Date, Date, Text[30], Text[30]) | - | public | 17-28 | - | - |
| LendLoanerWithConfirmation | (Boolean) | - | internal | 17-28 | - | - |
| GetHideDialogBox | () | Boolean | public | 18-28 | - | - |
| SetSecurityFilterOnRespCenter | () | - | public | 19-28 | - | - |
| UpdateStartFinishDateTime | (Enum Service Document Type, Code[20], Integer, Date, Time, Date, Time, Boolean) | - | public | 20-28 | - | - |
| CreateDim | (List) | - | public | 20-28 | - | - |
| CreateDimFromDefaultDim | (Integer) | - | public | 20-28 | - | - |
| ShowComments | (Enum Service Comment Line Type) | - | public | 26-28 | - | - |
| GetServHeader | () | - | public | 28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnAfterCreateDimTableIDs | (var Record Service Item Line, Integer, var Integer, var Code[20]) | 17-22 | Pending 20.0 | Temporary event for compatibility |
| Integration event | OnAfterAssignItemValues | (var Record Service Item Line, var Record Service Item Line, Record Item, Record Service Header, Integer) | 17-28 | - | - |
| Integration event | OnAfterSetServItemInfo | (var Record Service Item Line, Record Service Item Line, Record Service Item) | 17-28 | - | - |
| Integration event | OnAfterSetUpNewLine | (var Record Service Item Line) | 17-28 | - | - |
| Integration event | OnAfterValidateShortcutDimCode | (var Record Service Item Line, Record Service Item Line, Integer, var Code[20]) | 17-28 | - | - |
| Integration event | OnBeforeOnModify | (var Record Service Item Line, Record Service Item Line) | 17-28 | - | - |
| Integration event | OnBeforeCheckServItemCustomer | (Record Service Header, Record Service Item, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeCreateDim | (var Record Service Item Line, Integer, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeTempServLine | (var Record Service Item Line, Record Service Item Line, var Record Service Line, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeShowUpdateExistingServiceLinesMessage | (var Record Service Item Line, Record Service Item Line, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeUpdateResponseTimeHours | (var Record Service Item Line, Record Service Item Line, Boolean, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeValidateSerialNo | (var Record Service Item Line, Record Service Item Line, Integer, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeValidateWarranty | (var Record Service Item Line, Record Service Item Line, Integer, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeValidateWarrantyParts | (var Record Service Item Line, Record Service Item Line, Integer, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeValidateWarrantyLabor | (var Record Service Item Line, Record Service Item Line, Integer, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeValidateShortcutDimCode | (var Record Service Item Line, Record Service Item Line, Integer, var Code[20]) | 17-28 | - | - |
| Integration event | OnCheckWarrantyOnAfterSetWarranty | (var Record Service Item Line, var Boolean) | 17-20 | - | - |
| Integration event | OnCheckWarrantyOnAfterSetWarrantyPartsLabor | (var Record Service Item Line, Date, var Boolean, var Boolean) | 17-28 | - | - |
| Integration event | OnRecreateServLine | (var Record Service Line, Record Service Line) | 17-28 | - | - |
| Integration event | OnValidateContractNoOnBeforeValidateServicePeriod | (var Record Service Item Line, Record Service Item Line, Integer, var Boolean, var Record Service Header) | 17-28 | - | - |
| Integration event | OnValidateServiceItemNoOnAfterValidateServiceItemGroupCode | (var Record Service Item Line) | 17-28 | - | - |
| Integration event | OnValidateServiceItemNoOnBeforeCheckXRecServiceItemNo | (var Record Service Item Line, Record Service Item Line, var Record Service Line, var Record Service Item, var Boolean) | 17-23 | - | - |
| Integration event | OnValidateServiceItemNoOnBeforeValidateServicePeriod | (var Record Service Item Line, Record Service Item Line, Integer, var Boolean) | 17-28 | - | - |
| Integration event | OnValidateServiceItemNoOnBeforeEmptyContractNoFindServContractLine | (var Record Service Item Line, Record Service Header, Record Service Item) | 17 | - | - |
| Integration event | OnBeforeCheckShipToCode | (var Record Service Item Line, Record Service Item, Record Service Header, var Boolean) | 17-28 | - | - |
| Integration event | OnRepairStatusCodeValidateOnAfterSetRepairStatusInProgress | (var Record Service Item Line, var Boolean) | 18-28 | - | - |
| Integration event | OnShowCommentsOnBeforeRunPageServiceCommentSheet | (var Record Service Item Line, var Record Service Comment Line) | 18-28 | - | - |
| Integration event | OnValidateServiceItemNoOnBeforeEmptyContractNoFindServContractLine | (var Record Service Item Line, Record Service Header, Record Service Item, var Boolean) | 18-21 | - | - |
| Integration event | OnBefoerCheckCustomerNo | (var Record Service Header, var Record Service Item Line, Record Service Item Line, var Boolean) | 19-28 | - | - |
| Integration event | OnBeforeSetSecurityFilterOnRespCenter | (var Record Service Item Line, var Boolean) | 19-28 | - | - |
| Integration event | OnAfterInitDefaultDimensionSources | (var Record Service Item Line, var List, Integer) | 20-28 | - | - |
| Integration event | OnAfterSetHideDialogBox | (var Boolean) | 20-28 | - | - |
| Integration event | OnAfterUpdateServiceOrderChangeLog | (Record Service Item Line, var Record Service Item Line) | 20-28 | - | - |
| Integration event | OnBeforeCheckRecreateServLines | (var Record Service Item Line, Record Service Item Line, var Record Service Line, var Boolean) | 20-28 | - | - |
| Integration event | OnBeforeEnsureCorrectStartingFinishingTimes | (var Record Service Item Line, Record Service Header, var Boolean) | 20-28 | - | - |
| Integration event | OnBeforeLendLoanerWithConfirmation | (var Record Service Item Line, Boolean, var Boolean) | 20-28 | - | - |
| Integration event | OnBeforeUpdateStartFinishDateTime | (var Record Service Item Line, Record Service Mgt. Setup, var Boolean) | 20-28 | - | - |
| Integration event | OnBeforeSetFilterForType | (var Record Service Item Line, var Record Service Line, var Boolean) | 20-28 | - | - |
| Integration event | OnUpdateStartFinishDateTimeOnAfterCalcShouldSetStartTime | (var Record Service Item Line, var Record Service Header, var Boolean) | 20-28 | - | - |
| Integration event | OnUpdateStartFinishDateTimeOnAfterCalcShouldSetFinishingTime | (var Record Service Item Line, var Record Service Header, var Boolean) | 20-28 | - | - |
| Integration event | OnCheckWarrantyOnAfterSetWarranty | (var Record Service Item Line, var Boolean, Date) | 21-28 | - | - |
| Integration event | OnLookupContractNoOnAfterServContractLineSetFilters | (var Record Service Contract Line, Record Service Item Line) | 21-28 | - | - |
| Integration event | OnBeforeInitTableValuePair | (var Dictionary, Integer, var Boolean) | 21 | - | - |
| Integration event | OnAfterInitTableValuePair | (var Dictionary, Integer) | 21 | - | - |
| Integration event | OnValidateServiceItemNoOnBeforeEmptyContractNoFindServContractLine | (var Record Service Item Line, Record Service Header, Record Service Item, var Boolean, var Boolean, var Record Service Contract Line) | 22-28 | - | - |
| Integration event | OnBeforeInitTableValuePair | (var Dictionary, Integer, var Boolean, var Record Service Item Line) | 22-28 | - | - |
| Integration event | OnAfterInitTableValuePair | (var Dictionary, Integer, var Record Service Item Line) | 22-28 | - | - |
| Integration event | OnValidateServiceItemNoOnBeforeCheckServContractExist | (var Record Service Contract Line, Record Service Item, Record Service Header, var Boolean, var Record Service Item Line, var Boolean) | 22-28 | - | - |
| Integration event | OnShowDimensionsOnBeforeServiceItemLineModify | (var Record Service Item Line) | 22-23 | - | - |
| Integration event | OnBeforeCheckFinishingTime | (var Record Service Item Line, var Boolean) | 22-28 | - | - |
| Integration event | OnUpdateAllLineDimOnBeforeGetResponse | (var Record Service Item Line, Integer, Integer, var Boolean) | 22-28 | - | - |
| Integration event | OnInsertOnBeforeCheckFirstServItemLine | (var Record Service Item Line, var Boolean) | 22-28 | - | - |
| Integration event | OnInsertOnAfterGetServHeader | (var Record Service Item Line, Record Service Header) | 22-28 | - | - |
| Integration event | OnInsertOnBeforeSetContractNo | (var Record Service Item Line, Record Service Header, var Boolean) | 22-28 | - | - |
| Integration event | OnInsertOnBeforeCreateAllocationEntry | (var Record Service Item Line, Record Service Header, var Boolean) | 22-28 | - | - |
| Integration event | OnInsertOnBeforeUpdatePriority | (var Record Service Item Line, var Boolean) | 22-28 | - | - |
| Integration event | OnValidateServiceItemNoOnAfterValidateWarrantyPartsLaborDates | (var Record Service Item Line) | 22-28 | - | - |
| Integration event | OnValidateServiceItemNoOnAfterSetFilterServContractLine | (var Record Service Item Line, var Record Service Contract Line) | 22-28 | - | - |
| Integration event | OnAfterValidateServiceItemNoOnBeforeUpdateResponseTimeHours | (var Record Service Item Line, Record Service Item Line) | 22-28 | - | - |
| Integration event | OnValidateRepairStatusCodeOnBeforeValidateStatus | (var Record Service Item Line, var Record Service Header) | 22-28 | - | - |
| Integration event | OnBeforeValidateWarrantyStartingDateParts | (var Record Service Item Line, Integer, var Boolean) | 22-28 | - | - |
| Integration event | OnBeforeValidateWarrantyEndingDateParts | (var Record Service Item Line, Integer, var Boolean) | 22-28 | - | - |
| Integration event | OnBeforeValidateWarrantyStartingDateLabor | (var Record Service Item Line, Integer, var Boolean) | 22-28 | - | - |
| Integration event | OnBeforeValidateWarrantyEndingDateLabor | (var Record Service Item Line, Integer, var Boolean) | 22-28 | - | - |
| Integration event | OnBeforeValidateServicePriceGroupCode | (var Record Service Item Line, var Record Service Item Line, Integer, var Boolean) | 22-28 | - | - |
| Integration event | OnBeforeCheckWarranty | (var Record Service Item Line, var Record Service Item Line, Date, var Boolean) | 22-28 | - | - |
| Integration event | OnBeforeUpdateServiceOrderChangeLog | (var Record Service Item Line, var Record Service Item Line, var Boolean) | 22-28 | - | - |
| Integration event | OnBeforeSetServItemInfo | (var Record Service Item Line, Record Service Item, var Boolean) | 22-28 | - | - |
| Integration event | OnBeforeValidateContractNo | (var Record Service Item Line, var Record Service Item Line, var Boolean) | 22-28 | - | - |
| Integration event | OnBeforeCalculateResponseTimeHours | (var Record Service Item Line, var Decimal, var Boolean) | 22-28 | - | - |
| Integration event | OnValidateFinishingDateOnBeforeCheckIfLessThanOrderDate | (var Record Service Item Line, var Boolean) | 23-28 | - | - |
| Integration event | OnValidateStartingDateOnBeforeCheckIfLessThanOrderDate | (var Record Service Item Line, var Boolean) | 23-28 | - | - |
| Integration event | OnValidateResponseTimeOnBeforeCheckResponseTime | (var Record Service Item Line, var Boolean) | 23-28 | - | - |
| Integration event | OnValidateResponseDateOnBeforeCheckResponseDate | (var Record Service Item Line, var Boolean) | 23-28 | - | - |
| Integration event | OnValidateContractNoOnBeforeCheckCOntractStatusSigned | (var Record Service Contract Line, var Boolean) | 23-28 | - | - |
| Integration event | OnValidateStartingDateOnBeforeValidateStartingTime | (var Record Service Item Line, var Boolean) | 23-28 | - | - |
| Integration event | OnValidateFinishingDateOnBeforeValidateFinishingTime | (var Record Service Item Line, var Boolean) | 23-28 | - | - |
| Integration event | OnValidateRepairStatusCodeOnBeforeCheckOrderDateRepairStatusInProgress | (var Record Service Order Allocation, var Record Service Item Line, var Boolean) | 23-28 | - | - |
| Integration event | OnValidateRepairStatusCodeInitialOnBeforeServOrderAllocModify | (var Record Service Item Line, var Boolean) | 23-28 | - | - |
| Integration event | OnValidateRepairStatusCodeInProgressOnBeforeServOrderAllocModify | (var Record Service Item Line, var Boolean) | 23-28 | - | - |
| Integration event | OnValidateRepairStatusCodeFinishedOnBeforeServOrderAllocModify | (var Record Service Item Line, var Boolean) | 23-28 | - | - |
| Integration event | OnAfterUpdateResponseTimeHours | (var Record Service Item Line) | 23-28 | - | - |
| Integration event | OnBeforeCalculateDates | (var Record Service Item Line, var Boolean) | 23-28 | - | - |
| Integration event | OnBeforeCheckIfServHourExist | (var Record Service Item Line, var Code[20], var Boolean) | 23-28 | - | - |
| Integration event | OnBeforeCalculateResponseDateTime | (var Record Service Item Line, Date, Time, var Boolean) | 23-28 | - | - |
| Integration event | OnCheckIfServHourexistOnBeforeFindServHour | (var Record Service Hour) | 23-28 | - | - |
| Integration event | OnBeforeSetServContractExistTrue | (var Record Service Contract Line, var Record Service Header, var Boolean) | 23-28 | - | - |
| Integration event | OnValidateServiceItemNoOnBeforeCheckXRecServiceItemNo | (var Record Service Item Line, Record Service Item Line, var Record Service Line, var Record Service Item, var Boolean, var Boolean) | 24-28 | - | - |
| Integration event | OnShowDimensionsOnBeforeServiceItemLineModify | (var Record Service Item Line, Record Service Item Line) | 24-28 | - | - |
| Integration event | OnAfterCreateDim | (var Record Service Item Line, Integer, Record Service Item Line, List) | 24-28 | - | - |
| Integration event | OnAfterCheckWarranty | (var Record Service Item Line, var Record Service Item Line, Date) | 25-28 | - | - |
| Integration event | OnShowCommentsOnCaseElse | (var Record Service Comment Line, Enum Service Comment Line Type) | 26-28 | - | - |
| Integration event | OnValidateContractNoOnBeforeFindServiceContractLine | (var Record Service Contract Line, var Record Service Item Line) | 26-28 | - | - |
| Integration event | OnAssistEditSerialNoOnAfterSetDescription | (var Record Service Item Line, Record Item) | 27-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.
