Codeunit 1331 Trial Balance Cache Mgt.

Base Application, Microsoft.Finance.FinancialReports

Source AL, 150 lines

src/Layers/W1/BaseApp/Finance/FinancialReports/TrialBalanceCacheMgt.Codeunit.allines 16 to 31 of 150, Copyright (c) Microsoft Corporation. MIT

codeunit 1331 "Trial Balance Cache Mgt."{    trigger OnRun()    begin    end;    var        RefreshFrequencyErr: Label 'Refresh intervals of less than 10 minutes are not supported.';    [Scope('OnPrem')]    procedure IsCacheStale(): Boolean    var        TrialBalanceCacheInfo: Record "Trial Balance Cache Info";    begin        if not TrialBalanceCacheInfo.Get() then

All 150 lines

Events 1 in 29

[IntegrationEvent] OnGetCacheRefreshInterval(var Interval: Duration)17-29

Public procedures 3 in 29

IsCacheStale(): Boolean17-29
LoadFromCache(var DescriptionsArr: array[9] of Text[100]; var ValuesArr: array[9, 2] of Decimal; var PeriodCaptionTxt: array[2] of Text): Boolean17-29
SaveToCache(DescriptionsArr: array[9] of Text[100]; ValuesArr: array[9, 2] of Decimal; PeriodCaptionTxt: array[2] of Text)17-29