---
id: object/report/98
type: object
title: Report 98 "Date Compress General Ledger"
summary: Report 98 "Date Compress General Ledger" in Base Application (Microsoft.Finance.GeneralLedger.Ledger). 4 public procedures, 4 events. Present since at least BC23, still in BC30, changed in BC27, BC29.
tier: official
language: en
tags:
  - report
  - base application
versions:
  introduced: null
  last_changed: "29"
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 1735e676a475b031e309263369585d94f596caba9230cc8fc37f4b71fb12821b
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Finance/GeneralLedger/Ledger/DateCompressGeneralLedger.Report.al
    title: src/Layers/W1/BaseApp/Finance/GeneralLedger/Ledger/DateCompressGeneralLedger.Report.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/9455
object_type: report
object_id: 98
name: Date Compress General Ledger
namespace: Microsoft.Finance.GeneralLedger.Ledger
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "27"
  - "29"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 17
  events: 4
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 4
  called_by: 0
  implements: 0
---

# Report 98 "Date Compress General Ledger"

> Report 98 "Date Compress General Ledger" in Base Application (Microsoft.Finance.GeneralLedger.Ledger). 4 public procedures, 4 events. Present since at least BC23, still in BC30, changed in BC27, BC29.

Base Application · Microsoft.Finance.GeneralLedger.Ledger · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Finance/GeneralLedger/Ledger/DateCompressGeneralLedger.Report.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Caption | Date Compress General Ledger |
| Permissions | TableData "G/L Entry" = rimd, TableData "G/L Register" = rimd, TableData "G/L Transaction" = rimd, TableData "Date Compr. Register" = rimd, TableData "G/L Entry - VAT Entry Link" = rimd, TableData "Dimension Set ID Filter Line" = rimd, TableData "G/L - Item Ledger Relation" = rimd |

## Events published

- `OnBeforeInitRegisters(var GLEntry: Record "G/L Entry")` (integration): Integration event raised before initializing registers during G/L entry date compression.
- `OnGLEntryOnAfterGetRecordOnBeforeInitNewEntry(var GLEntry2: Record "G/L Entry"; var GLEntry: Record "G/L Entry")` (integration): Integration event raised during G/L entry processing before initializing a new entry.
- `OnSummarizeEntryOnBeforeGLEntryDelete(var NewGLEntry: Record "G/L Entry"; GLEntry: Record "G/L Entry")` (integration): Integration event raised before deleting a G/L entry during the summarization process.
- `OnAfterInitNewEntry(var NewGLEntry: Record "G/L Entry")` (integration)

## Procedures

- `ComprCollectedEntries()`: Compresses collected dimension buffer entries into summarized G/L entries.
- `InitNewEntry(var NewGLEntry: Record "G/L Entry")`: Initializes a new G/L entry record for date compression with default values.
- `InitializeRequest(StartingDate: Date; EndingDate: Date; PeriodLength: Option; Description: Text[100]; NewDateComprRetainFields: Record "Date Compr. Retain Fields"; RetainDimensionText: Text[250]; DoUseDataArchive: Boolean)`: Initializes date compression parameters for programmatic execution.
- `SetSkipAnalysisViewUpdateCheck()` (internal)

Plus 9 local procedures.

## Triggers

OnPreReport, OnPostReport

## Calls

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.

- [Codeunit 411 "Dimension Buffer Management"](../codeunit/411.md) (4 calls: `ComprCollectedEntries → DeleteAllDimEntryNo`, `ComprCollectedEntries → FindFirstDimEntryNo`, `ComprCollectedEntries → NextDimEntryNo`, …)
- [Codeunit 408 "DimensionManagement"](../codeunit/408.md) (2 calls: `InsertNewEntry → CopyDimBufToDimSetEntry`, `InsertNewEntry → GetDimensionSetID`)
- [Codeunit 600 "Data Archive"](../codeunit/600.md) (2 calls: `InitializeParameter → DataArchiveProviderExists`, `SummarizeEntry → SaveRecord`)
- [Codeunit 9040 "Date Compression"](../codeunit/9040.md) (2 calls: `InitializeParameter → CalcMaxEndDate`, `OnPreReport → VerifyDateCompressionDates`)

## Recent changes

- 2026-07-25 [#9455 Update permissions for G/L Transaction table](../../changes/bcapps/9455.md) (main, BC30, fix)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC27, BC29

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## 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: "report", object_name: "Date Compress General Ledger")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
