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

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

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

## Fields

| Id | Name | Type | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| 1 | No. | Code[20] | 17-28 | - | - |
| 2 | Serial No. | Code[50] | 17-28 | - | - |
| 3 | Service Item Group Code | Code[10] | 17-28 | - | - |
| 4 | Description | Text[100] | 17-28 | - | - |
| 5 | Description 2 | Text[50] | 17-28 | - | - |
| 6 | Status | Enum Service Item Status | 17-28 | - | - |
| 7 | Priority | Enum Service Priority | 17-28 | - | - |
| 8 | Customer No. | Code[20] | 17-28 | - | - |
| 9 | Ship-to Code | Code[10] | 17-28 | - | - |
| 10 | Item No. | Code[20] | 17-28 | - | - |
| 11 | Unit of Measure Code | Code[10] | 17-28 | - | - |
| 12 | Location of Service Item | Text[30] | 17-28 | - | - |
| 13 | Sales Unit Price | Decimal | 17-28 | - | - |
| 14 | Sales Unit Cost | Decimal | 17-28 | - | - |
| 15 | Warranty Starting Date (Labor) | Date | 17-28 | - | - |
| 16 | Warranty Ending Date (Labor) | Date | 17-28 | - | - |
| 17 | Warranty Starting Date (Parts) | Date | 17-28 | - | - |
| 18 | Warranty Ending Date (Parts) | Date | 17-28 | - | - |
| 19 | Warranty % (Parts) | Decimal | 17-28 | - | - |
| 20 | Warranty % (Labor) | Decimal | 17-28 | - | - |
| 21 | Response Time (Hours) | Decimal | 17-28 | - | - |
| 22 | Installation Date | Date | 17-28 | - | - |
| 23 | Sales Date | Date | 17-28 | - | - |
| 24 | Last Service Date | Date | 17-28 | - | - |
| 25 | Default Contract Value | Decimal | 17-28 | - | - |
| 26 | Default Contract Discount % | Decimal | 17-28 | - | - |
| 28 | No. of Active Contracts | Integer | 17-28 | - | - |
| 33 | Vendor No. | Code[20] | 17-28 | - | - |
| 34 | Vendor Item No. | Code[50] | 17-28 | - | - |
| 40 | Blocked | Enum Service Item Blocked | 24-28 | - | - |
| 47 | No. Series | Code[20] | 17-28 | - | - |
| 48 | Item Description | Text[100] | 17-28 | - | - |
| 49 | Name | Text[100] | 17-28 | - | - |
| 50 | Address | Text[100] | 17-28 | - | - |
| 51 | Address 2 | Text[50] | 17-28 | - | - |
| 52 | Post Code | Code[20] | 17-28 | - | - |
| 53 | City | Text[30] | 17-28 | - | - |
| 54 | Contact | Text[100] | 17-28 | - | - |
| 55 | Phone No. | Text[30] | 17-28 | - | - |
| 56 | Ship-to Name | Text[100] | 17-28 | - | - |
| 57 | Ship-to Address | Text[100] | 17-28 | - | - |
| 58 | Ship-to Address 2 | Text[50] | 17-28 | - | - |
| 59 | Ship-to Post Code | Code[20] | 17-28 | - | - |
| 60 | Ship-to City | Text[30] | 17-28 | - | - |
| 61 | Ship-to Contact | Text[100] | 17-28 | - | - |
| 62 | Ship-to Phone No. | Text[30] | 17-28 | - | - |
| 63 | Usage (Cost) | Decimal | 17-28 | - | - |
| 64 | Usage (Amount) | Decimal | 17-28 | - | - |
| 65 | Invoiced Amount | Decimal | 17-28 | - | - |
| 66 | Total Quantity | Decimal | 17-28 | - | - |
| 67 | Total Qty. Invoiced | Decimal | 17-28 | - | - |
| 68 | Resources Used | Decimal | 17-28 | - | - |
| 69 | Parts Used | Decimal | 17-28 | - | - |
| 70 | Cost Used | Decimal | 17-28 | - | - |
| 71 | Vendor Name | Text[100] | 17-28 | - | - |
| 72 | Vendor Item Name | Text[100] | 17-28 | - | - |
| 73 | Comment | Boolean | 17-28 | - | - |
| 74 | Service Item Components | Boolean | 17-28 | - | - |
| 75 | Preferred Resource | Code[20] | 17-28 | - | - |
| 76 | Variant Code | Code[10] | 17-28 | - | - |
| 77 | County | Text[30] | 17-28 | - | - |
| 78 | Ship-to County | Text[30] | 17-28 | - | - |
| 79 | Contract Cost | Decimal | 17-28 | - | - |
| 81 | Country/Region Code | Code[10] | 17-28 | - | - |
| 82 | Ship-to Country/Region Code | Code[10] | 17-28 | - | - |
| 83 | Name 2 | Text[50] | 17-28 | - | - |
| 84 | Ship-to Name 2 | Text[50] | 17-28 | - | - |
| 85 | Service Price Group Code | Code[10] | 17-28 | - | - |
| 86 | Default Contract Cost | Decimal | 17-28 | - | - |
| 87 | Prepaid Amount | Decimal | 17-28 | - | - |
| 88 | Search Description | Code[100] | 17-28 | - | - |
| 89 | Service Contracts | Boolean | 17-28 | - | - |
| 90 | Total Qty. Consumed | Decimal | 17-28 | - | - |
| 100 | Date Filter | Date | 17-28 | - | - |
| 101 | Type Filter | Enum Service Ledger Entry Type | 17-28 | - | - |
| 102 | Contract Filter | Code[20] | 17-28 | - | - |
| 103 | Service Order Filter | Code[20] | 17-28 | - | - |
| 104 | Sales/Serv. Shpt. Document No. | Code[20] | 17-28 | - | - |
| 105 | Sales/Serv. Shpt. Line No. | Integer | 17-28 | - | - |
| 106 | Shipment Type | Enum Service Item Shipment Type | 17-28 | - | - |
| 211 | Ship-to E-Mail | Text[80] | 26-28 | - | - |
| 721 | Coupled to Dataverse | Boolean | 24-28 | Removed 28.0 | Field Service is moved to Field Service Integration app. |

