---
id: object/table/1112
type: object
title: Table 1112 "Cost Center"
summary: Table 1112 "Cost Center" in Base Application (Microsoft.CostAccounting.Account). 17 fields, 2 public procedures. Present since at least BC23, still in BC30, changed in BC24, BC27.
tier: official
language: en
tags:
  - table
  - base application
versions:
  introduced: null
  last_changed: "27"
  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: fb0aca1574ac4b6ea02504542a4f21822c0f46c422c1e59af3a2f94b4cacb5ea
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/CostAccounting/Account/CostCenter.Table.al
    title: src/Layers/W1/BaseApp/CostAccounting/Account/CostCenter.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn:
    - https://learn.microsoft.com/dynamics365/business-central/finance-about-cost-accounting
    - https://learn.microsoft.com/dynamics365/business-central/finance-set-up-cost-accounting
  objects: []
  features: []
  topics:
    - topic/business-central/business-functionality/finance/accounting-for-costs
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: table
object_id: 1112
name: Cost Center
namespace: Microsoft.CostAccounting.Account
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "24"
  - "27"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 17
  procedures: 4
  events: 0
  subscribers: 0
relations:
  out: 5
  referenced_by: 14
  pages: 2
  extended_by: 0
  event_subscribers: 0
  calls: 1
  called_by: 0
  implements: 0
---

# Table 1112 "Cost Center"

> Table 1112 "Cost Center" in Base Application (Microsoft.CostAccounting.Account). 17 fields, 2 public procedures. Present since at least BC23, still in BC30, changed in BC24, BC27.

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

Learn documents this table through its pages: [Page 1111 "Cost Center Card"](../page/1111.md) (1 Learn page), [Page 1122 "Chart of Cost Centers"](../page/1122.md) (1).

## Properties

| Property | Value |
|---|---|
| Caption | Cost Center |
| DataClassification | CustomerContent |

## Fields

Explanation: the field's ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.

| No. | Name | Type | Explanation | Notes |
|---|---|---|---|---|
| 1 | Code | Code[20] | Specifies the code for the cost center. <small>via [Page 1111 "Cost Center Card"](../page/1111.md)</small> | NotBlank |
| 2 | Name | Text[50] | Specifies the name of the cost center card. <small>via [Page 1111 "Cost Center Card"](../page/1111.md)</small> |  |
| 3 | Cost Subtype | Enum "Cost Center Subtype" | Specifies the subtype of the cost center. This is an information field and is not used for any other purposes. Choose the field to select the cost subtype. <small>via [Page 1111 "Cost Center Card"](../page/1111.md)</small> | enum [Enum 1114 "Cost Center Subtype"](../enum/1114.md) |
| 4 | Cost Type Filter | Code[20] | — | TableRelation [Table 1103 "Cost Type"](../table/1103.md) (Cost Type); FlowFilter |
| 5 | Date Filter | Date | — | FlowFilter |
| 6 | Net Change | Decimal | Specifies the net change in the account balance during the time period in the Date Filter field. <small>via [Page 1122 "Chart of Cost Centers"](../page/1122.md)</small> | FlowField: sum("Cost Entry".Amount where("Cost Center Code" = field(Code), "Cost Center Code" = field(filter(Totaling)), "Cost Type No." = field("Cost Type Filter"), "Posting Date" = field("Date Filter"))); not editable |
| 7 | Balance at Date | Decimal | Specifies the cost type balance on the last date that is included in the Date Filter field. The contents of the field are calculated by using the entries in the Amount field in the Cost Entry table. <small>via [Page 1111 "Cost Center Card"](../page/1111.md)</small> | FlowField: sum("Cost Entry".Amount where("Cost Center Code" = field(Code), "Cost Center Code" = field(filter(Totaling)), "Cost Type No." = field("Cost Type Filter"), "Posting Date" = field(upperlimit("Date Filter")))); not editable |
| 8 | Balance to Allocate | Decimal | Specifies the balance that has not yet been allocated. The entry in the Allocated field determines if the entry is included in the Balance to Allocate field. The value in the Allocated field is set automatically during the cost allocation. <small>via [Page 1111 "Cost Center Card"](../page/1111.md)</small> | FlowField: sum("Cost Entry".Amount where("Cost Center Code" = field(Code), "Cost Center Code" = field(filter(Totaling)), "Cost Type No." = field("Cost Type Filter"), "Posting Date" = field("Date Filter"), Allocated = const(false))); not editable |
| 9 | Responsible Person | Code[50] | Specifies the person who is responsible for the cost center. <small>via [Page 1111 "Cost Center Card"](../page/1111.md)</small> | TableRelation User."User Name" |
| 10 | Sorting Order | Code[10] | Specifies the sorting order of the cost center. <small>via [Page 1111 "Cost Center Card"](../page/1111.md)</small> |  |
| 11 | Comment | Text[50] | Specifies a comment that applies to the cost center. <small>via [Page 1111 "Cost Center Card"](../page/1111.md)</small> |  |
| 12 | Line Type | Option | Specifies the purpose of the cost object, such as Cost Object, Heading, or Begin-Total. Newly created cost objects are automatically assigned the Cost Object type, but you can change this. <small>via [Page 1111 "Cost Center Card"](../page/1111.md)</small> | OptionCaption: Cost Center,Heading,Total,Begin-Total,End-Total |
| 13 | Blocked | Boolean | Specifies that the related record is blocked from being posted in transactions, for example a customer that is declared insolvent or an item that is placed in quarantine. <small>via [Page 1111 "Cost Center Card"](../page/1111.md)</small> |  |
| 14 | New Page | Boolean | Specifies if you want a new page to start immediately after this cost center when you print the chart of cash flow accounts. <small>via [Page 1111 "Cost Center Card"](../page/1111.md)</small> |  |
| 15 | Blank Line | Boolean | Specifies whether you want a blank line to appear immediately after this cost center when you print the chart of cost centers. The New Page, Blank Line, and Indentation fields define the layout of the chart of cost centers. <small>via [Page 1111 "Cost Center Card"](../page/1111.md)</small> |  |
| 16 | Indentation | Integer | — | not editable |
| 17 | Totaling | Text[250] | Specifies an account interval or a list of account numbers. The entries of the account will be totaled to give a total balance. How entries are totaled depends on the value in the Account Type field. <small>via [Page 1111 "Cost Center Card"](../page/1111.md)</small> |  |

