---
title: "Report 322 Aged Accounts Payable, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/report/322-aged-accounts-payable/points/
object: https://jonas-paprotka.de/ref/report/322-aged-accounts-payable/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/report/322-aged-accounts-payable/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 322 Aged Accounts Payable, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/report/322-aged-accounts-payable/points/

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

## Vendor Ledger Entry.OnAfterGetRecord

[Line 164](https://jonas-paprotka.de/ref/report/322-aged-accounts-payable/source/#L164), trigger.

- [171](https://jonas-paprotka.de/ref/report/322-aged-accounts-payable/source/#L171) calls `CopyDimFiltersFromVendor`
- [174](https://jonas-paprotka.de/ref/report/322-aged-accounts-payable/source/#L174) calls `InsertTemp`
- [181](https://jonas-paprotka.de/ref/report/322-aged-accounts-payable/source/#L181) calls `InsertTemp`
- [188](https://jonas-paprotka.de/ref/report/322-aged-accounts-payable/source/#L188) calls `CopyDimFiltersFromVendor`
- [191](https://jonas-paprotka.de/ref/report/322-aged-accounts-payable/source/#L191) calls `InsertTemp`

## Vendor Ledger Entry.OnPreDataItem

[Line 196](https://jonas-paprotka.de/ref/report/322-aged-accounts-payable/source/#L196), trigger.

- [199](https://jonas-paprotka.de/ref/report/322-aged-accounts-payable/source/#L199) calls `CopyDimFiltersFromVendor`

## OpenVendorLedgEntry.OnAfterGetRecord

[Line 209](https://jonas-paprotka.de/ref/report/322-aged-accounts-payable/source/#L209), trigger.

- [216](https://jonas-paprotka.de/ref/report/322-aged-accounts-payable/source/#L216) calls `InsertTemp`

## OpenVendorLedgEntry.OnPreDataItem

[Line 220](https://jonas-paprotka.de/ref/report/322-aged-accounts-payable/source/#L220), trigger.

- [226](https://jonas-paprotka.de/ref/report/322-aged-accounts-payable/source/#L226) calls `CopyDimFiltersFromVendor`

## CurrCode_TempVenLedgEntryLoop.OnAfterGetRecord

[Line 333](https://jonas-paprotka.de/ref/report/322-aged-accounts-payable/source/#L333), trigger.

- [410](https://jonas-paprotka.de/ref/report/322-aged-accounts-payable/source/#L410) calls `GetPeriodIndex`
- [412](https://jonas-paprotka.de/ref/report/322-aged-accounts-payable/source/#L412) calls `GetPeriodIndex`
- [420](https://jonas-paprotka.de/ref/report/322-aged-accounts-payable/source/#L420) calls `GetPeriodIndex`

## CurrCode_TempVenLedgEntryLoop.OnPostDataItem

[Line 434](https://jonas-paprotka.de/ref/report/322-aged-accounts-payable/source/#L434), trigger.

- [437](https://jonas-paprotka.de/ref/report/322-aged-accounts-payable/source/#L437) calls `UpdateCurrencyTotals`

## CurrCode_TempVenLedgEntryLoop.OnAfterGetRecord

[Line 472](https://jonas-paprotka.de/ref/report/322-aged-accounts-payable/source/#L472), trigger.

- [478](https://jonas-paprotka.de/ref/report/322-aged-accounts-payable/source/#L478) writes [Table 4 Currency](https://jonas-paprotka.de/ref/table/4-currency/) DeleteAll
- [480](https://jonas-paprotka.de/ref/report/322-aged-accounts-payable/source/#L480) writes [Table 25 Vendor Ledger Entry](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/) DeleteAll

## CurrencySpecificationCaption.OnAfterGetRecord

[Line 538](https://jonas-paprotka.de/ref/report/322-aged-accounts-payable/source/#L538), trigger.

- [552](https://jonas-paprotka.de/ref/report/322-aged-accounts-payable/source/#L552) calls `GetPeriodIndex`

## OnPreReport

[Line 660](https://jonas-paprotka.de/ref/report/322-aged-accounts-payable/source/#L660), trigger.

- [664](https://jonas-paprotka.de/ref/report/322-aged-accounts-payable/source/#L664) calls [Codeunit 368 Format Document](https://jonas-paprotka.de/ref/codeunit/368-format-document/) `GetRecordFiltersWithCaptions`
- [668](https://jonas-paprotka.de/ref/report/322-aged-accounts-payable/source/#L668) calls `CalcDates`
- [669](https://jonas-paprotka.de/ref/report/322-aged-accounts-payable/source/#L669) calls `CreateHeadings`

## InsertTemp

[Line 800](https://jonas-paprotka.de/ref/report/322-aged-accounts-payable/source/#L800), local.

- [807](https://jonas-paprotka.de/ref/report/322-aged-accounts-payable/source/#L807) writes [Table 25 Vendor Ledger Entry](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/) Insert
- [811](https://jonas-paprotka.de/ref/report/322-aged-accounts-payable/source/#L811) writes [Table 4 Currency](https://jonas-paprotka.de/ref/table/4-currency/) Insert
- [823](https://jonas-paprotka.de/ref/report/322-aged-accounts-payable/source/#L823) writes [Table 4 Currency](https://jonas-paprotka.de/ref/table/4-currency/) Insert

## UpdateCurrencyTotals

[Line 835](https://jonas-paprotka.de/ref/report/322-aged-accounts-payable/source/#L835), local.

- [840](https://jonas-paprotka.de/ref/report/322-aged-accounts-payable/source/#L840) writes [Table 4 Currency](https://jonas-paprotka.de/ref/table/4-currency/) Insert
- [846](https://jonas-paprotka.de/ref/report/322-aged-accounts-payable/source/#L846) writes [Table 264 Currency Amount](https://jonas-paprotka.de/ref/table/264-currency-amount/) Modify
- [851](https://jonas-paprotka.de/ref/report/322-aged-accounts-payable/source/#L851) writes [Table 264 Currency Amount](https://jonas-paprotka.de/ref/table/264-currency-amount/) Insert
- [858](https://jonas-paprotka.de/ref/report/322-aged-accounts-payable/source/#L858) writes [Table 264 Currency Amount](https://jonas-paprotka.de/ref/table/264-currency-amount/) Modify
- [863](https://jonas-paprotka.de/ref/report/322-aged-accounts-payable/source/#L863) writes [Table 264 Currency Amount](https://jonas-paprotka.de/ref/table/264-currency-amount/) Insert

## Source

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

JOP-AL, 2026-11-20.
