---
id: object/codeunit/5488
type: object
title: Codeunit 5488 "Graph Mgt - Reports"
summary: Codeunit 5488 "Graph Mgt - Reports" in Base Application (Microsoft.Integration.Graph). 4 public procedures, 1 events. Present since at least BC23, still in BC30.
tier: official
language: en
tags:
  - codeunit
  - base application
versions:
  introduced: null
  last_changed: null
  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: b638fa3d4f7850d90b73afeb44b1e9c862edac5d2158e647f494cc389b492e79
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Integration/Graph/GraphMgtReports.Codeunit.al
    title: src/Layers/W1/BaseApp/Integration/Graph/GraphMgtReports.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: codeunit
object_id: 5488
name: Graph Mgt - Reports
namespace: Microsoft.Integration.Graph
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 13
  events: 1
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 2
  called_by: 21
  implements: 0
---

# Codeunit 5488 "Graph Mgt - Reports"

> Codeunit 5488 "Graph Mgt - Reports" in Base Application (Microsoft.Integration.Graph). 4 public procedures, 1 events. Present since at least BC23, still in BC30.

Base Application · Microsoft.Integration.Graph · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Integration/Graph/GraphMgtReports.Codeunit.al) · facts from BC29

## Events published

- `OnBeforeSetUpTrialBalanceAPIData(var TrialBalanceEntityBuffer: Record "Trial Balance Entity Buffer"; var IsHandled: Boolean)` (integration)

## Procedures

- `SetUpTrialBalanceAPIData(var TrialBalanceEntityBuffer: Record "Trial Balance Entity Buffer")`
- `SetUpBalanceSheetAPIData(var BalanceSheetBuffer: Record "Balance Sheet Buffer")`
- `SetUpAccountScheduleBaseAPIDataWrapper(var AccScheduleLineEntity: Record "Acc. Schedule Line Entity"; ReportType: Option "Balance Sheet","Income Statement","Trial Balance","CashFlow Statement","Aged Accounts Payable","Aged Accounts Receivable","Retained Earnings")`
- `SetUpAgedReportAPIData(var AgedReportEntity: Record "Aged Report Entity"; ReportType: Option "Balance Sheet","Income Statement","Trial Balance","CashFlow Statement","Aged Accounts Payable","Aged Accounts Receivable","Retained Earnings")`

Plus 8 local procedures.

## Triggers

OnRun

## 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 8 "AccSchedManagement"](../codeunit/8.md) (6 calls: `SetUpAccountScheduleBaseAPIData → CalcCell`, `SetUpAccountScheduleBaseAPIData → CheckAnalysisView`, `SetUpAccountScheduleBaseAPIData → CopyColumnsToTemp`, …)
- [Codeunit 9200 "Matrix Management"](../codeunit/9200.md) (2 calls: `FormatStr → FormatRoundingFactor`, `SetUpAccountScheduleBaseAPIData → RoundAmount`)

## Called by

- [Page 20026 "APIV1 - Cash Flow Statement"](../page/20026.md) (1 call: `OnOpenPage → SetUpAccountScheduleBaseAPIDataWrapper`)
- [Page 20029 "APIV1 - Retained Earnings"](../page/20029.md) (1 call: `OnOpenPage → SetUpAccountScheduleBaseAPIDataWrapper`)
- [Page 20031 "APIV1 - Aged AR"](../page/20031.md) (1 call: `OnOpenPage → SetUpAgedReportAPIData`)
- [Page 20032 "APIV1 - Aged AP"](../page/20032.md) (1 call: `OnOpenPage → SetUpAgedReportAPIData`)
- [Page 20033 "APIV1 - Balance Sheet"](../page/20033.md) (1 call: `OnOpenPage → SetUpBalanceSheetAPIData`)
- [Page 20034 "APIV1 - Trial Balance"](../page/20034.md) (1 call: `OnOpenPage → SetUpTrialBalanceAPIData`)
- [Page 20035 "APIV1 - Income Statement"](../page/20035.md) (1 call: `OnOpenPage → SetUpAccountScheduleBaseAPIDataWrapper`)
- [Page 30026 "APIV2 - Cash Flow Statement"](../page/30026.md) (1 call: `OnOpenPage → SetUpAccountScheduleBaseAPIDataWrapper`)
- [Page 30029 "APIV2 - Retained Earnings"](../page/30029.md) (1 call: `OnOpenPage → SetUpAccountScheduleBaseAPIDataWrapper`)
- [Page 30031 "APIV2 - Aged AR"](../page/30031.md) (1 call: `OnOpenPage → SetUpAgedReportAPIData`)
- [Page 30032 "APIV2 - Aged AP"](../page/30032.md) (1 call: `OnOpenPage → SetUpAgedReportAPIData`)
- [Page 30033 "APIV2 - Balance Sheet"](../page/30033.md) (1 call: `OnOpenPage → SetUpBalanceSheetAPIData`)
- [Page 30034 "APIV2 - Trial Balance"](../page/30034.md) (1 call: `OnOpenPage → SetUpTrialBalanceAPIData`)
- [Page 30035 "APIV2 - Income Statement"](../page/30035.md) (1 call: `OnOpenPage → SetUpAccountScheduleBaseAPIDataWrapper`)
- [Page 5493 "Cash Flow Statement Entity"](../page/5493.md) (1 call: `OnOpenPage → SetUpAccountScheduleBaseAPIDataWrapper`)
- [Page 5497 "Retained Earnings Entity"](../page/5497.md) (1 call: `OnOpenPage → SetUpAccountScheduleBaseAPIDataWrapper`)
- [Page 5499 "Aged AR Entity"](../page/5499.md) (1 call: `OnOpenPage → SetUpAgedReportAPIData`)
- [Page 5500 "Aged AP Entity"](../page/5500.md) (1 call: `OnOpenPage → SetUpAgedReportAPIData`)
- [Page 5501 "Balance Sheet Entity"](../page/5501.md) (1 call: `OnOpenPage → SetUpBalanceSheetAPIData`)
- [Page 5502 "Trial Balance Entity"](../page/5502.md) (1 call: `OnOpenPage → SetUpTrialBalanceAPIData`)
- [Page 5503 "Income Statement Entity"](../page/5503.md) (1 call: `OnOpenPage → SetUpAccountScheduleBaseAPIDataWrapper`)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: none

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: "codeunit", object_name: "Graph Mgt - Reports")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
