---
title: "Table 5475 Sales Invoice Entity Aggregate, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/points/
object: https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/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/"
---

# Table 5475 Sales Invoice Entity Aggregate, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/points/

34 procedures and triggers with a step in src/Layers/W1/BaseApp/Integration/Entity/SalesInvoiceEntityAggregate.Table.al, in source order, read from the text, not from a run.

## Sell-to Customer No..OnValidate

[Line 43](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L43), trigger.

- [45](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L45) calls `UpdateSellToCustomerId`

## Bill-to Customer No..OnValidate

[Line 60](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L60), trigger.

- [62](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L62) calls `UpdateBillToCustomerId`

## Payment Terms Code.OnValidate

[Line 146](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L146), trigger.

- [148](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L148) calls `UpdatePaymentTermsId`

## Shipment Method Code.OnValidate

[Line 162](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L162), trigger.

- [164](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L164) calls `UpdateShipmentMethodId`

## Currency Code.OnValidate

[Line 189](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L189), trigger.

- [191](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L191) calls `UpdateCurrencyId`

## Order No..OnValidate

[Line 211](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L211), trigger.

- [213](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L213) calls `UpdateOrderId`

## Document Date.OnValidate

[Line 341](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L341), trigger.

- [343](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L343) validates [Table 5475 Sales Invoice Entity Aggregate](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/) `Posting Date`

## Tax Area Code.OnValidate

[Line 358](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L358), trigger.

- [360](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L360) calls `IsUsingVAT`

## VAT Bus. Posting Group.OnValidate

[Line 375](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L375), trigger.

- [377](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L377) calls `IsUsingVAT`

## Dispute Status.OnValidate

[Line 435](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L435), trigger.

- [437](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L437) calls `UpdateDisputeStatusId`

## Dispute Status Id.OnValidate

[Line 460](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L460), trigger.

- [462](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L462) calls `UpdateDisputeStatus`

## Customer Id.OnValidate

[Line 507](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L507), trigger.

- [509](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L509) calls `UpdateSellToCustomerNo`

## Order Id.OnValidate

[Line 517](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L517), trigger.

- [519](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L519) calls `UpdateOrderNo`

## Currency Id.OnValidate

[Line 533](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L533), trigger.

- [535](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L535) calls `UpdateCurrencyCode`

## Payment Terms Id.OnValidate

[Line 544](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L544), trigger.

- [546](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L546) calls `UpdatePaymentTermsCode`

## Shipment Method Id.OnValidate

[Line 555](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L555), trigger.

- [557](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L557) calls `UpdateShipmentMethodCode`

## Tax Area ID.OnValidate

[Line 565](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L565), trigger.

- [567](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L567) calls `IsUsingVAT`
- [568](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L568) calls `UpdateVATBusinessPostingGroupCode`
- [570](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L570) calls `UpdateTaxAreaCode`

## Bill-to Customer Id.OnValidate

[Line 579](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L579), trigger.

- [581](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L581) calls `UpdateBillToCustomerNo`

## OnInsert

[Line 608](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L608), trigger.

- [611](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L611) calls `UpdateReferencedRecordIds`

## OnModify

[Line 614](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L614), trigger.

- [617](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L617) calls `UpdateReferencedRecordIds`

## OnRename

[Line 620](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L620), trigger.

- [629](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L629) calls `UpdateReferencedRecordIds`

## UpdateDisputeStatus

[Line 722](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L722).

- [728](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L728) validates [Table 5475 Sales Invoice Entity Aggregate](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/) `Dispute Status`

## UpdateSellToCustomerNo

[Line 746](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L746), local.

- [753](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L753) validates [Table 5475 Sales Invoice Entity Aggregate](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/) `Sell-to Customer No.`

## UpdateBillToCustomerNo

[Line 756](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L756), local.

- [763](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L763) validates [Table 5475 Sales Invoice Entity Aggregate](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/) `Bill-to Customer No.`

## UpdateOrderNo

[Line 766](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L766), local.

- [771](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L771) validates [Table 5475 Sales Invoice Entity Aggregate](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/) `Order No.`
- [782](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L782) validates [Table 5475 Sales Invoice Entity Aggregate](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/) `Order No.`

## UpdateCurrencyCode

[Line 785](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L785), local.

- [792](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L792) validates [Table 5475 Sales Invoice Entity Aggregate](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/) `Currency Code`

## UpdatePaymentTermsCode

[Line 795](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L795), local.

- [802](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L802) validates [Table 5475 Sales Invoice Entity Aggregate](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/) `Payment Terms Code`

## UpdateShipmentMethodCode

[Line 805](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L805), local.

- [812](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L812) validates [Table 5475 Sales Invoice Entity Aggregate](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/) `Shipment Method Code`

## UpdateReferencedRecordIds

[Line 815](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L815).

- [817](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L817) calls `UpdateSellToCustomerId`
- [818](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L818) calls `UpdateBillToCustomerId`
- [819](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L819) calls `UpdateCurrencyId`
- [820](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L820) calls `UpdatePaymentTermsId`
- [821](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L821) calls `UpdateShipmentMethodId`
- [822](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L822) calls `UpdateDisputeStatusId`
- [825](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L825) calls `UpdateOrderId`
- [827](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L827) calls `UpdateTaxAreaId`

## UpdateTaxAreaId

[Line 830](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L830), local.

- [835](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L835) calls `IsUsingVAT`

## UpdateTaxAreaCode

[Line 859](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L859), local.

- [865](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L865) validates [Table 5475 Sales Invoice Entity Aggregate](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/) `Tax Area Code`

## UpdateVATBusinessPostingGroupCode

[Line 872](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L872), local.

- [878](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L878) validates [Table 5475 Sales Invoice Entity Aggregate](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/) `VAT Bus. Posting Group`

## IsUsingVAT

[Line 885](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L885).

- [889](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L889) calls [Table 98 General Ledger Setup](https://jonas-paprotka.de/ref/table/98-general-ledger-setup/) `UseVat`

## GetParentRecordNativeInvoicing

[Line 902](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L902).

- [906](https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/#L906) calls `GetParentRecord`

## Source

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

JOP-AL, 2026-11-20.
