---
id: object/codeunit/5239
type: object
title: Codeunit 5239 "Contoso Account Schedule"
summary: Codeunit 5239 "Contoso Account Schedule" in ContosoCoffeeDemoDataset (Microsoft.DemoTool.Helpers). 19 public procedures. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - codeunit
  - contosocoffeedemodataset
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: ceb7943f4532e72989050e4d74f7af089f532f3b63e1814bfae29b790fd5bd96
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/ContosoCoffeeDemoDataset/app/DemoTool/Contoso%20Helpers/ContosoAccountSchedule.Codeunit.al
    title: src/Apps/W1/ContosoCoffeeDemoDataset/app/DemoTool/Contoso Helpers/ContosoAccountSchedule.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: 5239
name: Contoso Account Schedule
namespace: Microsoft.DemoTool.Helpers
app: ContosoCoffeeDemoDataset
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: 19
  events: 0
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 13
  implements: 0
---

# Codeunit 5239 "Contoso Account Schedule"

> Codeunit 5239 "Contoso Account Schedule" in ContosoCoffeeDemoDataset (Microsoft.DemoTool.Helpers). 19 public procedures. Introduced in BC29, still in BC30.

ContosoCoffeeDemoDataset · Microsoft.DemoTool.Helpers · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/ContosoCoffeeDemoDataset/app/DemoTool/Contoso%20Helpers/ContosoAccountSchedule.Codeunit.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Permissions | tabledata "Account Schedules Chart Setup" = rim, tabledata "Acc. Sched. Chart Setup Line" = rim, tabledata "Acc. Schedule Name" = rim, tabledata "Acc. Schedule Line" = ri, tabledata "Column Layout Name" = rim, tabledata "Column Layout" = ri, tabledata "Financial Report" = rim, tabledata "Acc. Sched.... |

## Procedures

- `SetOverwriteData(Overwrite: Boolean)`
- `InsertAccountSchedulesChartSetup(UserID: Text[132]; Name: Text[30]; Description: Text[250]; AccountScheduleName: Code[10]; ColumnLayoutName: Code[10]; StartDate: Date; PeriodLength: Integer; NoOfPeriods: Integer; Look Ahead: Boolean)`
- `InsertAccScheduleLine(ScheduleName: Code[10]; LineNo: Integer; RowNo: Code[10]; Description: Text[100]; Totaling: Text[250]; TotalingType: Enum "Acc. Schedule Line Totaling Type"; Show: Enum "Acc. Schedule Line Show"; Dimension1Totaling: Text[250]; Bold: Boolean; Italic: Boolean; Underline: Boolean; ShowOppositeSign: Boolean; RowType: Integer)`
- `InsertAccScheduleLine(ScheduleName: Code[10]; LineNo: Integer; RowNo: Code[10]; Description: Text[100]; Totaling: Text[250]; TotalingType: Enum "Acc. Schedule Line Totaling Type"; Show: Enum "Acc. Schedule Line Show"; Dimension1Totaling: Text[250]; Bold: Boolean; Italic: Boolean; Underline: Boolean; ShowOppositeSign: Boolean; RowType: Integer; NetAmountType: Enum "Account Schedule Amount Type")`
- `InsertAccScheduleLine(ScheduleName: Code[10]; LineNo: Integer; RowNo: Code[10]; Description: Text[100]; Totaling: Text[250]; TotalingType: Enum "Acc. Schedule Line Totaling Type"; Show: Enum "Acc. Schedule Line Show"; Dimension1Totaling: Text[250]; Bold: Boolean; Italic: Boolean; Underline: Boolean; ShowOppositeSign: Boolean; RowType: Integer; NetAmountType: Enum "Account Schedule Amount Type"; Indentation: Integer)`
- `InsertAccScheduleName(Name: Code[10]; Description: Text[80]; AnalysisViewName: Code[10])`
- `InsertAccScheduleName(Name: Code[10]; Description: Text[80]; AnalysisViewName: Code[10]; InternalDescription: Text[500])`
- `InsertColumnLayoutName(Name: Code[10]; Description: Text[80])`
- `InsertColumnLayoutName(Name: Code[10]; Description: Text[80]; InternalDescription: Text[500])`
- `InsertAccSchedKPIWebSrvLine(AccScheduleName: Code[10])`
- `InsertAccSchedKPIWebSrvSetup(Period: Integer; ViewBy: Integer; WebServiceName: Text[240]; DataTimeToLiveHours: Integer)`
- `InsertAccSchedChartSetupLine(UserID: Text[132]; Name: Text[30]; AccountScheduleLineNo: Integer; ColumnLayoutLineNo: Integer; AccountScheduleName: Code[10]; ColumnLayoutName: Code[10]; MeasureName: Text[111]; ChartType: Enum "Account Schedule Chart Type")`
- `InsertColumnLayout(ColumnLayoutName: Code[10]; LineNo: Integer; ColumnNo: Code[10]; ColumnHeader: Text[30]; ColumnType: Enum "Column Layout Type"; LedgerEntryType: Enum "Column Layout Entry Type"; Formula: Code[80]; ShowOppositeSign: Boolean; Show: Enum "Column Layout Show"; ComparisonPeriodFormula: Code[20]; HideCurrencySymbol: Boolean)`
- `InsertColumnLayout(ColumnLayoutName: Code[10]; LineNo: Integer; ColumnNo: Code[10]; ColumnHeader: Text[30]; ColumnType: Enum "Column Layout Type"; LedgerEntryType: Enum "Column Layout Entry Type"; Formula: Code[80]; ShowOppositeSign: Boolean; Show: Enum "Column Layout Show"; ComparisonPeriodFormula: Code[20]; HideCurrencySymbol: Boolean; IncludeDateInHeader: Enum ColumnHeaderDateType)`
- `InsertColumnLayout(ColumnLayoutName: Code[10]; LineNo: Integer; ColumnNo: Code[10]; ColumnHeader: Text[30]; ColumnType: Enum "Column Layout Type"; LedgerEntryType: Enum "Column Layout Entry Type"; AmountType: Enum "Account Schedule Amount Type"; Formula: Code[80]; ShowOppositeSign: Boolean; Show: Enum "Column Layout Show"; ComparisonPeriodFormula: Code[20]; HideCurrencySymbol: Boolean; FormulaLCID: Integer)`
- `InsertColumnLayout(ColumnLayoutName: Code[10]; LineNo: Integer; ColumnNo: Code[10]; ColumnHeader: Text[30]; ColumnType: Enum "Column Layout Type"; LedgerEntryType: Enum "Column Layout Entry Type"; AmountType: Enum "Account Schedule Amount Type"; Formula: Code[80]; ShowOppositeSign: Boolean; Show: Enum "Column Layout Show"; ComparisonPeriodFormula: Code[20]; HideCurrencySymbol: Boolean; FormulaLCID: Integer; IncludeDateInHeader: Enum ColumnHeaderDateType)`
- `InsertFinancialReport(Name: Code[10]; Description: Text[80]; FinancialReportRowGrp: Code[10]; FinancialReportColumnGrp: Code[10])`
- `InsertFinancialReport(Name: Code[10]; Description: Text[80]; FinancialReportRowGrp: Code[10]; FinancialReportColumnGrp: Code[10]; InternalDescription: Text[500])`
- `InsertChartDefinition(Codeunit: Integer; ChartName: Text[60]; Enabled: Boolean)`

