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

# Table 1302 "Dimensions Template"

> Table 1302 "Dimensions Template" in Base Application (Microsoft.Finance.Dimension). 7 fields, 4 public procedures, 2 events. Present since at least BC23, still in BC30, changed in BC24, BC29.

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

Learn documents this table through its pages: [Page 1343 "Dimensions Template List"](../page/1343.md) (1 Learn page).

## Properties

| Property | Value |
|---|---|
| Caption | Dimensions Template |
| 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[10] | — | NotBlank |
| 3 | Dimension Code | Code[20] | Specifies the code for the default dimension. | TableRelation [Table 348 "Dimension"](../table/348.md); NotBlank |
| 4 | Dimension Value Code | Code[20] | Specifies the dimension value code to suggest as the default dimension. | TableRelation [Table 349 "Dimension Value"](../table/349.md) ("Dimension Value".Code where("Dimension Code" = field("Dimension Code"), Blocked = const(false))) |
| 5 | Value Posting | Enum "Default Dimension Value Posting Type" | Specifies how default dimensions and their values must be used. | enum [Enum 353 "Default Dimension Value Posting Type"](../enum/353.md) |
| 50 | Description | Text[100] | — |  |
| 51 | Table Id | Integer | — |  |
| 52 | Master Record Template Code | Code[10] | — |  |

## Keys

- Key1: Code (clustered)

## Events published

- `OnAfterCreateFieldRefArray(var FieldRefArray: array[23] of FieldRef; RecRef: RecordRef)` (integration)
- `OnBeforeCreateTemplateFromExistingDefaultDimension(DefaultDimension: Record "Default Dimension"; MasterRecordTemplateCode: Code[10]; var IsHandled: Boolean)` (integration): Integration event raised before creating template from existing default dimension record. Enables customization of template creation logic for default dimension automation.

## Procedures

- `InitializeTemplatesFromMasterRecordTemplate(MasterRecordTemplateCode: Code[10]; var TempDimensionsTemplate: Record "Dimensions Template" temporary; TableID: Integer)`: Initializes dimension templates from a master record template for coordinated record creation. Creates temporary dimension template records based on template configuration relationships.
- `InitializeTempRecordFromConfigTemplate(var TempDimensionsTemplate: Record "Dimensions Template" temporary; ConfigTemplateHeader: Record "Config. Template Header"; MasterRecordTemplateCode: Code[10]; TableID: Integer)`: Initializes a temporary dimension template record from a configuration template header. Applies template field values and establishes relationships for dimension automation.
- `InsertDimensionsFromTemplates(ConfigTemplateHeader: Record "Config. Template Header"; MasterRecordNo: Code[20]; TableID: Integer)`: Inserts default dimensions for a master record using configured dimension templates. Applies all related dimension templates to establish complete dimension setup for new records.
- `CreateTemplatesFromExistingMasterRecord(MasterRecordNo: Code[20]; MasterRecordTemplateCode: Code[10]; TableID: Integer)`: Creates dimension templates from an existing master record's default dimension configuration. Enables template generation based on proven dimension setups for replication purposes.

Plus 7 local procedures.

## Triggers

OnDelete, OnInsert, OnModify

## Relations

- Dimension Code: TableRelation [Table 348 "Dimension"](../table/348.md)
- Dimension Value Code: TableRelation [Table 349 "Dimension Value"](../table/349.md)

## Pages and codeunits on this table

- [Page 1343 "Dimensions Template List"](../page/1343.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 8612 "Config. Template Management"](../codeunit/8612.md) (8 calls: `CreateTemplateFromExistingDefaultDimension → AddRelatedTemplate`, `CreateTemplateFromExistingDefaultDimension → CreateConfigTemplateAndLines`, `InitializeTempRecordFromConfigTemplate → ApplyTemplateLinesWithoutValidation`, …)

## Across versions

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

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: "Dimensions Template")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
