---
id: object/table/1113
type: object
title: Table 1113 "Cost Object"
summary: Table 1113 "Cost Object" in Base Application (Microsoft.CostAccounting.Account). 14 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: 9062caeb67a0886d92149eaccbbadaa2c1cb046c07df1606c77690a203eebc55
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/CostAccounting/Account/CostObject.Table.al
    title: src/Layers/W1/BaseApp/CostAccounting/Account/CostObject.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-manage-cost-accounting
    - https://learn.microsoft.com/dynamics365/business-central/finance-terminology-in-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: 1113
name: Cost Object
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: 14
  procedures: 4
  events: 0
  subscribers: 0
relations:
  out: 4
  referenced_by: 14
  pages: 2
  extended_by: 0
  event_subscribers: 0
  calls: 1
  called_by: 0
  implements: 0
---

# Table 1113 "Cost Object"

> Table 1113 "Cost Object" in Base Application (Microsoft.CostAccounting.Account). 14 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/CostObject.Table.al) · facts from BC29

Learn documents this table through its pages: [Page 1123 "Chart of Cost Objects"](../page/1123.md) (3 Learn pages), [Page 1112 "Cost Object Card"](../page/1112.md) (2).

## Properties

| Property | Value |
|---|---|
| Caption | Cost Object |
| 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 object. <small>via [Page 1112 "Cost Object Card"](../page/1112.md)</small> | NotBlank |
| 2 | Name | Text[50] | Specifies the name of the cost object card. <small>via [Page 1112 "Cost Object Card"](../page/1112.md)</small> |  |
| 3 | Cost Type Filter | Code[20] | — | TableRelation [Table 1103 "Cost Type"](../table/1103.md) (Cost Type); FlowFilter |
| 4 | Date Filter | Date | — | FlowFilter |
| 5 | Net Change | Decimal | Specifies the net change in the account balance during the time period in the Date Filter field. <small>via [Page 1112 "Cost Object Card"](../page/1112.md)</small> | FlowField: sum("Cost Entry".Amount where("Cost Object Code" = field(Code), "Cost Object Code" = field(filter(Totaling)), "Cost Type No." = field("Cost Type Filter"), "Posting Date" = field("Date Filter"))); not editable |
| 6 | 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 1123 "Chart of Cost Objects"](../page/1123.md)</small> | FlowField: sum("Cost Entry".Amount where("Cost Object Code" = field(Code), "Cost Object Code" = field(filter(Totaling)), "Cost Type No." = field("Cost Type Filter"), "Posting Date" = field(upperlimit("Date Filter")))); not editable |
| 7 | Sorting Order | Code[10] | Specifies the sorting order of the cost object. <small>via [Page 1112 "Cost Object Card"](../page/1112.md)</small> |  |
| 8 | Comment | Text[50] | Specifies a comment that applies to the cost object. <small>via [Page 1112 "Cost Object Card"](../page/1112.md)</small> |  |
| 9 | 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 1112 "Cost Object Card"](../page/1112.md)</small> | OptionCaption: Cost Object,Heading,Total,Begin-Total,End-Total |
| 10 | 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 1112 "Cost Object Card"](../page/1112.md)</small> |  |
| 11 | 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 1112 "Cost Object Card"](../page/1112.md)</small> |  |
| 12 | 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 1112 "Cost Object Card"](../page/1112.md)</small> |  |
| 13 | Indentation | Integer | — | not editable |
| 14 | 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 1112 "Cost Object Card"](../page/1112.md)</small> |  |

## Keys

- Key1: Code (clustered)
- Key2: Sorting Order

## Procedures

- `ConfirmDeleteIfEntriesExist(var CostObject: Record "Cost Object"; CalledFromOnInsert: Boolean)`
- `LookupCostObjectFilter(var Text: Text): Boolean`

Plus 2 local procedures.

## Triggers

OnDelete, OnInsert

## Relations

- lookup page [Page 1123 "Chart of Cost Objects"](../page/1123.md)
- Cost Type Filter: TableRelation [Table 1103 "Cost Type"](../table/1103.md)
- Balance at Date: 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 Object Code, Cost Object Code
- [Table 1103 "Cost Type"](../table/1103.md): Cost Object Code, Cost Object Filter
- [Table 1107 "Cost Allocation Target"](../table/1107.md): Cost Object Filter, Target Cost Object
- [Table 1102 "Cost Journal Batch"](../table/1102.md): Bal. Cost Object Code
- [Table 1104 "Cost Entry"](../table/1104.md): Cost Object Code
- [Table 1106 "Cost Allocation Source"](../table/1106.md): Cost Object Code
- [Table 1109 "Cost Budget Entry"](../table/1109.md): Cost Object Code
- [Table 1114 "Cost Budget Buffer"](../table/1114.md): Cost Object Code
- [Table 1384 "Employee Templ."](../table/1384.md): Cost Object Code
- [Table 5200 "Employee"](../table/5200.md): Cost Object Code
- [Table 85 "Acc. Schedule Line"](../table/85.md): Cost Object Filter

## Pages and codeunits on this table

- [Page 1112 "Cost Object Card"](../page/1112.md) (source table)
- [Page 1123 "Chart of Cost Objects"](../page/1123.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 Object")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
