---
title: "Table 5105 Customer Template"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/table/5105-customer-template/
type: table
id: 5105
name: "Customer Template"
app: "Base Application"
namespace: Microsoft.Sales.Customer
versions: "17-25"
build: 25.5.30849.36072
obsolete: "Removed 23.0"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Table 5105 Customer Template

Jonas Paprotka, https://jonas-paprotka.de/ref/table/5105-customer-template/

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.Sales.Customer |
| Versions | 17-25 |
| Obsolete | Removed 23.0, seen from 17. Deprecate mini and customer templates. Use table "Customer Templ." instead and for extensions. |
| Source file | Sales/Customer/CustomerTemplate.Table.al |

## Fields

| Id | Name | Type | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| 1 | Code | Code[10] | 17-25 | - | - |
| 2 | Description | Text[100] | 17-25 | - | - |
| 15 | Territory Code | Code[10] | 17-25 | - | - |
| 16 | Global Dimension 1 Code | Code[20] | 17-25 | - | - |
| 17 | Global Dimension 2 Code | Code[20] | 17-25 | - | - |
| 21 | Customer Posting Group | Code[20] | 17-25 | - | - |
| 22 | Currency Code | Code[10] | 17-25 | - | - |
| 23 | Customer Price Group | Code[10] | 17-25 | - | - |
| 27 | Payment Terms Code | Code[10] | 17-25 | - | - |
| 30 | Shipment Method Code | Code[10] | 17-25 | - | - |
| 33 | Invoice Disc. Code | Code[20] | 17-25 | - | - |
| 34 | Customer Disc. Group | Code[20] | 17-25 | - | - |
| 35 | Country/Region Code | Code[10] | 17-25 | - | - |
| 47 | Payment Method Code | Code[10] | 17-25 | - | - |
| 82 | Prices Including VAT | Boolean | 17-25 | - | - |
| 88 | Gen. Bus. Posting Group | Code[20] | 17-25 | - | - |
| 110 | VAT Bus. Posting Group | Code[20] | 17-25 | - | - |
| 5050 | Contact Type | Enum Contact Type | 17-25 | - | - |
| 7001 | Allow Line Disc. | Boolean | 17-25 | - | - |

## Keys

| Name | Fields | Versions |
| --- | --- | --- |
| Key1, clustered | Code | 17-25 |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| ValidateShortcutDimCode | (Integer, var Code[20]) | - | public | 17-22 | Pending 18.0 | Will be removed with other functionality related to "old" templates. Replaced by new templates. |
| CopyTemplate | (var Record Customer Template) | - | public | 17-22 | Pending 18.0 | Will be removed with other functionality related to "old" templates. Replaced by new templates. |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnAfterValidateShortcutDimCode | (var Record Customer Template, var Record Customer Template, Integer, var Code[20]) | 17-22 | Pending 18.0 | Will be removed with other functionality related to "old" templates. Replaced by new templates. |
| Integration event | OnBeforeValidateShortcutDimCode | (var Record Customer Template, var Record Customer Template, Integer, var Code[20]) | 17-22 | Pending 18.0 | Will be removed with other functionality related to "old" templates. Replaced by new templates. |

## Source

Symbols: Microsoft.BaseApplication.symbols.437dbf0e-84ff-417a-965d-ed2bb9650972, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-09-20.

Jonas Paprotka, 2026-09-20.
