Codeunit 410 Update Analysis View

Base Application, Microsoft.Finance.Analysis

Source AL, 1,033 lines

src/Layers/W1/BaseApp/Finance/Analysis/UpdateAnalysisView.Codeunit.allines 25 to 40 of 1,033, Copyright (c) Microsoft Corporation. MIT

codeunit 410 "Update Analysis View"{    Permissions = TableData "G/L Entry" = r,                  TableData "G/L Budget Entry" = r,                  TableData "Analysis View" = rm,                  TableData "Analysis View Filter" = r,                  TableData "Analysis View Entry" = rimd,                  TableData "Analysis View Budget Entry" = rimd;    TableNo = "Analysis View";    trigger OnRun()    begin        if Rec.Code <> '' then begin            InitLastEntryNo();            Rec.LockTable();            Rec.Find();

All 1,033 lines

Events 18 in 29

[IntegrationEvent] OnAfterInitLastEntryNo(var LastGLEntryNo: Integer)17-29
[IntegrationEvent] OnAfterUpdateAll(Which: Option "Ledger Entries","Budget Entries",Both; DirectlyFromPosting: Boolean)17-29
[IntegrationEvent] OnBeforeUpdateOne(var NewAnalysisView: Record "Analysis View"; Which: Option "Ledger Entries","Budget Entries",Both; ShowWindow: Boolean; var IsHandled: Boolean)17-29
[IntegrationEvent] OnFlushAnalysisViewEntryOnBeforeAnalysisViewEntryInsert(var AnalysisViewEntry: Record "Analysis View Entry"; TempAnalysisViewEntry: Record "Analysis View Entry" temporary)17-29
[IntegrationEvent] OnUpdateOneOnBeforeUpdateEntries(var AnalysisView: Record "Analysis View"; Which: Option "Ledger Entries","Budget Entries",Both; LastGLEntryNo: Integer)17-29
[IntegrationEvent] OnUpdateOneOnBeforeNewAnalysisViewIncludeBudgetsCheck(var NewAnalysisView: Record "Analysis View"; var AnalysisView: Record "Analysis View"; Which: Option "Ledger Entries","Budget Entries",Both)new in 18
[IntegrationEvent] OnUpdateEntriesForGLAccountDetailedOnAfterGLEntrySetFilters(var GLEntry: Record "G/L Entry"; var AnalysisView: Record "Analysis View")new in 18

All 21 events in 17-29

Public procedures 12 in 29

UpdateAll(Which: Option "Ledger Entries","Budget Entries",Both; DirectlyFromPosting: Boolean)17-29
Update(var NewAnalysisView: Record "Analysis View"; Which: Option "Ledger Entries","Budget Entries",Both; ShowWindow: Boolean)17-29
CalculatePeriodStart(PostingDate: Date; DateCompression: Integer): Date17-29
SetLastBudgetEntryNo(NewLastBudgetEntryNo: Integer)17-29
DimSetIDInFilter(DimSetID: Integer; var AnalysisView: Record "Analysis View"): Boolean17-29
FlushAnalysisViewEntry()new in 20

All 13 procedures in 17-29

Changes 3 in 25

List17181920212223242526272829
Procedures2411
Events4124222
internal UpdateAll(var AnalysisView2: Record "Analysis View"; Which: Option "Ledger Entries","Budget Entries",Both; DirectlyFromPosting: Boolean)new in 25
added
[IntegrationEvent] OnBeforeUpdateAll(Which: Option "Ledger Entries","Budget Entries",Both; DirectlyFromPosting: Boolean; var AnalysisView: Record "Analysis View")gone after 24
gone
[IntegrationEvent] OnBeforeUpdateAll(Which: Option "Ledger Entries","Budget Entries",Both; DirectlyFromPosting: Boolean; var AnalysisView: Record "Analysis View"; var InBatchPosting: Boolean)new in 25
added

All 25 changes in 17-29