---
title: "Table 5109 Purchase Header Archive"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/table/5109-purchase-header-archive/
type: table
id: 5109
name: "Purchase Header Archive"
app: "Base Application"
namespace: Microsoft.Purchases.Archive
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/table/5109-purchase-header-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 5109 Purchase Header Archive

Jonas Paprotka, https://jonas-paprotka.de/ref/table/5109-purchase-header-archive/

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

## Fields

| Id | Name | Type | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| 1 | Document Type | Enum Purchase Document Type | 17-28 | - | - |
| 2 | Buy-from Vendor No. | Code[20] | 17-28 | - | - |
| 3 | No. | Code[20] | 17-28 | - | - |
| 4 | Pay-to Vendor No. | Code[20] | 17-28 | - | - |
| 5 | Pay-to Name | Text[100] | 17-28 | - | - |
| 6 | Pay-to Name 2 | Text[50] | 17-28 | - | - |
| 7 | Pay-to Address | Text[100] | 17-28 | - | - |
| 8 | Pay-to Address 2 | Text[50] | 17-28 | - | - |
| 9 | Pay-to City | Text[30] | 17-28 | - | - |
| 10 | Pay-to Contact | Text[100] | 17-28 | - | - |
| 11 | Your Reference | Text[35] | 17-28 | - | - |
| 12 | Ship-to Code | Code[10] | 17-28 | - | - |
| 13 | Ship-to Name | Text[100] | 17-28 | - | - |
| 14 | Ship-to Name 2 | Text[50] | 17-28 | - | - |
| 15 | Ship-to Address | Text[100] | 17-28 | - | - |
| 16 | Ship-to Address 2 | Text[50] | 17-28 | - | - |
| 17 | Ship-to City | Text[30] | 17-28 | - | - |
| 18 | Ship-to Contact | Text[100] | 17-28 | - | - |
| 19 | Order Date | Date | 17-28 | - | - |
| 20 | Posting Date | Date | 17-28 | - | - |
| 21 | Expected Receipt Date | Date | 17-28 | - | - |
| 22 | Posting Description | Text[100] | 17-28 | - | - |
| 23 | Payment Terms Code | Code[10] | 17-28 | - | - |
| 24 | Due Date | Date | 17-28 | - | - |
| 25 | Payment Discount % | Decimal | 17-28 | - | - |
| 26 | Pmt. Discount Date | Date | 17-28 | - | - |
| 27 | Shipment Method Code | Code[10] | 17-28 | - | - |
| 28 | Location Code | Code[10] | 17-28 | - | - |
| 29 | Shortcut Dimension 1 Code | Code[20] | 17-28 | - | - |
| 30 | Shortcut Dimension 2 Code | Code[20] | 17-28 | - | - |
| 31 | Vendor Posting Group | Code[20] | 17-28 | - | - |
| 32 | Currency Code | Code[10] | 17-28 | - | - |
| 33 | Currency Factor | Decimal | 17-28 | - | - |
| 35 | Prices Including VAT | Boolean | 17-28 | - | - |
| 37 | Invoice Disc. Code | Code[20] | 17-28 | - | - |
| 41 | Language Code | Code[10] | 17-28 | - | - |
| 42 | Format Region | Text[80] | 23-28 | - | - |
| 43 | Purchaser Code | Code[20] | 17-28 | - | - |
| 45 | Order Class | Code[10] | 17-28 | - | - |
| 46 | Comment | Boolean | 17-28 | - | - |
| 47 | No. Printed | Integer | 17-28 | - | - |
| 51 | On Hold | Code[3] | 17-28 | - | - |
| 52 | Applies-to Doc. Type | Enum Gen. Journal Document Type | 17-28 | - | - |
| 53 | Applies-to Doc. No. | Code[20] | 17-28 | - | - |
| 55 | Bal. Account No. | Code[20] | 17-28 | - | - |
| 57 | Receive | Boolean | 17-28 | - | - |
| 58 | Invoice | Boolean | 17-28 | - | - |
| 60 | Amount | Decimal | 17-28 | - | - |
| 61 | Amount Including VAT | Decimal | 17-28 | - | - |
| 62 | Receiving No. | Code[20] | 17-28 | - | - |
| 63 | Posting No. | Code[20] | 17-28 | - | - |
| 64 | Last Receiving No. | Code[20] | 17-28 | - | - |
| 65 | Last Posting No. | Code[20] | 17-28 | - | - |
| 66 | Vendor Order No. | Code[35] | 17-28 | - | - |
| 67 | Vendor Shipment No. | Code[35] | 17-28 | - | - |
| 68 | Vendor Invoice No. | Code[35] | 17-28 | - | - |
| 69 | Vendor Cr. Memo No. | Code[35] | 17-28 | - | - |
| 70 | VAT Registration No. | Text[20] | 17-28 | - | - |
| 72 | Sell-to Customer No. | Code[20] | 17-28 | - | - |
| 73 | Reason Code | Code[10] | 17-28 | - | - |
| 74 | Gen. Bus. Posting Group | Code[20] | 17-28 | - | - |
| 76 | Transaction Type | Code[10] | 17-28 | - | - |
| 77 | Transport Method | Code[10] | 17-28 | - | - |
| 78 | VAT Country/Region Code | Code[10] | 17-28 | - | - |
| 79 | Buy-from Vendor Name | Text[100] | 17-28 | - | - |
| 80 | Buy-from Vendor Name 2 | Text[50] | 17-28 | - | - |
| 81 | Buy-from Address | Text[100] | 17-28 | - | - |
| 82 | Buy-from Address 2 | Text[50] | 17-28 | - | - |
| 83 | Buy-from City | Text[30] | 17-28 | - | - |
| 84 | Buy-from Contact | Text[100] | 17-28 | - | - |
| 85 | Pay-to Post Code | Code[20] | 17-28 | - | - |
| 86 | Pay-to County | Text[30] | 17-28 | - | - |
| 87 | Pay-to Country/Region Code | Code[10] | 17-28 | - | - |
| 88 | Buy-from Post Code | Code[20] | 17-28 | - | - |
| 89 | Buy-from County | Text[30] | 17-28 | - | - |
| 90 | Buy-from Country/Region Code | Code[10] | 17-28 | - | - |
| 91 | Ship-to Post Code | Code[20] | 17-28 | - | - |
| 92 | Ship-to County | Text[30] | 17-28 | - | - |
| 93 | Ship-to Country/Region Code | Code[10] | 17-28 | - | - |
| 94 | Bal. Account Type | Enum Payment Balance Account Type | 17-28 | - | - |
| 95 | Order Address Code | Code[10] | 17-28 | - | - |
| 97 | Entry Point | Code[10] | 17-28 | - | - |
| 98 | Correction | Boolean | 17-28 | - | - |
| 99 | Document Date | Date | 17-28 | - | - |
| 101 | Area | Code[10] | 17-28 | - | - |
| 102 | Transaction Specification | Code[10] | 17-28 | - | - |
| 104 | Payment Method Code | Code[10] | 17-28 | - | - |
| 107 | No. Series | Code[20] | 17-28 | - | - |
| 108 | Posting No. Series | Code[20] | 17-28 | - | - |
| 109 | Receiving No. Series | Code[20] | 17-28 | - | - |
| 114 | Tax Area Code | Code[20] | 17-28 | - | - |
| 115 | Tax Liable | Boolean | 17-28 | - | - |
| 116 | VAT Bus. Posting Group | Code[20] | 17-28 | - | - |
| 118 | Applies-to ID | Code[50] | 17-28 | - | - |
| 119 | VAT Base Discount % | Decimal | 17-28 | - | - |
| 120 | Status | Enum Purchase Document Status | 17-28 | - | - |
| 121 | Invoice Discount Calculation | Option | 17-28 | - | - |
| 122 | Invoice Discount Value | Decimal | 17-28 | - | - |
| 123 | Send IC Document | Boolean | 17-28 | - | - |
| 124 | IC Status | Enum Purchase Document IC Status | 17-28 | - | - |
| 125 | Buy-from IC Partner Code | Code[20] | 17-28 | - | - |
| 126 | Pay-to IC Partner Code | Code[20] | 17-28 | - | - |
| 127 | IC Reference Document No. | Code[20] | 22-28 | - | - |
| 129 | IC Direction | Enum IC Direction Type | 17-28 | - | - |
| 130 | Prepayment No. | Code[20] | 17-28 | - | - |
| 131 | Last Prepayment No. | Code[20] | 17-28 | - | - |
| 132 | Prepmt. Cr. Memo No. | Code[20] | 17-28 | - | - |
| 133 | Last Prepmt. Cr. Memo No. | Code[20] | 17-28 | - | - |
| 134 | Prepayment % | Decimal | 17-28 | - | - |
| 135 | Prepayment No. Series | Code[20] | 17-28 | - | - |
| 136 | Compress Prepayment | Boolean | 17-28 | - | - |
| 137 | Prepayment Due Date | Date | 17-28 | - | - |
| 138 | Prepmt. Cr. Memo No. Series | Code[20] | 17-28 | - | - |
| 139 | Prepmt. Posting Description | Text[100] | 17-28 | - | - |
| 142 | Prepmt. Pmt. Discount Date | Date | 17-28 | - | - |
| 143 | Prepmt. Payment Terms Code | Code[10] | 17-28 | - | - |
| 144 | Prepmt. Payment Discount % | Decimal | 17-28 | - | - |
| 145 | No. of Archived Versions | Integer | 17-28 | - | - |
| 151 | Purchase Quote No. | Code[20] | 17-28 | - | - |
| 165 | Incoming Document Entry No. | Integer | 24-28 | - | - |
| 179 | VAT Reporting Date | Date | 21-28 | - | - |
| 210 | Ship-to Phone No. | Text[30] | 25-28 | - | - |
| 480 | Dimension Set ID | Integer | 17-28 | - | - |
| 3998 | Source Doc. Exists | Boolean | 18-28 | - | - |
| 3999 | Last Archived Date | DateTime | 18-28 | - | - |
| 5043 | Interaction Exist | Boolean | 17-28 | - | - |
| 5044 | Time Archived | Time | 17-28 | - | - |
| 5045 | Date Archived | Date | 17-28 | - | - |
| 5046 | Archived By | Code[50] | 17-28 | - | - |
| 5047 | Version No. | Integer | 17-28 | - | - |
| 5048 | Doc. No. Occurrence | Integer | 17-28 | - | - |
| 5050 | Campaign No. | Code[20] | 17-28 | - | - |
| 5052 | Buy-from Contact No. | Code[20] | 17-28 | - | - |
| 5053 | Pay-to Contact No. | Code[20] | 17-28 | - | - |
| 5700 | Responsibility Center | Code[10] | 17-28 | - | - |
| 5752 | Completely Received | Boolean | 17-28 | - | - |
| 5753 | Posting from Whse. Ref. | Integer | 17-28 | - | - |
| 5754 | Location Filter | Code[10] | 17-28 | - | - |
| 5790 | Requested Receipt Date | Date | 17-28 | - | - |
| 5791 | Promised Receipt Date | Date | 17-28 | - | - |
| 5792 | Lead Time Calculation | DateFormula | 17-28 | - | - |
| 5793 | Inbound Whse. Handling Time | DateFormula | 17-28 | - | - |
| 5796 | Date Filter | Date | 17-28 | - | - |
| 5800 | Vendor Authorization No. | Code[35] | 17-28 | - | - |
| 5801 | Return Shipment No. | Code[20] | 17-28 | - | - |
| 5802 | Return Shipment No. Series | Code[20] | 17-28 | - | - |
| 5803 | Ship | Boolean | 17-28 | - | - |
| 5804 | Last Return Shipment No. | Code[20] | 17-28 | - | - |
| 7000 | Price Calculation Method | Enum Price Calculation Method | 17-28 | - | - |
| 9000 | Assigned User ID | Code[50] | 17-28 | - | - |

## Keys

| Name | Fields | Versions |
| --- | --- | --- |
| Key1, clustered | Document Type, No., Doc. No. Occurrence, Version No. | 17-28 |
| Key2 | Document Type, Buy-from Vendor No. | 17-28 |
| Key3 | Document Type, Pay-to Vendor No. | 17-28 |
| Key4 | Incoming Document Entry No. | 24-28 |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| ShowDimensions | () | - | public | 17-28 | - | - |
| SetSecurityFilterOnRespCenter | () | - | public | 17-28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnBeforeSetSecurityFilterOnRespCenter | (var Record Purchase Header Archive, var Boolean) | 19-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.