## 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.

- [Codeunit 5223 "Create Acc. Schedule Name"](../codeunit/5223.md) (2 calls: `CreateSetupAccScheduleName → InsertAccScheduleName`, `OnRun → InsertAccScheduleName`)
- [Codeunit 5224 "Create Acc. Schedule Line"](../codeunit/5224.md) (2 calls: `CreateSetupAccScheduleLine → InsertAccScheduleLine`, `OnRun → InsertAccScheduleLine`)
- [Codeunit 5247 "Create Sust. Column Layout"](../codeunit/5247.md) (2 calls: `OnRun → InsertColumnLayout`, `OnRun → InsertColumnLayoutName`)
- [Codeunit 5395 "Create Column Layout"](../codeunit/5395.md) (2 calls: `CreateSetupColumnLayout → InsertColumnLayout`, `OnRun → InsertColumnLayout`)
- [Codeunit 5401 "Create Column Layout Name"](../codeunit/5401.md) (2 calls: `CreateSetupColumnLayoutName → InsertColumnLayoutName`, `OnRun → InsertColumnLayoutName`)
- [Codeunit 5425 "Create Financial Report"](../codeunit/5425.md) (2 calls: `CreateSetupFinancialReport → InsertFinancialReport`, `OnRun → InsertFinancialReport`)
- [Codeunit 5234 "Create Sust. Financial Report"](../codeunit/5234.md) (1 call: `OnRun → InsertFinancialReport`)
- [Codeunit 5244 "Create Sust. Acc. Sch. Line"](../codeunit/5244.md) (1 call: `OnRun → InsertAccScheduleLine`)
- [Codeunit 5245 "Create Sust. Acc. Sch. Name"](../codeunit/5245.md) (1 call: `OnRun → InsertAccScheduleName`)
- [Codeunit 5297 "Create Acc. Schedule Chart"](../codeunit/5297.md) (1 call: `OnRun → InsertAccountSchedulesChartSetup`)
- [Codeunit 5298 "Create Acc. Sched. Chart Line"](../codeunit/5298.md) (1 call: `OnRun → InsertAccSchedChartSetupLine`)
- [Codeunit 5484 "Create KPI Web Srv Setup"](../codeunit/5484.md) (1 call: `OnRun → InsertAccSchedKPIWebSrvSetup`)
- [Codeunit 5491 "Create KPI Web Srv Line"](../codeunit/5491.md) (1 call: `OnRun → InsertAccSchedKPIWebSrvLine`)

## 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: "Contoso Account Schedule")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
