---
title: "Codeunit 8 AccSchedManagement"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/8-accschedmanagement/
type: codeunit
id: 8
name: "AccSchedManagement"
app: "Base Application"
namespace: Microsoft.Finance.FinancialReports
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/codeunit/8-accschedmanagement/source/29/"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Codeunit 8 AccSchedManagement

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/8-accschedmanagement/

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.Finance.FinancialReports |
| Versions | 17-28 |
| Source file | Finance/FinancialReports/AccSchedManagement.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| OpenSchedule | (var Code[10], var Record Acc. Schedule Line) | - | public | 17-28 | - | - |
| OpenAndCheckSchedule | (var Code[10], var Record Acc. Schedule Line) | - | public | 17-28 | - | - |
| CheckName | (Code[10]) | - | public | 17-28 | - | - |
| SetName | (Code[10], var Record Acc. Schedule Line) | - | public | 17-28 | - | - |
| LookupName | (Code[10], var Text[10]) | Boolean | public | 17-28 | - | - |
| OpenColumns | (var Code[10], var Record Column Layout) | - | public | 17-28 | - | - |
| CheckColumnName | (Code[10]) | - | public | 17-28 | - | - |
| SetColumnName | (Code[10], var Record Column Layout) | - | public | 17-28 | - | - |
| CopyColumnsToTemp | (Code[10], var Record Column Layout) | - | public | 17-28 | - | - |
| LookupColumnName | (Code[10], var Text[10]) | Boolean | public | 17-28 | - | - |
| CheckAnalysisView | (Code[10], Code[10], Boolean) | - | public | 17-28 | - | - |
| CalcCell | (var Record Acc. Schedule Line, var Record Column Layout, Boolean) | Decimal | public | 17-28 | - | - |
| CalcCellValue | (Record Acc. Schedule Line, Record Column Layout, Boolean) | Decimal | public | 17-28 | - | - |
| SetGLAccRowFilters | (var Record G/L Account, var Record Acc. Schedule Line) | - | public | 17-28 | - | - |
| SetCFAccRowFilter | (var Record Cash Flow Account, var Record Acc. Schedule Line) | - | public | 17-28 | - | - |
| SetGLAccColumnFilters | (var Record G/L Account, Record Acc. Schedule Line, var Record Column Layout) | - | public | 17-28 | - | - |
| SetCFAccColumnFilter | (var Record Cash Flow Account, Record Acc. Schedule Line, var Record Column Layout) | - | public | 17-28 | - | - |
| FormatCellAsText | (var Record Column Layout, Decimal, Boolean) | Text[30] | public | 17-28 | - | - |
| GetDivisionError | () | Boolean | public | 17-28 | - | - |
| GetPeriodError | () | Boolean | public | 17-28 | - | - |
| InsertGLAccounts | (var Record Acc. Schedule Line) | - | public | 17-28 | - | - |
| InsertCFAccounts | (var Record Acc. Schedule Line) | - | public | 17-28 | - | - |
| InsertCostTypes | (var Record Acc. Schedule Line) | - | public | 17-28 | - | - |
| SetAccSchedName | (var Record Acc. Schedule Name) | - | public | 17-28 | - | - |
| GetDimTotalingFilter | (Integer, Text[250]) | Text[1024] | public | 17-28 | - | - |
| SetCostTypeRowFilters | (var Record Cost Type, var Record Acc. Schedule Line, var Record Column Layout) | - | public | 17-28 | - | - |
| SetCostTypeColumnFilters | (var Record Cost Type, Record Acc. Schedule Line, var Record Column Layout) | - | public | 17-28 | - | - |
| HasDimFilter | (var Record Acc. Schedule Line, var Record Column Layout) | Boolean | public | 17-28 | - | - |
| CalcColumnDates | (Record Column Layout, var Date, var Date, var Date) | - | public | 17-28 | - | - |
| SetStartDateEndDate | (Date, Date) | - | public | 17-28 | - | - |
| DrillDown | (Record Column Layout, var Record Acc. Schedule Line, Option) | - | public | 17-28 | - | - |
| DrillDownFromOverviewPage | (Record Column Layout, var Record Acc. Schedule Line, Option) | - | public | 17-28 | - | - |
| FindPeriod | (var Record Acc. Schedule Line, Text[3], Option) | - | public | 17-18 | - | - |
| CalcFieldError | (var Option, Integer, Integer) | - | public | 17-28 | - | - |
| ForceRecalculate | (Boolean) | - | public | 17-28 | - | - |
| GetStartDateEndDate | (var Date, var Date) | - | public | 19-28 | - | - |
| FindPeriod | (var Record Acc. Schedule Line, Text[3], Enum Analysis Period Type) | - | public | 19-28 | - | - |
| ApplyOperator | (Decimal, Decimal, Char, var Boolean) | Decimal | public | 20-28 | - | - |
| ParseExpression | (Text, var Integer) | Boolean | public | 20-28 | - | - |
| IsExpressionFilter | (Text) | Boolean | public | 20-28 | - | - |
| GLAccCategoryText | (Record Acc. Schedule Line) | Text[250] | public | 20-28 | - | - |
| SetAnalysisViewRead | (Boolean) | - | public | 21-28 | - | - |
| AccPeriodStartEnd | (Record Column Layout, Date, var Date, var Date) | - | public | 21-28 | - | - |
| FormatCellResult | (Record Acc. Schedule Line, Record Column Layout, Boolean, var Decimal) | - | public | 21-28 | - | - |
| CalcCFAccount | (var Record Cash Flow Account, var Record Acc. Schedule Line, var Record Column Layout) | Decimal | public | 21-28 | - | - |
| EvaluateExpression | (Boolean, Text, Record Acc. Schedule Line, Record Column Layout, Boolean) | Decimal | public | 21-28 | - | - |
| ShowError | (Text, var Record Acc. Schedule Line, var Record Column Layout) | - | public | 21-28 | - | - |
| CalcCostType | (var Record Cost Type, var Record Acc. Schedule Line, var Record Column Layout, Boolean) | Decimal | public | 21-28 | - | - |
| ConflictAmountType | (Record Acc. Schedule Line, Enum Account Schedule Amount Type, var Enum Account Schedule Amount Type) | Boolean | public | 21-28 | - | - |
| DrillDownOnGLAccount | (Record Column Layout, var Record Acc. Schedule Line) | - | public | 21-28 | - | - |
| DrillDownOnCFAccount | (Record Column Layout, var Record Acc. Schedule Line) | - | public | 21-28 | - | - |
| CalcLCYToACY | (Decimal) | Decimal | public | 21-28 | - | - |
| CalcGLAcc | (var Record G/L Account, var Record Acc. Schedule Line, var Record Column Layout, Boolean) | Decimal | public | 22-28 | - | - |
| SetGLAccGLEntryFilters | (var Record G/L Account, var Record G/L Entry, var Record Acc. Schedule Line, var Record Column Layout, Boolean, Boolean) | - | public | 22-28 | - | - |
| SetGLAccGLBudgetEntryFilters | (var Record G/L Account, var Record G/L Budget Entry, var Record Acc. Schedule Line, var Record Column Layout, Boolean, Boolean) | - | public | 22-28 | - | - |
| SetGLAccAnalysisViewBudgetEntries | (var Record G/L Account, var Record Analysis View Budget Entry, var Record Acc. Schedule Line, var Record Column Layout) | - | public | 22-28 | - | - |
| SetGLAccAnalysisViewEntryFilters | (var Record G/L Account, var Record Analysis View Entry, var Record Acc. Schedule Line, var Record Column Layout) | - | public | 22-28 | - | - |
| MoveAccSchedLines | (var Record Acc. Schedule Line, Integer) | - | public | 22-28 | - | - |
| SetFiscalStartDate | (Date) | - | public | 23-28 | - | - |
| GetFiscalStartDate | () | Date | public | 23-28 | - | - |
| CalcColumnHeader | (var Record Acc. Schedule Line, Record Column Layout) | Text | public | 27-28 | - | - |
| GetAccountScheduleCaption | (Code[10]) | Text | public | 28 | - | - |
| GetColumnLayoutCaption | (Code[10]) | Text | public | 28 | - | - |
| CheckPerspectiveAnalysisView | (Code[10], Code[10]) | - | public | 28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnAfterAccSchedLineInsert | (var Record Acc. Schedule Line) | 17-28 | - | - |
| Integration event | OnAfterCalcCellValue | (var Record Acc. Schedule Line, var Record Column Layout, var Decimal) | 17 | - | - |
| Integration event | OnAfterInsertGLAccounts | (var Record Acc. Schedule Line) | 17-28 | - | - |
| Integration event | OnAfterSetGLAccRowFilters | (var Record G/L Account, var Record Acc. Schedule Line) | 17-28 | - | - |
| Integration event | OnAfterSetCFAccRowFilter | (var Record Cash Flow Account, var Record Acc. Schedule Line) | 17-28 | - | - |
| Integration event | OnAfterSetGLAccColumnFilters | (var Record G/L Account, var Record Acc. Schedule Line, var Record Column Layout) | 17-20 | - | - |
| Integration event | OnAfterSetCFAccColumnFilter | (var Record Cash Flow Account, var Record Acc. Schedule Line, var Record Column Layout) | 17-20 | - | - |
| Integration event | OnAfterSetGLAccGLEntryFilters | (var Record G/L Account, var Record G/L Entry, var Record Acc. Schedule Line, var Record Column Layout, Boolean, Boolean) | 17-28 | - | - |
| Integration event | OnAfterSetGLAccGLBudgetEntryFilters | (var Record G/L Account, var Record G/L Budget Entry, var Record Acc. Schedule Line, var Record Column Layout, Boolean, Boolean) | 17-28 | - | - |
| Integration event | OnAfterSetGLAccAnalysisViewEntryFilters | (var Record G/L Account, var Record Analysis View Entry, var Record Acc. Schedule Line, var Record Column Layout) | 17-28 | - | - |
| Integration event | OnAfterSetGLAccAnalysisViewBudgetEntries | (var Record G/L Account, var Record Analysis View Budget Entry, var Record Acc. Schedule Line, var Record Column Layout) | 17-28 | - | - |
| Integration event | OnAfterSetCostEntryFilters | (var Record Cost Type, var Record Cost Entry, var Record Acc. Schedule Line, var Record Column Layout, Boolean) | 17-28 | - | - |
| Integration event | OnAfterSetCostTypeRowFilters | (var Record Cost Type, var Record Acc. Schedule Line) | 17-28 | - | - |
| Integration event | OnAfterSetCostBudgetEntryFilters | (var Record Cost Type, var Record Cost Budget Entry, var Record Acc. Schedule Line, var Record Column Layout) | 17-28 | - | - |
| Integration event | OnBeforeCalcCell | (var Record Acc. Schedule Line, var Record Column Layout, Boolean) | 17-19 | - | - |
| Integration event | OnBeforeCalcCellExit | (var Record Acc. Schedule Line, var Record Column Layout, Boolean, var Decimal) | 17-28 | - | - |
| Integration event | OnBeforeCalcCellValue | (var Record Acc. Schedule Line, var Record Column Layout, Boolean, var Decimal) | 17-19 | - | - |
| Integration event | OnBeforeCalcGLAcc | (var Record G/L Account, var Record Acc. Schedule Line, var Record Column Layout, Boolean, var Decimal, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeCalcCFAcc | (var Record Cash Flow Account, var Record Acc. Schedule Line, var Record Column Layout, var Decimal, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeCalcCostType | (var Record Cost Type, var Record Acc. Schedule Line, var Record Column Layout, Boolean, var Decimal, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeEvaluateExpression | (var Record Acc. Schedule Line, var Record Column Layout, var Integer) | 17-28 | - | - |
| Integration event | OnBeforeTestBalance | (var Record G/L Account, var Record Acc. Schedule Name, var Record Acc. Schedule Line, var Record Column Layout, Integer, var Decimal, Boolean, var Boolean, var Record G/L Entry, var Record G/L Budget Entry) | 17 | - | - |
| Integration event | OnBeforeDrillDownFromOverviewPage | (var Record Column Layout, var Record Acc. Schedule Line, Option, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeDrillDownOnAccounts | (var Record Acc. Schedule Line, var Record Column Layout, Option, Date, Date) | 17-28 | - | - |
| Integration event | OnBeforeDrillDownOnGLAccount | (var Record Column Layout, var Record Acc. Schedule Line, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeInsertGLAccounts | (var Record Acc. Schedule Line, var Boolean) | 17-28 | - | - |
| Integration event | OnCalcCellValueOnBeforeExit | (var Record Acc. Schedule Line, var Record Column Layout, Boolean, Date, Date, var Decimal) | 17-28 | - | - |
| Integration event | OnEvaluateExpressionOnBeforeCalcAccSchedLineCellValue | (Record Acc. Schedule Line, var Record Acc. Schedule Line, var Record Column Layout, Boolean, var Boolean, var Decimal) | 17-28 | - | - |
| Integration event | OnEvaluateExpressionOnBeforeCalcColumnLayoutCellValue | (Record Column Layout, var Record Acc. Schedule Line, var Record Column Layout, Boolean, var Boolean, var Decimal) | 17-28 | - | - |
| Integration event | OnInsertGLAccountsOnBeforeAccSchedLineInsert | (var Record Acc. Schedule Line, Record G/L Account) | 17-28 | - | - |
| Integration event | OnMoveAccSchedLinesOnAfterAccSchedLineDelete | (var Record Acc. Schedule Line, Integer) | 17-28 | - | - |
| Integration event | OnAfterCalcCellValue | (var Record Acc. Schedule Line, var Record Column Layout, var Decimal, var Record Acc. Schedule Line, var Record G/L Account) | 18-28 | - | - |
| Integration event | OnAfterCheckAnalysisView | (Record Acc. Schedule Name, Record Column Layout Name) | 18-21 | - | - |
| Integration event | OnAfterFormatCellAsText | (var Record Column Layout, var Text[30]) | 18-19 | - | - |
| Integration event | OnAfterSetCostTypeColumnFilters | (var Record Cost Type, var Record Acc. Schedule Line, var Record Column Layout) | 18-28 | - | - |
| Integration event | OnBeforeCalcCellValueInEvaluateExpression | (Boolean, Record Acc. Schedule Line, Record Column Layout, Text, Boolean, Boolean, var Decimal, var Boolean) | 18-28 | - | - |
| Integration event | OnBeforeFormatCellResult | (Record Acc. Schedule Line, Record Column Layout, Boolean, var Decimal, var Boolean) | 18-28 | - | - |
| Integration event | OnBeforeIsExpressionFilter | (Text, var Boolean, var Boolean) | 18-28 | - | - |
| Integration event | OnBeforeTestBalance | (var Record G/L Account, var Record Acc. Schedule Name, var Record Acc. Schedule Line, var Record Column Layout, Integer, var Decimal, Boolean, var Boolean, var Record G/L Entry, var Record G/L Budget Entry, var Decimal) | 18-28 | - | - |
| Integration event | OnBeforeSetGLAccGLEntryFilters | (var Record G/L Account, var Record Acc. Schedule Line, var Record Column Layout, Boolean, Boolean, var Boolean) | 18-19 | - | - |
| Integration event | OnBeforeSetGLAccGLBudgetEntryFilters | (var Record G/L Account, var Record G/L Budget Entry, var Record Acc. Schedule Line, var Record Column Layout, Boolean, Boolean, var Boolean) | 18-28 | - | - |
| Integration event | OnConvDimTotalingFilterOnDimNoElseCase | (Integer, var Code[20], Record Analysis View, Record Cost Accounting Setup) | 18-28 | - | - |
| Integration event | OnDrillDownOnGLAccountOnBeforeCopyFiltersEmptyAnalysisViewName | (var Record Acc. Schedule Line, var Record Column Layout) | 18-19 | - | - |
| Integration event | OnCalcCellValueInAccSchedLinesOnBeforeShowError | (Record Acc. Schedule Line, var Record Acc. Schedule Line, var Record Column Layout, Boolean, var Decimal, Date, Date, var Decimal, var Boolean, Text, var Boolean, var Boolean) | 18-28 | - | - |
| Integration event | OnSetGLAccAnalysisViewEntryFiltersOnBeforeAccSchedLineCopyFilter | (var Record Acc. Schedule Line, Record Analysis View Entry) | 18-28 | - | - |
| Integration event | OnBeforeGetCostAccSetup | (var Record Cost Accounting Setup, var Boolean) | 19-28 | - | - |
| Integration event | OnBeforeDrillDown | (Record Column Layout, var Record Acc. Schedule Line, Option, var Boolean) | 19-28 | - | - |
| Integration event | OnBeforeSetGLAccRowFilters | (var Record G/L Account, var Record Acc. Schedule Line, var Boolean) | 19-28 | - | - |
| Integration event | OnBeforeSetCFAccRowFilter | (var Record Cash Flow Account, var Record Acc. Schedule Line, var Boolean) | 19-28 | - | - |
| Integration event | OnAfterCheckName | (Code[10]) | 20-28 | - | - |
| Integration event | OnAfterCheckColumnName | (Code[10]) | 20-28 | - | - |
| Integration event | OnAfterCheckTemplateAndSetFilter | (var Code[10], var Record Acc. Schedule Line) | 20-28 | - | - |
| Integration event | OnAfterHasDimFilter | (var Record Acc. Schedule Line, var Record Column Layout, var Boolean) | 20-28 | - | - |
| Integration event | OnAfterFormatCellAsText | (var Record Column Layout, var Text[30], Decimal) | 20-28 | - | - |
| Integration event | OnAfterOpenColumns | (var Code[10], var Record Column Layout) | 20-28 | - | - |
| Integration event | OnBeforeCalcCell | (var Record Acc. Schedule Line, var Record Column Layout, Boolean, var Decimal, var Boolean) | 20-26 | - | - |
| Integration event | OnBeforeCalcCellValue | (var Record Acc. Schedule Line, var Record Column Layout, Boolean, var Decimal, var Boolean, Record Acc. Schedule Line, var Record Acc. Sched. Cell Value) | 20-22 | - | - |
| Integration event | OnBeforeCopyColumnsToTemp | (Code[10], var Record Column Layout, var Boolean) | 20-28 | - | - |
| Integration event | OnBeforeSetGLAccGLEntryFilters | (var Record G/L Account, var Record Acc. Schedule Line, var Record Column Layout, Boolean, Boolean, var Boolean, var Record G/L Entry) | 20-28 | - | - |
| Integration event | OnDrillDownOnGLAccountOnBeforeCopyFiltersEmptyAnalysisViewName | (var Record Acc. Schedule Line, var Record Column Layout, var Record G/L Account) | 20-28 | - | - |
| Integration event | OnDrillDownOnGLAccountOnBeforeCopyFiltersWithAnalysisView | (var Record Acc. Schedule Line, var Record Column Layout, var Record G/L Account) | 20-23 | - | - |
| Integration event | OnCopyColumnsToTempOnAfterColumnLayoutInsert | (Record Acc. Schedule Name, Code[10], Record Column Layout, var Record Column Layout) | 20-28 | - | - |
| Integration event | OnAfterCheckTemplateName | (Code[10]) | 20-28 | - | - |
| Integration event | OnCopyColumnsToTempOnBeforeFind | (Record Acc. Schedule Name, Code[10], var Record Column Layout) | 20-28 | - | - |
| Integration event | OnAfterSetCFAnalysisViewEntryFilters | (var Record Analysis View Entry, var Record Acc. Schedule Line, var Record Column Layout) | 21-28 | - | - |
| Integration event | OnAfterSetGLAccColumnFilters | (var Record G/L Account, var Record Acc. Schedule Line, var Record Column Layout, Date, Date) | 21-28 | - | - |
| Integration event | OnAfterSetCFAccColumnFilter | (var Record Cash Flow Account, var Record Acc. Schedule Line, var Record Column Layout, Date, Date) | 21-28 | - | - |
| Integration event | OnBeforeLookupColumnName | (Code[10], var Text[10], var Boolean, var Boolean) | 21-28 | - | - |
| Integration event | OnDrillDownTotalingTypeElseCase | (var Record Column Layout, var Record Acc. Schedule Line) | 21-28 | - | - |
| Integration event | OnDrillDownOnGLAccCatFilterOnAfterGLAccSetFilterGroup2 | (var Record Acc. Schedule Line, var Record G/L Account) | 21-28 | - | - |
| Integration event | OnAfterCheckAnalysisView | (Record Acc. Schedule Name, Record Column Layout Name, var Record Analysis View) | 22-28 | - | - |
| Integration event | OnAfterCalcColumnDates | (Record Column Layout, var Date, var Date, var Date, var Boolean) | 22-28 | - | - |
| Integration event | OnBeforeCalcCellValue | (var Record Acc. Schedule Line, var Record Column Layout, var Boolean, var Decimal, var Boolean, Record Acc. Schedule Line, var Record Acc. Sched. Cell Value) | 23-28 | - | - |
| Integration event | OnBeforeHasCostDimFilter | (var Record Acc. Schedule Line, var Boolean, var Boolean) | 23-28 | - | - |
| Integration event | OnCalcCellOnAfterAccountScheduleLineCopyFilters | (Record Column Layout, var Record Acc. Schedule Line) | 23-28 | - | - |
| Integration event | OnDrillDownOnGLAccountOnBeforeCopyFiltersWithAnalysisView | (var Record Acc. Schedule Line, var Record Column Layout, var Record G/L Account, var Record G/L Account (Analysis View)) | 24-28 | - | - |
| Integration event | OnCalcCellValueOnElseTotalingType | (Record Acc. Schedule Line, Record Acc. Schedule Line, var Record Column Layout, var Decimal) | 25-28 | - | - |
| Integration event | OnSetCFEntryFiltersOnAfterAccShedLineCopyFilter | (var Record Acc. Schedule Line, var Record Cash Flow Forecast Entry) | 25-28 | - | - |
| Integration event | OnBeforeFormatCellAsText | (var Record Column Layout, Decimal, var Boolean) | 25-28 | - | - |
| Integration event | OnCalcCFAccountOnAfterSetEntryFilters | (var Record Cash Flow Account, var Record Acc. Schedule Line, var Record Column Layout, var Decimal) | 25-28 | - | - |
| Integration event | OnAfterGetConvDimCode | (Record Analysis View, var Code[20]) | 26-28 | - | - |
| Integration event | OnBeforeCalcColumnHeader | (var Record Acc. Schedule Line, Record Column Layout, var Text, var Boolean) | 27-28 | - | - |
| Integration event | OnCalcColumnHeaderElseCase | (var Record Acc. Schedule Line, Record Column Layout, Date, Date, var Text, var Boolean) | 27-28 | - | - |
| Integration event | OnBeforeCalcCell | (var Record Acc. Schedule Line, var Record Column Layout, Boolean, var Decimal, var Boolean, var Boolean) | 27-28 | - | - |

## Source

Symbols: Microsoft.BaseApplication.symbols.437dbf0e-84ff-417a-965d-ed2bb9650972, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-09-20.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at a66254c3b8b5bb1cea290dc8f9d097aec4381153.

Jonas Paprotka, 2026-09-20.
