---
id: object/table/1107
type: object
title: Table 1107 "Cost Allocation Target"
summary: Table 1107 "Cost Allocation Target" in Base Application (Microsoft.CostAccounting.Allocation). 22 fields, 4 events. 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: c7b9ac6226b1a637627148ecce3738fc341dfc95dce539b07694b5089a1b5c64
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/CostAccounting/Allocation/CostAllocationTarget.Table.al
    title: src/Layers/W1/BaseApp/CostAccounting/Allocation/CostAllocationTarget.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn:
    - https://learn.microsoft.com/dynamics365/business-central/finance-define-and-allocate-costs
  objects: []
  features: []
  topics:
    - topic/business-central/business-functionality/finance/accounting-for-costs
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: table
object_id: 1107
name: Cost Allocation Target
namespace: Microsoft.CostAccounting.Allocation
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: 22
  procedures: 11
  events: 4
  subscribers: 0
relations:
  out: 8
  referenced_by: 1
  pages: 3
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Table 1107 "Cost Allocation Target"

> Table 1107 "Cost Allocation Target" in Base Application (Microsoft.CostAccounting.Allocation). 22 fields, 4 events. Present since at least BC23, still in BC30, changed in BC24, BC27.

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

Learn documents this table through its pages: [Page 1106 "Cost Allocation Target"](../page/1106.md) (1 Learn page), [Page 1109 "Cost Allocation Target Card"](../page/1109.md) (1), [Page 1114 "Cost Allocation Target List"](../page/1114.md) (1).

## Properties

| Property | Value |
|---|---|
| Caption | Cost Allocation Target |
| 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 | ID | Code[10] | Specifies the ID that applies to the cost allocation. <small>via [Page 1109 "Cost Allocation Target Card"](../page/1109.md)</small> | TableRelation [Table 1106 "Cost Allocation Source"](../table/1106.md) (Cost Allocation Source); not editable |
| 2 | Line No. | Integer | Specifies the number of this line. <small>via [Page 1109 "Cost Allocation Target Card"](../page/1109.md)</small> | not editable; NotBlank |
| 5 | Target Cost Type | Code[20] | Specifies the type of target cost. <small>via [Page 1109 "Cost Allocation Target Card"](../page/1109.md)</small> | TableRelation [Table 1103 "Cost Type"](../table/1103.md) (Cost Type) |
| 6 | Target Cost Center | Code[20] | Specifies the target cost center. <small>via [Page 1109 "Cost Allocation Target Card"](../page/1109.md)</small> | TableRelation [Table 1112 "Cost Center"](../table/1112.md) (Cost Center) |
| 7 | Target Cost Object | Code[20] | Specifies the target cost object. <small>via [Page 1109 "Cost Allocation Target Card"](../page/1109.md)</small> | TableRelation [Table 1113 "Cost Object"](../table/1113.md) (Cost Object) |
| 8 | Static Base | Decimal | Specifies whether or not the base is static. <small>via [Page 1109 "Cost Allocation Target Card"](../page/1109.md)</small> |  |
| 9 | Static Weighting | Decimal | Specifies whether the values in the static base are weighted. <small>via [Page 1109 "Cost Allocation Target Card"](../page/1109.md)</small> |  |
| 10 | Share | Decimal | Specifies the values calculated from the Static Base and Static Weighting fields. <small>via [Page 1109 "Cost Allocation Target Card"](../page/1109.md)</small> |  |
| 11 | Percent | Decimal | Specifies the percentage rate calculated based on all other allocation targets. <small>via [Page 1109 "Cost Allocation Target Card"](../page/1109.md)</small> | not editable |
| 20 | Comment | Text[50] | Specifies a comment that applies to the cost allocation. <small>via [Page 1109 "Cost Allocation Target Card"](../page/1109.md)</small> |  |
| 30 | Base | Enum "Cost Allocation Target Base" | Specifies whether or not the base is static. <small>via [Page 1109 "Cost Allocation Target Card"](../page/1109.md)</small> | enum [Enum 1117 "Cost Allocation Target Base"](../enum/1117.md) |
| 31 | No. Filter | Text[250] | Specifies a filter for the numbers that are included. <small>via [Page 1109 "Cost Allocation Target Card"](../page/1109.md)</small> |  |
| 32 | Cost Center Filter | Text[250] | Specifies the cost center code. The code serves as a default value for cost posting that is captured later in the cost journal. <small>via [Page 1109 "Cost Allocation Target Card"](../page/1109.md)</small> | TableRelation [Table 1112 "Cost Center"](../table/1112.md) (Cost Center) |
| 33 | Cost Object Filter | Text[250] | Specifies the cost object code. The code serves as a default value for cost posting that is captured later in the cost journal. <small>via [Page 1109 "Cost Allocation Target Card"](../page/1109.md)</small> | TableRelation [Table 1113 "Cost Object"](../table/1113.md) (Cost Object) |
| 34 | Date Filter Code | Enum "Cost Allocation Target Period" | Specifies a filter to filter the calculation of the dynamic allocation base by dates. You use the Date Filter Code field to define a dynamic date range without using a static date. If the allocation bases are updated, the date filter is automatically updated by using the work date. <small>via [Page 1109 "Cost Allocation Target Card"](../page/1109.md)</small> | enum [Enum 1118 "Cost Allocation Target Period"](../enum/1118.md) |
| 35 | Group Filter | Text[250] | Specifies a filter so that the dynamic calculation of the Share field is based on the chosen group. Leave the field blank for static allocation. <small>via [Page 1109 "Cost Allocation Target Card"](../page/1109.md)</small> |  |
| 38 | Allocation Target Type | Enum "Cost Allocation Target Type" | Specifies if the allocation comes from both budgeted and actual costs, only budgeted costs, or only actual costs. <small>via [Page 1109 "Cost Allocation Target Card"](../page/1109.md)</small> | enum [Enum 1119 "Cost Allocation Target Type"](../enum/1119.md) |
| 40 | Percent per Share | Decimal | Specifies the percentage if the chosen Allocation Target Type is Percent per Share. <small>via [Page 1109 "Cost Allocation Target Card"](../page/1109.md)</small> |  |
| 41 | Amount per Share | Decimal | Specifies the amount if the value in the Allocation Target Type field is Amount per Share. <small>via [Page 1109 "Cost Allocation Target Card"](../page/1109.md)</small> |  |
| 50 | Share Updated on | Date | Specifies the date of when the Share field was last updated. <small>via [Page 1109 "Cost Allocation Target Card"](../page/1109.md)</small> | not editable |
| 60 | Last Date Modified | Date | Specifies when the allocation target card was last modified. <small>via [Page 1109 "Cost Allocation Target Card"](../page/1109.md)</small> | not editable |
| 61 | User ID | Code[50] | Specifies the ID of the user who posted the entry, to be used, for example, in the change log. <small>via [Page 1109 "Cost Allocation Target Card"](../page/1109.md)</small> | TableRelation User."User Name"; not editable; DataClassification EndUserIdentifiableInformation |

