Table 1112 "Cost Center"
Base Application · Microsoft.CostAccounting.Account
Across versions
- BC23present
- BC24declaration changed
- BC25-26unchanged
- BC273 fields changed
- BC28-30unchanged
Neighbourhood 18 connected objects and pages
Base Application · Microsoft.CostAccounting.Account · BC23-30 · source at ea08af5e · facts from BC29
Learn documents this table through its pages: Page 1111 “Cost Center Card” (1 Learn page), Page 1122 “Chart of Cost Centers” (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. via Page 1111 “Cost Center Card” | NotBlank |
| 2 | Name | Text[50] | Specifies the name of the cost center card. via Page 1111 “Cost Center Card” | |
| 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. via Page 1111 “Cost Center Card” | enum Enum 1114 “Cost Center Subtype” |
| 4 | Cost Type Filter | Code[20] | — | TableRelation Table 1103 “Cost Type” (Cost Type); FlowFilter |
| 5 | Date Filter | Date | — | FlowFilter |
| 6 | Net Change Δ BC27 | Decimal | Specifies the net change in the account balance during the time period in the Date Filter field. via Page 1122 “Chart of Cost Centers” | 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 Δ BC27 | 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. via Page 1111 “Cost Center Card” | 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 Δ BC27 | 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. via Page 1111 “Cost Center Card” | 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. via Page 1111 “Cost Center Card” | TableRelation User.“User Name” |
| 10 | Sorting Order | Code[10] | Specifies the sorting order of the cost center. via Page 1111 “Cost Center Card” | |
| 11 | Comment | Text[50] | Specifies a comment that applies to the cost center. via Page 1111 “Cost Center Card” | |
| 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. via Page 1111 “Cost Center Card” | 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. via Page 1111 “Cost Center Card” | |
| 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. via Page 1111 “Cost Center Card” | |
| 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. via Page 1111 “Cost Center Card” | |
| 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. via Page 1111 “Cost Center Card” |
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”
- Cost Type Filter: TableRelation Table 1103 “Cost Type”
- Balance at Date: CalcFormula Table 1104 “Cost Entry”
- Balance to Allocate: CalcFormula Table 1104 “Cost Entry”
- Net Change: CalcFormula Table 1104 “Cost Entry”
Referenced by
14 fields in 11 objects relate to this table (TableRelation or CalcFormula).
- Table 1101 “Cost Journal Line”: Bal. Cost Center Code, Cost Center Code
- Table 1103 “Cost Type”: Cost Center Code, Cost Center Filter
- Table 1107 “Cost Allocation Target”: Cost Center Filter, Target Cost Center
- Table 1102 “Cost Journal Batch”: Bal. Cost Center Code
- Table 1104 “Cost Entry”: Cost Center Code
- Table 1106 “Cost Allocation Source”: Cost Center Code
- Table 1109 “Cost Budget Entry”: Cost Center Code
- Table 1114 “Cost Budget Buffer”: Cost Center Code
- Table 1384 “Employee Templ.”: Cost Center Code
- Table 5200 “Employee”: Cost Center Code
- Table 85 “Acc. Schedule Line”: Cost Center Filter
Pages and codeunits on this table
- Page 1111 “Cost Center Card” (source table)
- Page 1122 “Chart of Cost Centers” (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” (2 calls:
EntriesExist → GetDimSetFilter,EntriesExist → GetDimSetIDsForFilter)
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.