---
title: "Report 416 Archived Purchase Order, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/report/416-archived-purchase-order/points/
object: https://jonas-paprotka.de/ref/report/416-archived-purchase-order/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/report/416-archived-purchase-order/source/
checked: 2026-11-20
changed: 2026-10-05
subject: "Microsoft Dynamics 365 Business Central"
license: "Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/"
---

# Report 416 Archived Purchase Order, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/report/416-archived-purchase-order/points/

12 procedures and triggers with a step in src/Layers/W1/BaseApp/Purchases/Archive/ArchivedPurchaseOrder.Report.al, in source order, read from the text, not from a run.

## Line_DimensionsCaption.OnPostDataItem

[Line 524](https://jonas-paprotka.de/ref/report/416-archived-purchase-order/source/#L524), trigger.

- [526](https://jonas-paprotka.de/ref/report/416-archived-purchase-order/source/#L526) writes [Table 5110 Purchase Line Archive](https://jonas-paprotka.de/ref/table/5110-purchase-line-archive/) DeleteAll

## VATAmountLine__VAT_Base__Control107Caption.OnAfterGetRecord

[Line 693](https://jonas-paprotka.de/ref/report/416-archived-purchase-order/source/#L693), trigger.

- [695](https://jonas-paprotka.de/ref/report/416-archived-purchase-order/source/#L695) calls [Table 290 VAT Amount Line](https://jonas-paprotka.de/ref/table/290-vat-amount-line/) `GetLine`

## VALVATBaseLCY_Control166Caption.OnAfterGetRecord

[Line 778](https://jonas-paprotka.de/ref/report/416-archived-purchase-order/source/#L778), trigger.

- [780](https://jonas-paprotka.de/ref/report/416-archived-purchase-order/source/#L780) calls [Table 290 VAT Amount Line](https://jonas-paprotka.de/ref/table/290-vat-amount-line/) `GetLine`
- [782](https://jonas-paprotka.de/ref/report/416-archived-purchase-order/source/#L782) calls [Table 290 VAT Amount Line](https://jonas-paprotka.de/ref/table/290-vat-amount-line/) `GetBaseLCY`
- [786](https://jonas-paprotka.de/ref/report/416-archived-purchase-order/source/#L786) calls [Table 290 VAT Amount Line](https://jonas-paprotka.de/ref/table/290-vat-amount-line/) `GetAmountLCY`

## VALVATBaseLCY_Control166Caption.OnPreDataItem

[Line 791](https://jonas-paprotka.de/ref/report/416-archived-purchase-order/source/#L791), trigger.

- [795](https://jonas-paprotka.de/ref/report/416-archived-purchase-order/source/#L795) calls [Table 290 VAT Amount Line](https://jonas-paprotka.de/ref/table/290-vat-amount-line/) `GetTotalVATAmount`
- [808](https://jonas-paprotka.de/ref/report/416-archived-purchase-order/source/#L808) calls [Table 330 Currency Exchange Rate](https://jonas-paprotka.de/ref/table/330-currency-exchange-rate/) `FindCurrency`

## PrepmtVATAmountLine__VAT_Base__Control216Caption.OnAfterGetRecord

[Line 1187](https://jonas-paprotka.de/ref/report/416-archived-purchase-order/source/#L1187), trigger.

- [1189](https://jonas-paprotka.de/ref/report/416-archived-purchase-order/source/#L1189) calls [Table 290 VAT Amount Line](https://jonas-paprotka.de/ref/table/290-vat-amount-line/) `GetLine`

## PrepmtPaymentTerms_DescriptionCaption.OnAfterGetRecord

[Line 1218](https://jonas-paprotka.de/ref/report/416-archived-purchase-order/source/#L1218), trigger.

- [1223](https://jonas-paprotka.de/ref/report/416-archived-purchase-order/source/#L1223) calls `InitTempLines`
- [1225](https://jonas-paprotka.de/ref/report/416-archived-purchase-order/source/#L1225) calls [Table 290 VAT Amount Line](https://jonas-paprotka.de/ref/table/290-vat-amount-line/) `GetTotalVATAmount`
- [1226](https://jonas-paprotka.de/ref/report/416-archived-purchase-order/source/#L1226) calls [Table 290 VAT Amount Line](https://jonas-paprotka.de/ref/table/290-vat-amount-line/) `GetTotalVATBase`
- [1228](https://jonas-paprotka.de/ref/report/416-archived-purchase-order/source/#L1228) calls [Table 290 VAT Amount Line](https://jonas-paprotka.de/ref/table/290-vat-amount-line/) `GetTotalVATDiscount`
- [1229](https://jonas-paprotka.de/ref/report/416-archived-purchase-order/source/#L1229) calls [Table 290 VAT Amount Line](https://jonas-paprotka.de/ref/table/290-vat-amount-line/) `GetTotalAmountInclVAT`
- [1232](https://jonas-paprotka.de/ref/report/416-archived-purchase-order/source/#L1232) calls [Codeunit 368 Format Document](https://jonas-paprotka.de/ref/codeunit/368-format-document/) `GetCOPYText`

## PrepmtPaymentTerms_DescriptionCaption.OnPostDataItem

[Line 1239](https://jonas-paprotka.de/ref/report/416-archived-purchase-order/source/#L1239), trigger.

- [1241](https://jonas-paprotka.de/ref/report/416-archived-purchase-order/source/#L1241) calls `IsReportInPreviewMode`
- [1242](https://jonas-paprotka.de/ref/report/416-archived-purchase-order/source/#L1242) runs [Codeunit 321 Purch.HeaderArch-Printed](https://jonas-paprotka.de/ref/codeunit/321-purch-headerarch-printed/)

## PrepmtPaymentTerms_DescriptionCaption.OnAfterGetRecord

[Line 1254](https://jonas-paprotka.de/ref/report/416-archived-purchase-order/source/#L1254), trigger.

- [1256](https://jonas-paprotka.de/ref/report/416-archived-purchase-order/source/#L1256) calls [Codeunit 43 Language](https://jonas-paprotka.de/ref/codeunit/43-language/) `GetLanguageIdOrDefault`
- [1257](https://jonas-paprotka.de/ref/report/416-archived-purchase-order/source/#L1257) calls [Codeunit 43 Language](https://jonas-paprotka.de/ref/codeunit/43-language/) `GetFormatRegionOrDefault`
- [1258](https://jonas-paprotka.de/ref/report/416-archived-purchase-order/source/#L1258) calls [Codeunit 365 Format Address](https://jonas-paprotka.de/ref/codeunit/365-format-address/) `SetLanguageCode`
- [1260](https://jonas-paprotka.de/ref/report/416-archived-purchase-order/source/#L1260) calls `FormatAddressFields`
- [1261](https://jonas-paprotka.de/ref/report/416-archived-purchase-order/source/#L1261) calls `FormatDocumentFields`

## IsReportInPreviewMode

[Line 1448](https://jonas-paprotka.de/ref/report/416-archived-purchase-order/source/#L1448), local.

- [1452](https://jonas-paprotka.de/ref/report/416-archived-purchase-order/source/#L1452) calls [Codeunit 9520 Mail Management](https://jonas-paprotka.de/ref/codeunit/9520-mail-management/) `IsHandlingGetEmailBody`

## FormatAddressFields

[Line 1455](https://jonas-paprotka.de/ref/report/416-archived-purchase-order/source/#L1455), local.

- [1457](https://jonas-paprotka.de/ref/report/416-archived-purchase-order/source/#L1457) calls [Codeunit 365 Format Address](https://jonas-paprotka.de/ref/codeunit/365-format-address/) `GetCompanyAddr`
- [1458](https://jonas-paprotka.de/ref/report/416-archived-purchase-order/source/#L1458) calls [Codeunit 365 Format Address](https://jonas-paprotka.de/ref/codeunit/365-format-address/) `PurchHeaderBuyFromArch`
- [1460](https://jonas-paprotka.de/ref/report/416-archived-purchase-order/source/#L1460) calls [Codeunit 365 Format Address](https://jonas-paprotka.de/ref/codeunit/365-format-address/) `PurchHeaderPayToArch`
- [1461](https://jonas-paprotka.de/ref/report/416-archived-purchase-order/source/#L1461) calls [Codeunit 365 Format Address](https://jonas-paprotka.de/ref/codeunit/365-format-address/) `PurchHeaderShipToArch`

## FormatDocumentFields

[Line 1464](https://jonas-paprotka.de/ref/report/416-archived-purchase-order/source/#L1464), local.

- [1466](https://jonas-paprotka.de/ref/report/416-archived-purchase-order/source/#L1466) calls [Codeunit 368 Format Document](https://jonas-paprotka.de/ref/codeunit/368-format-document/) `SetTotalLabels`
- [1467](https://jonas-paprotka.de/ref/report/416-archived-purchase-order/source/#L1467) calls [Codeunit 368 Format Document](https://jonas-paprotka.de/ref/codeunit/368-format-document/) `SetPurchaser`
- [1468](https://jonas-paprotka.de/ref/report/416-archived-purchase-order/source/#L1468) calls [Codeunit 368 Format Document](https://jonas-paprotka.de/ref/codeunit/368-format-document/) `SetPaymentTerms`
- [1469](https://jonas-paprotka.de/ref/report/416-archived-purchase-order/source/#L1469) calls [Codeunit 368 Format Document](https://jonas-paprotka.de/ref/codeunit/368-format-document/) `SetPaymentTerms`
- [1470](https://jonas-paprotka.de/ref/report/416-archived-purchase-order/source/#L1470) calls [Codeunit 368 Format Document](https://jonas-paprotka.de/ref/codeunit/368-format-document/) `SetShipmentMethod`
- [1471](https://jonas-paprotka.de/ref/report/416-archived-purchase-order/source/#L1471) calls [Codeunit 368 Format Document](https://jonas-paprotka.de/ref/codeunit/368-format-document/) `SetText`
- [1472](https://jonas-paprotka.de/ref/report/416-archived-purchase-order/source/#L1472) calls [Codeunit 368 Format Document](https://jonas-paprotka.de/ref/codeunit/368-format-document/) `SetText`

## InitTempLines

[Line 1475](https://jonas-paprotka.de/ref/report/416-archived-purchase-order/source/#L1475), local.

- [1477](https://jonas-paprotka.de/ref/report/416-archived-purchase-order/source/#L1477) calls [Table 5110 Purchase Line Archive](https://jonas-paprotka.de/ref/table/5110-purchase-line-archive/) `CopyTempLines`
- [1479](https://jonas-paprotka.de/ref/report/416-archived-purchase-order/source/#L1479) writes [Table 290 VAT Amount Line](https://jonas-paprotka.de/ref/table/290-vat-amount-line/) DeleteAll
- [1482](https://jonas-paprotka.de/ref/report/416-archived-purchase-order/source/#L1482) calls [Table 39 Purchase Line](https://jonas-paprotka.de/ref/table/39-purchase-line/) `CalcVATAmountLines`

## Source

AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