## Keys

- Key1: ID, Line No. (clustered)
- Key2: Target Cost Type
- Key3: Target Cost Center
- Key4: Target Cost Object
- Key5: ID, Allocation Target Type

## Events published

- `OnBeforeLookupGroupFilter(SourceBase: Integer; var SelectionFilter: Text; var IsHandled: Boolean)` (integration)
- `OnCalcPercentOnBeforeDistributeRoundingError(var CostAllocationTarget: Record "Cost Allocation Target"; PctTotal: Decimal; var IsHandled: Boolean)` (integration)
- `OnCalcPercentOnAfterSetFilters(var CostAllocationTarget: Record "Cost Allocation Target"; var Rec: Record "Cost Allocation Target")` (integration)
- `OnBeforeValidateTargetCostCenter(var CostAllocationTarget: Record "Cost Allocation Target"; var IsHandled: Boolean)` (integration)

## Procedures

7 local procedures, no public ones.

## Triggers

OnInsert, OnModify

## Relations

- drill-down page [Page 1114 "Cost Allocation Target List"](../page/1114.md)
- lookup page [Page 1114 "Cost Allocation Target List"](../page/1114.md)
- Target Cost Type: TableRelation [Table 1103 "Cost Type"](../table/1103.md)
- ID: TableRelation [Table 1106 "Cost Allocation Source"](../table/1106.md)
- Cost Center Filter: TableRelation [Table 1112 "Cost Center"](../table/1112.md)
- Target Cost Center: TableRelation [Table 1112 "Cost Center"](../table/1112.md)
- Cost Object Filter: TableRelation [Table 1113 "Cost Object"](../table/1113.md)
- Target Cost Object: TableRelation [Table 1113 "Cost Object"](../table/1113.md)

## Referenced by

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

- [Table 1106 "Cost Allocation Source"](../table/1106.md): Total Share

## Pages and codeunits on this table

- [Page 1106 "Cost Allocation Target"](../page/1106.md) (source table)
- [Page 1109 "Cost Allocation Target Card"](../page/1109.md) (source table)
- [Page 1114 "Cost Allocation Target List"](../page/1114.md) (source table)

## 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). 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 Allocation Target")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