## Keys

- Key1: Code (clustered)
- Key2: Cost Subtype
- Key3: Sorting Order

## Procedures

- `ConfirmDeleteIfEntriesExist(var CostCenter: Record "Cost Center"; CalledFromOnInsert: Boolean)`
- `LookupCostCenterFilter(var Text: Text): Boolean`

Plus 2 local procedures.

## Triggers

OnDelete, OnInsert

## Relations

- lookup page [Page 1122 "Chart of Cost Centers"](../page/1122.md)
- Cost Type Filter: TableRelation [Table 1103 "Cost Type"](../table/1103.md)
- Balance at Date: CalcFormula [Table 1104 "Cost Entry"](../table/1104.md)
- Balance to Allocate: CalcFormula [Table 1104 "Cost Entry"](../table/1104.md)
- Net Change: CalcFormula [Table 1104 "Cost Entry"](../table/1104.md)

## Referenced by

14 fields in 11 objects relate to this table (TableRelation or CalcFormula).

- [Table 1101 "Cost Journal Line"](../table/1101.md): Bal. Cost Center Code, Cost Center Code
- [Table 1103 "Cost Type"](../table/1103.md): Cost Center Code, Cost Center Filter
- [Table 1107 "Cost Allocation Target"](../table/1107.md): Cost Center Filter, Target Cost Center
- [Table 1102 "Cost Journal Batch"](../table/1102.md): Bal. Cost Center Code
- [Table 1104 "Cost Entry"](../table/1104.md): Cost Center Code
- [Table 1106 "Cost Allocation Source"](../table/1106.md): Cost Center Code
- [Table 1109 "Cost Budget Entry"](../table/1109.md): Cost Center Code
- [Table 1114 "Cost Budget Buffer"](../table/1114.md): Cost Center Code
- [Table 1384 "Employee Templ."](../table/1384.md): Cost Center Code
- [Table 5200 "Employee"](../table/5200.md): Cost Center Code
- [Table 85 "Acc. Schedule Line"](../table/85.md): Cost Center Filter

## Pages and codeunits on this table

- [Page 1111 "Cost Center Card"](../page/1111.md) (source table)
- [Page 1122 "Chart of Cost Centers"](../page/1122.md) (source table)

## 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 408 "DimensionManagement"](../codeunit/408.md) (2 calls: `EntriesExist → GetDimSetFilter`, `EntriesExist → GetDimSetIDsForFilter`)

## Across versions

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

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: "table", object_name: "Cost Center")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