## Keys

| Name | Fields | Versions |
| --- | --- | --- |
| Key1, clustered | No. | 17-28 |
| Key2 | Item No., Serial No. | 17-28 |
| Key3 | Customer No., Ship-to Code, Item No., Serial No. | 17-28 |
| Key4 | Warranty Ending Date (Parts), Customer No., Ship-to Code | 17-28 |
| Key5 | Sales/Serv. Shpt. Document No., Sales/Serv. Shpt. Line No. | 17-28 |
| Key6 | Service Item Group Code | 17-28 |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| AssistEdit | (Record Service Item) | Boolean | public | 17-28 | - | - |
| MessageIfServItemLinesExist | (Text[100]) | - | public | 17-21 | - | - |
| CheckIfCanBeDeleted | () | Text | public | 17-28 | - | - |
| OmitAssignResSkills | (Boolean) | - | public | 17-28 | - | - |
| MessageIfServItemLinesExist | (Text) | - | public | 22-28 | - | - |
| ErrorIfBlockedForServiceContract | () | - | internal | 24-28 | - | - |
| ErrorIfBlockedForAll | () | - | internal | 24-28 | - | - |
| ServItemLinesExist | () | Boolean | public | 26-28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnAfterAssignItemValues | (var Record Service Item, var Record Service Item, Record Item, Integer) | 17-28 | - | - |
| Integration event | OnAfterDeleteServItemComponents | (var Record Service Item) | 17-28 | - | - |
| Integration event | OnBeforeMessageIfServItemLinesExist | (Record Service Item, Text[100], var Text, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeServItemLinesExistErr | (var Record Service Item, Text[100], var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeCheckIfCanBeDeleted | (var Record Service Item, var Text, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeValidateSerialNo | (var Record Service Item, var Record Service Item, var Boolean) | 19-28 | - | - |
| Integration event | OnAfterValidatePreferredResource | (var Record Service Item, var Record Service Item) | 20-28 | - | - |
| Integration event | OnBeforeValidateCustomerNo | (var Record Service Item, Integer, var Boolean) | 20-28 | - | - |
| Integration event | OnCheckifActiveServContLineExistOnAfterSetFilters | (var Record Service Contract Line) | 20-28 | - | - |
| Integration event | OnValidateCustomerNoOnAfterCalcShouldConfirmChange | (var Record Service Item, Integer, var Boolean) | 20-28 | - | - |
| Integration event | OnValidateShiptoCodeOnAfterCalcShouldConfirmChange | (var Record Service Item, Integer, var Boolean) | 21-28 | - | - |
| Integration event | OnBeforeValidatePreferredResource | (var Record Service Item, var Boolean) | 22-28 | - | - |
| Integration event | OnBeforeValidateWarrantyStartingDateLabor | (var Record Service Item, var Record Service Item, var Boolean) | 22-28 | - | - |
| Integration event | OnBeforeValidateWarrantyEndingDateLabor | (var Record Service Item, Record Service Item, var Boolean) | 22-28 | - | - |
| Integration event | OnBeforeValidateShiptoCode | (var Record Service Item, Record Service Item, var Boolean) | 22-28 | - | - |
| Integration event | OnValidateItemNoOnBeforeCheckCancelResSkillAssignment | (var Record Service Item, var Codeunit Resource Skill Mgt.) | 22-28 | - | - |
| Integration event | OnBeforeValidateWarrantyStartingDateParts | (var Record Service Item, var Record Service Item, var Record Item, var Boolean) | 22-28 | - | - |
| Integration event | OnBeforeInsertServiceItem | (var Record Service Item, var Record Service Item, var Boolean) | 22-28 | - | - |
| Integration event | OnBeforeDeleteServiceItem | (var Record Service Item, var Record Service Item, var Boolean) | 22-28 | - | - |
| Integration event | OnBeforeValidateItemNo | (var Record Service Item, var Record Service Item, var Boolean, var Boolean, var Record Resource Skill, var Boolean) | 22-28 | - | - |
| Integration event | OnBeforeMsgIfServItemLinesExist | (Integer, var Boolean) | 22-28 | - | - |
| Integration event | OnBeforeValidateWarrantyEndingDateParts | (var Record Service Item, Record Service Item, var Record Item, var Boolean) | 23-28 | - | - |
| Integration event | OnAfterServItemLinesExist | (var Record Service Item, var Record Service Item Line, Integer, var Boolean) | 24-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.
