tableAL Developmentofficial - Microsoftderived - from the source, no model text

Table 1112 "Cost Center"

Base Application · Microsoft.CostAccounting.Account

Across versions

  1. BC23present
  2. BC24declaration changed
  3. BC25-26unchanged
  4. BC273 fields changed
  5. BC28-30unchanged

Neighbourhood 18 connected objects and pages

Table 1104 "Cost Entry" (relates to, 3 links)Cost EntryTable 1103 "Cost Type" (relates to)Cost TypePage 1122 "Chart of Cost Centers" (pages and codeunits on it, 2 links)Chart of Cost CentersPage 1111 "Cost Center Card" (pages and codeunits on it)Cost Center CardCodeunit 408 "DimensionManagement" (calls, 2 links)DimensionManagementTable 1101 "Cost Journal Line" (referenced by, 2 links)Cost Journal LineTable 1103 "Cost Type" (referenced by, 2 links)Table 1107 "Cost Allocation Target" (referenced by, 2 links)Cost Allocation TargetTable 1102 "Cost Journal Batch" (referenced by)Cost Journal BatchTable 1104 "Cost Entry" (referenced by)Cost EntryTable 1106 "Cost Allocation Source" (referenced by)Cost Allocation SourceTable 1109 "Cost Budget Entry" (referenced by)Table 1114 "Cost Budget Buffer" (referenced by)Cost Budget BufferTable 1384 "Employee Templ." (referenced by)Employee Templ.Table 5200 "Employee" (referenced by)EmployeeTable 85 "Acc. Schedule Line" (referenced by)Acc. Schedule LineAbout cost accounting (Learn pages)Set up cost accounting (Learn pages)

Open in the neighbourhood explorer

One hop out, from the extracted relations and call graph. Up to 40 shown; the sections below list them all.

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

Referenced by

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

Pages and codeunits on this 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.

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.

Evidence 1 sources