---
title: "Codeunit 5529 Purch. Inv. Aggregator"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/5529-purch-inv-aggregator/
type: codeunit
id: 5529
name: "Purch. Inv. Aggregator"
app: "Base Application"
namespace: Microsoft.Integration.Entity
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/codeunit/5529-purch-inv-aggregator/source/29/"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Codeunit 5529 Purch. Inv. Aggregator

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/5529-purch-inv-aggregator/

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.Integration.Entity |
| Versions | 17-28 |
| Source file | Integration/Entity/PurchInvAggregator.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| PropagateOnInsert | (var Record Purch. Inv. Entity Aggregate, var Record Field Buffer) | - | public | 17-28 | - | - |
| PropagateOnModify | (var Record Purch. Inv. Entity Aggregate, var Record Field Buffer) | - | public | 17-28 | - | - |
| PropagateOnDelete | (var Record Purch. Inv. Entity Aggregate) | - | public | 17-28 | - | - |
| UpdateAggregateTableRecords | () | - | public | 17-28 | - | - |
| GetPurchaseInvoiceHeaderId | (var Record Purch. Inv. Header) | Guid | public | 17-28 | - | - |
| GetPurchaseInvoiceHeaderFromId | (Text, var Record Purch. Inv. Header) | Boolean | public | 17-28 | - | - |
| UpdateUnitOfMeasure | (var Record Item, Text) | - | public | 17-28 | - | - |
| RedistributeInvoiceDiscounts | (var Record Purch. Inv. Entity Aggregate) | - | public | 17-28 | - | - |
| LoadLines | (var Record Purch. Inv. Line Aggregate, Text) | - | public | 17-28 | - | - |
| PropagateInsertLine | (var Record Purch. Inv. Line Aggregate, var Record Field Buffer) | - | public | 17-28 | - | - |
| PropagateModifyLine | (var Record Purch. Inv. Line Aggregate, var Record Field Buffer) | - | public | 17-28 | - | - |
| PropagateDeleteLine | (var Record Purch. Inv. Line Aggregate) | - | public | 17-28 | - | - |
| VerifyCanUpdateUOM | (var Record Purch. Inv. Line Aggregate) | - | public | 17-28 | - | - |
| FixInvoicesCreatedFromOrders | () | - | public | 17-28 | - | - |
| SetTaxGroupIdAndCode | (var Record Purch. Inv. Line Aggregate, Code[20], Code[20], Code[20]) | - | public | 17-28 | - | - |
| UpdateLineAmountsFromPurchaseLine | (var Record Purch. Inv. Line Aggregate) | - | public | 22-28 | - | - |
| SetItemVariantId | (var Record Purch. Inv. Line Aggregate, Code[20], Code[20]) | - | public | 22-28 | - | - |
| UpdateInvoiceDiscountAmount | (var Record Purch. Inv. Line Aggregate) | - | public | 22-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.
