---
id: object/codeunit/6237
type: object
title: Codeunit 6237 "Acc. Sch. Line Mgmt. Helper"
summary: Codeunit 6237 "Acc. Sch. Line Mgmt. Helper" in Sustainability (Microsoft.Sustainability.FinancialReporting). 8 public procedures, 9 events. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - codeunit
  - sustainability
versions:
  introduced: "29"
  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: eab1f74249d526e49b602ec40f10f0a89ec68a310ecd11581e1ef57f740f2f26
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/Sustainability/app/src/FinancialReporting/AccSchLineMgmtHelper.Codeunit.al
    title: src/Apps/W1/Sustainability/app/src/FinancialReporting/AccSchLineMgmtHelper.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: 6237
name: Acc. Sch. Line Mgmt. Helper
namespace: Microsoft.Sustainability.FinancialReporting
app: Sustainability
extends: null
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 17
  events: 9
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 3
  called_by: 1
  implements: 0
---

# Codeunit 6237 "Acc. Sch. Line Mgmt. Helper"

> Codeunit 6237 "Acc. Sch. Line Mgmt. Helper" in Sustainability (Microsoft.Sustainability.FinancialReporting). 8 public procedures, 9 events. Introduced in BC29, still in BC30.

Sustainability · Microsoft.Sustainability.FinancialReporting · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/Sustainability/app/src/FinancialReporting/AccSchLineMgmtHelper.Codeunit.al) · facts from BC29

## Events published

- `OnBeforeSetSustAccRowFilters(var SustAcc: Record "Sustainability Account"; var AccSchedLine2: Record "Acc. Schedule Line"; var IsHandled: Boolean)` (integration)
- `OnAfterSetSustAccRowFilters(var SustAcc: Record "Sustainability Account"; var AccScheduleLine: Record "Acc. Schedule Line")` (integration)
- `OnAfterSetSustAccColumnFilters(var SustAccount: Record "Sustainability Account"; var AccScheduleLine: Record "Acc. Schedule Line"; var ColumnLayout: Record "Column Layout"; StartDate: Date; EndDate: Date)` (integration)
- `OnBeforeCalcSustAcc(var SustAcc: Record "Sustainability Account"; var AccSchedLine: Record "Acc. Schedule Line"; var ColumnLayout: Record "Column Layout"; var ColValue: Decimal; var IsHandled: Boolean)` (integration)
- `OnBeforeTestBalance(var SustAccount: Record "Sustainability Account"; var AccScheduleName: Record "Acc. Schedule Name"; var AccScheduleLine: Record "Acc. Schedule Line"; var ColumnLayout: Record "Column Layout"; AmountType: Integer; var ColValue: Decimal; var TestBalance: Boolean; var SustLedgEntry: Record "Sustainability Ledger Entry"; var Balance: Decimal)` (integration)
- `OnAfterSetSustAccAnalysisViewEntryFilters(var SustAcc: Record "Sustainability Account"; var AnalysisViewEntry: Record "Analysis View Entry"; var AccSchedLine: Record "Acc. Schedule Line"; var ColumnLayout: Record "Column Layout")` (integration)
- `OnSetSustAccAnalysisViewEntryFiltersOnBeforeAccSchedLineCopyFilter(var AccScheduleLine: Record "Acc. Schedule Line"; AnalysisViewEntry: Record "Analysis View Entry")` (integration)
- `OnBeforeSetSustAccSustLedgEntryFilters(var SustAcc: Record "Sustainability Account"; var AccSchedLine: Record "Acc. Schedule Line"; var ColumnLayout: Record "Column Layout"; UseDimFilter: Boolean; var IsHandled: Boolean; var SustLedgEntry: Record "Sustainability Ledger Entry")` (integration)
- `OnAfterSetSustAccSustLedgEntryFilters(var SustAccount: Record "Sustainability Account"; var SustLedgEntry: Record "Sustainability Ledger Entry"; var AccSchedLine: Record "Acc. Schedule Line"; var ColumnLayout: Record "Column Layout"; UseDimFilter: Boolean)` (integration)

## Procedures

- `GetCalcCellValueByTotalingType(var AccSchedLine: Record "Acc. Schedule Line"; var ColumnLayout: Record "Column Layout"; var Result: Decimal; var SourceAccScheduleLine: Record "Acc. Schedule Line")`
- `SetSustAccRowFilters(var SustAcc: Record "Sustainability Account"; var AccSchedLine2: Record "Acc. Schedule Line")`
- `SetSustAccColumnFilters(var SustAcc: Record "Sustainability Account"; AccSchedLine2: Record "Acc. Schedule Line"; var ColumnLayout: Record "Column Layout")`
- `CalcSustAcc(var SustAcc: Record "Sustainability Account"; var AccSchedLine: Record "Acc. Schedule Line"; var ColumnLayout: Record "Column Layout"): Decimal`
- `SetSustAccSustLedgEntryFilters(var SustAcc: Record "Sustainability Account"; var SustLedgEntry: Record "Sustainability Ledger Entry"; var AccSchedLine: Record "Acc. Schedule Line"; var ColumnLayout: Record "Column Layout"; UseDimFilter: Boolean)`
- `SetSustAccAnalysisViewEntryFilters(var SustAcc: Record "Sustainability Account"; var AnalysisViewEntry: Record "Analysis View Entry"; var AccSchedLine: Record "Acc. Schedule Line"; var ColumnLayout: Record "Column Layout")`
- `SetAccShedManagement(var NewAccSchedManagement: Codeunit AccSchedManagement)`
- `DrillDownOnSustAccount(TempColumnLayout: Record "Column Layout" temporary; var AccScheduleLine: Record "Acc. Schedule Line")`

## 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) (9 calls: `CalcSustAcc → ConflictAmountType`, `CalcSustAcc → HasDimFilter`, `CalcSustAcc → SetAccSchedName`, …)
- [Codeunit 360 "Accounting Period Mgt."](../codeunit/360.md) (1 call: `SetSustAccColumnFilters → FindEndOfFiscalYear`)
- [Page 6210 "Chart of Sustain. Accounts"](../page/6210.md) (1 call: `DrillDownOnSustAccount → (object)`)

## Called by

- [Codeunit 6238 "Acc. Schedule Line Subscribers"](../codeunit/6238.md) (4 calls: `OnAfterCalcCellValue → GetCalcCellValueByTotalingType`, `OnAfterCalcCellValue → SetAccShedManagement`, `OnDrillDownTotalingTypeElseCase → DrillDownOnSustAccount`, …)

## Across versions

- Present in: BC29-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: "Acc. Sch. Line Mgmt. Helper")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
