Codeunit 1331 "Trial Balance Cache Mgt."
Base Application · Microsoft.Finance.FinancialReports
Across versions
- BC23-30present
Neighbourhood 2 connected objects and pages
Base Application · Microsoft.Finance.FinancialReports · BC23-30 · source at ea08af5e · facts from BC29
Events published
OnGetCacheRefreshInterval(var Interval: Duration)(integration): Integration event for customizing trial balance cache refresh interval. Enables modification of the default cache refresh frequency for performance tuning.
Procedures
IsCacheStale(): BooleanLoadFromCache(var DescriptionsArr: array[9] of Text[100]; var ValuesArr: array[9, 2] of Decimal; var PeriodCaptionTxt: array[2] of Text): BooleanSaveToCache(DescriptionsArr: array[9] of Text[100]; ValuesArr: array[9, 2] of Decimal; PeriodCaptionTxt: array[2] of Text)
Plus 1 local procedures.
Triggers
OnRun
Called by
From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.
- Page 1393 “Trial Balance” (5 calls:
LoadTrialBalanceData → IsCacheStale,LoadTrialBalanceData → LoadFromCache,LoadTrialBalanceData → SaveToCache, …) - Codeunit 1391 “Calculate Trial Balance” (1 call:
OnRun → SaveToCache)
Ask your agent
Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "Trial Balance Cache Mgt."), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.