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

Jonas Paprotka, https://jonas-paprotka.de/ref/table/6012-service-line-archive/

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.Service.Archive |
| Versions | 25-28 |
| Source file | Service/Archive/ServiceLineArchive.Table.al |

## Fields

| Id | Name | Type | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| 1 | Document Type | Enum Service Document Type | 25-28 | - | - |
| 2 | Customer No. | Code[20] | 25-28 | - | - |
| 3 | Document No. | Code[20] | 25-28 | - | - |
| 4 | Line No. | Integer | 25-28 | - | - |
| 5 | Type | Enum Service Line Type | 25-28 | - | - |
| 6 | No. | Code[20] | 25-28 | - | - |
| 7 | Location Code | Code[10] | 25-28 | - | - |
| 8 | Posting Group | Code[20] | 25-28 | - | - |
| 11 | Description | Text[100] | 25-28 | - | - |
| 12 | Description 2 | Text[50] | 25-28 | - | - |
| 13 | Unit of Measure | Text[50] | 25-28 | - | - |
| 15 | Quantity | Decimal | 25-28 | - | - |
| 16 | Outstanding Quantity | Decimal | 25-28 | - | - |
| 17 | Qty. to Invoice | Decimal | 25-28 | - | - |
| 18 | Qty. to Ship | Decimal | 25-28 | - | - |
| 22 | Unit Price | Decimal | 25-28 | - | - |
| 23 | Unit Cost (LCY) | Decimal | 25-28 | - | - |
| 25 | VAT % | Decimal | 25-28 | - | - |
| 27 | Line Discount % | Decimal | 25-28 | - | - |
| 28 | Line Discount Amount | Decimal | 25-28 | - | - |
| 29 | Amount | Decimal | 25-28 | - | - |
| 30 | Amount Including VAT | Decimal | 25-28 | - | - |
| 32 | Allow Invoice Disc. | Boolean | 25-28 | - | - |
| 34 | Gross Weight | Decimal | 25-28 | - | - |
| 35 | Net Weight | Decimal | 25-28 | - | - |
| 36 | Units per Parcel | Decimal | 25-28 | - | - |
| 37 | Unit Volume | Decimal | 25-28 | - | - |
| 38 | Appl.-to Item Entry | Integer | 25-28 | - | - |
| 40 | Shortcut Dimension 1 Code | Code[20] | 25-28 | - | - |
| 41 | Shortcut Dimension 2 Code | Code[20] | 25-28 | - | - |
| 42 | Customer Price Group | Code[10] | 25-28 | - | - |
| 45 | Job No. | Code[20] | 25-28 | - | - |
| 46 | Job Task No. | Code[20] | 25-28 | - | - |
| 47 | Job Line Type | Enum Job Line Type | 25-28 | - | - |
| 52 | Work Type Code | Code[10] | 25-28 | - | - |
| 57 | Outstanding Amount | Decimal | 25-28 | - | - |
| 58 | Qty. Shipped Not Invoiced | Decimal | 25-28 | - | - |
| 59 | Shipped Not Invoiced | Decimal | 25-28 | - | - |
| 60 | Quantity Shipped | Decimal | 25-28 | - | - |
| 61 | Quantity Invoiced | Decimal | 25-28 | - | - |
| 63 | Shipment No. | Code[20] | 25-28 | - | - |
| 64 | Shipment Line No. | Integer | 25-28 | - | - |
| 65 | Order No. | Code[20] | 25-28 | - | - |
| 68 | Bill-to Customer No. | Code[20] | 25-28 | - | - |
| 69 | Inv. Discount Amount | Decimal | 25-28 | - | - |
| 74 | Gen. Bus. Posting Group | Code[20] | 25-28 | - | - |
| 75 | Gen. Prod. Posting Group | Code[20] | 25-28 | - | - |
| 77 | VAT Calculation Type | Enum Tax Calculation Type | 25-28 | - | - |
| 78 | Transaction Type | Code[10] | 25-28 | - | - |
| 79 | Transport Method | Code[10] | 25-28 | - | - |
| 80 | Attached to Line No. | Integer | 25-28 | - | - |
| 81 | Exit Point | Code[10] | 25-28 | - | - |
| 82 | Area | Code[10] | 25-28 | - | - |
| 83 | Transaction Specification | Code[10] | 25-28 | - | - |
| 85 | Tax Area Code | Code[20] | 25-28 | - | - |
| 86 | Tax Liable | Boolean | 25-28 | - | - |
| 87 | Tax Group Code | Code[20] | 25-28 | - | - |
| 88 | VAT Clause Code | Code[20] | 25-28 | - | - |
| 89 | VAT Bus. Posting Group | Code[20] | 25-28 | - | - |
| 90 | VAT Prod. Posting Group | Code[20] | 25-28 | - | - |
| 91 | Currency Code | Code[10] | 25-28 | - | - |
| 92 | Outstanding Amount (LCY) | Decimal | 25-28 | - | - |
| 93 | Shipped Not Invoiced (LCY) | Decimal | 25-28 | - | - |
| 96 | Reserve | Enum Reserve Method | 25-28 | - | - |
| 99 | VAT Base Amount | Decimal | 25-28 | - | - |
| 100 | Unit Cost | Decimal | 25-28 | - | - |
| 101 | System-Created Entry | Boolean | 25-28 | - | - |
| 103 | Line Amount | Decimal | 25-28 | - | - |
| 104 | VAT Difference | Decimal | 25-28 | - | - |
| 105 | Inv. Disc. Amount to Invoice | Decimal | 25-28 | - | - |
| 106 | VAT Identifier | Code[20] | 25-28 | - | - |
| 145 | Pmt. Discount Amount | Decimal | 25-28 | - | - |
| 480 | Dimension Set ID | Integer | 25-28 | - | - |
| 950 | Time Sheet No. | Code[20] | 25-28 | - | - |
| 951 | Time Sheet Line No. | Integer | 25-28 | - | - |
| 952 | Time Sheet Date | Date | 25-28 | - | - |
| 1019 | Job Planning Line No. | Integer | 25-28 | - | - |
| 1030 | Job Remaining Qty. | Decimal | 25-28 | - | - |
| 1031 | Job Remaining Qty. (Base) | Decimal | 25-28 | - | - |
| 1032 | Job Remaining Total Cost | Decimal | 25-28 | - | - |
| 1033 | Job Remaining Total Cost (LCY) | Decimal | 25-28 | - | - |
| 1034 | Job Remaining Line Amount | Decimal | 25-28 | - | - |
| 5047 | Version No. | Integer | 25-28 | - | - |
| 5048 | Doc. No. Occurrence | Integer | 25-28 | - | - |
| 5402 | Variant Code | Code[10] | 25-28 | - | - |
| 5403 | Bin Code | Code[20] | 25-28 | - | - |
| 5404 | Qty. per Unit of Measure | Decimal | 25-28 | - | - |
| 5405 | Planned | Boolean | 25-28 | - | - |
| 5407 | Unit of Measure Code | Code[10] | 25-28 | - | - |
| 5408 | Qty. Rounding Precision | Decimal | 25-28 | - | - |
| 5409 | Qty. Rounding Precision (Base) | Decimal | 25-28 | - | - |
| 5415 | Quantity (Base) | Decimal | 25-28 | - | - |
| 5416 | Outstanding Qty. (Base) | Decimal | 25-28 | - | - |
| 5417 | Qty. to Invoice (Base) | Decimal | 25-28 | - | - |
| 5418 | Qty. to Ship (Base) | Decimal | 25-28 | - | - |
| 5458 | Qty. Shipped Not Invd. (Base) | Decimal | 25-28 | - | - |
| 5460 | Qty. Shipped (Base) | Decimal | 25-28 | - | - |
| 5461 | Qty. Invoiced (Base) | Decimal | 25-28 | - | - |
| 5700 | Responsibility Center | Code[10] | 25-28 | - | - |
| 5709 | Item Category Code | Code[20] | 25-28 | - | - |
| 5710 | Nonstock | Boolean | 25-28 | - | - |
| 5725 | Item Reference No. | Code[50] | 25-28 | - | - |
| 5726 | Item Reference Unit of Measure | Code[10] | 25-28 | - | - |
| 5727 | Item Reference Type | Enum Item Reference Type | 25-28 | - | - |
| 5728 | Item Reference Type No. | Code[30] | 25-28 | - | - |
| 5752 | Completely Shipped | Boolean | 25-28 | - | - |
| 5790 | Requested Delivery Date | Date | 25-28 | - | - |
| 5791 | Promised Delivery Date | Date | 25-28 | - | - |
| 5792 | Shipping Time | DateFormula | 25-28 | - | - |
| 5794 | Planned Delivery Date | Date | 25-28 | - | - |
| 5796 | Shipping Agent Code | Code[10] | 25-28 | - | - |
| 5797 | Shipping Agent Service Code | Code[10] | 25-28 | - | - |
| 5811 | Appl.-from Item Entry | Integer | 25-28 | - | - |
| 5902 | Service Item No. | Code[20] | 25-28 | - | - |
| 5903 | Appl.-to Service Entry | Integer | 25-28 | - | - |
| 5904 | Service Item Line No. | Integer | 25-28 | - | - |
| 5905 | Service Item Serial No. | Code[50] | 25-28 | - | - |
| 5906 | Service Item Line Description | Text[100] | 25-28 | - | - |
| 5907 | Serv. Price Adjmt. Gr. Code | Code[10] | 25-28 | - | - |
| 5908 | Posting Date | Date | 25-28 | - | - |
| 5909 | Order Date | Date | 25-28 | - | - |
| 5910 | Needed by Date | Date | 25-28 | - | - |
| 5916 | Ship-to Code | Code[10] | 25-28 | - | - |
| 5917 | Qty. to Consume | Decimal | 25-28 | - | - |
| 5918 | Quantity Consumed | Decimal | 25-28 | - | - |
| 5919 | Qty. to Consume (Base) | Decimal | 25-28 | - | - |
| 5920 | Qty. Consumed (Base) | Decimal | 25-28 | - | - |
| 5928 | Service Price Group Code | Code[10] | 25-28 | - | - |
| 5929 | Fault Area Code | Code[10] | 25-28 | - | - |
| 5930 | Symptom Code | Code[10] | 25-28 | - | - |
| 5931 | Fault Code | Code[10] | 25-28 | - | - |
| 5932 | Resolution Code | Code[10] | 25-28 | - | - |
| 5933 | Exclude Warranty | Boolean | 25-28 | - | - |
| 5934 | Warranty | Boolean | 25-28 | - | - |
| 5936 | Contract No. | Code[20] | 25-28 | - | - |
| 5938 | Contract Disc. % | Decimal | 25-28 | - | - |
| 5939 | Warranty Disc. % | Decimal | 25-28 | - | - |
| 5965 | Component Line No. | Integer | 25-28 | - | - |
| 5966 | Spare Part Action | Option | 25-28 | - | - |
| 5967 | Fault Reason Code | Code[10] | 25-28 | - | - |
| 5968 | Replaced Item No. | Code[20] | 25-28 | - | - |
| 5969 | Exclude Contract Discount | Boolean | 25-28 | - | - |
| 5970 | Replaced Item Type | Enum Replaced Service Item Component Type | 25-28 | - | - |
| 5994 | Price Adjmt. Status | Option | 25-28 | - | - |
| 5997 | Line Discount Type | Option | 25-28 | - | - |
| 5999 | Copy Components From | Option | 25-28 | - | - |
| 6608 | Return Reason Code | Code[10] | 25-28 | - | - |
| 7000 | Price Calculation Method | Enum Price Calculation Method | 25-28 | - | - |
| 7001 | Allow Line Disc. | Boolean | 25-28 | - | - |
| 7002 | Customer Disc. Group | Code[20] | 25-28 | - | - |
| 7300 | Qty. Picked | Decimal | 25-28 | - | - |
| 7301 | Qty. Picked (Base) | Decimal | 25-28 | - | - |
| 7302 | Completely Picked | Boolean | 25-28 | - | - |
| 7303 | Pick Qty. (Base) | Decimal | 25-28 | - | - |

## Keys

| Name | Fields | Versions |
| --- | --- | --- |
| Key1, clustered | Document Type, Document No., Doc. No. Occurrence, Version No., Line No. | 25-28 |
| Key2 | Document Type, Document No., Line No., Doc. No. Occurrence, Version No. | 25-28 |
| Key3 | Customer No. | 25-28 |
| Key4 | Bill-to Customer No. | 25-28 |
| Key5 | Type, No. | 25-28 |
| Key6 | Document No., Document Type, Doc. No. Occurrence, Version No. | 25-28 |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| ShowLineComments | () | - | public | 25-28 | - | - |
| ShowDimensions | () | - | public | 25-28 | - | - |
| GetCaptionClass | (Integer) | Text[80] | public | 25-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.
