---
title: "Table 174 Standard Purchase Line"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/table/174-standard-purchase-line/
type: table
id: 174
name: "Standard Purchase Line"
app: "Base Application"
namespace: Microsoft.Purchases.Document
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/table/174-standard-purchase-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 174 Standard Purchase Line

Jonas Paprotka, https://jonas-paprotka.de/ref/table/174-standard-purchase-line/

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

## Fields

| Id | Name | Type | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| 1 | Standard Purchase Code | Code[10] | 17-28 | - | - |
| 2 | Line No. | Integer | 17-28 | - | - |
| 3 | Type | Enum Purchase 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 Purchase 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 | - | - |
| FormatType | () | Text[20] | public | 17-28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnBeforeLookupShortcutDimCode | (var Record Standard Purchase Line, var Record Standard Purchase Line, Integer, var Code[20], var Boolean) | 17-28 | - | - |
| Integration event | OnAfterValidateGLAccountNo | (var Record Standard Purchase Line, Record G/L Account) | 17-28 | - | - |
| Integration event | OnAfterValidateShortcutDimCode | (var Record Standard Purchase Line, Record Standard Purchase Line, Integer, var Code[20]) | 17-28 | - | - |
| Integration event | OnBeforeValidateShortcutDimCode | (var Record Standard Purchase Line, Record Standard Purchase Line, Integer, var Code[20]) | 17-28 | - | - |
| Integration event | OnAfterShowDimensions | (var Record Standard Purchase Line, var Codeunit DimensionManagement) | 18-28 | - | - |
| Integration event | OnAfterValidateItemNo | (var Record Standard Purchase Line, Record Item) | 19-28 | - | - |
| Integration event | OnAfterValidateResourceNo | (var Record Standard Purchase Line, Record Resource) | 19-28 | - | - |
| Integration event | OnAfterValidateFANo | (var Record Standard Purchase Line, Record Fixed Asset) | 19-28 | - | - |
| Integration event | OnAfterValidateItemChargeNo | (var Record Standard Purchase Line, Record Item Charge) | 19-28 | - | - |
| Integration event | OnBeforeValidateAmountExclVAT | (var Record Standard Purchase Line, var Boolean) | 27-28 | - | - |
| Integration event | OnBeforeValidateUnitOfMeasureCode | (var Record Standard Purchase Line, var Boolean) | 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.
