Codeunit 5477 Sales Invoice Aggregator

Base Application, Microsoft.Integration.Entity

Source AL, 1,251 lines

src/Layers/W1/BaseApp/Integration/Entity/SalesInvoiceAggregator.Codeunit.allines 22 to 37 of 1,251, Copyright (c) Microsoft Corporation. MIT

codeunit 5477 "Sales Invoice Aggregator"{    Permissions = tabledata "Sales Invoice Header" = rimd,                  tabledata "Sales Invoice Entity Aggregate" = rimd;    trigger OnRun()    begin    end;    var        GraphMgtGeneralTools: Codeunit "Graph Mgt - General Tools";        SkipUpdateDiscounts: Boolean;        DocumentIDNotSpecifiedForLinesErr: Label 'You must specify a document id to get the lines.';        DocumentDoesNotExistErr: Label 'No document with the specified ID exists.';        MultipleDocumentsFoundForIdErr: Label 'Multiple documents have been found for the specified criteria.';

All 1,251 lines

Events 2 in 29

[IntegrationEvent] OnBeforeSetStatusOptionFromSalesInvoiceHeader(var SalesInvoiceHeader: Record "Sales Invoice Header"; var SalesInvoiceEntityAggregate: Record "Sales Invoice Entity Aggregate"; var IsHandled: Boolean)17-29
[IntegrationEvent] OnBeforeTransferRecordIDs(var SalesHeader: Record "Sales Header"; var IsHandled: Boolean)new in 21

Public procedures 21 in 29

PropagateOnInsert(var SalesInvoiceEntityAggregate: Record "Sales Invoice Entity Aggregate"; var TempFieldBuffer: Record "Field Buffer" temporary)17-29
PropagateOnModify(var SalesInvoiceEntityAggregate: Record "Sales Invoice Entity Aggregate"; var TempFieldBuffer: Record "Field Buffer" temporary)17-29
PropagateOnDelete(var SalesInvoiceEntityAggregate: Record "Sales Invoice Entity Aggregate")17-29
UpdateAggregateTableRecords()17-29
GetSalesInvoiceHeaderId(var SalesInvoiceHeader: Record "Sales Invoice Header"): Guid17-29
GetSalesInvoiceHeaderFromId(Id: Text; var SalesInvoiceHeader: Record "Sales Invoice Header"): Boolean17-29

All 21 procedures

Changes 1 in 24

List17181920212223242526272829
Procedures1
Events1
ChangeOnlyContainsWhitelistedFields(var TempFieldBuffer: Record "Field Buffer"): Booleannew in 24
added

All 2 changes in 17-29