---
id: object/table/1381
type: object
title: Table 1381 "Customer Templ."
summary: Table 1381 "Customer Templ." in Base Application (Microsoft.Sales.Customer). 77 fields, 1 public procedures, 2 events. Present since at least BC23, still in BC30, changed in BC24-28.
tier: official
language: en
tags:
  - table
  - base application
versions:
  introduced: null
  last_changed: "28"
  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: 1cedaaf27256de317a1ffbe76deabb5a5ac2cab216e23377403041c0d5781743
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Sales/Customer/CustomerTempl.Table.al
    title: src/Layers/W1/BaseApp/Sales/Customer/CustomerTempl.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn:
    - https://learn.microsoft.com/dynamics365/business-central/sales-how-register-new-customers
  objects: []
  features: []
  topics:
    - topic/business-central/business-functionality/sales
    - topic/business-central/business-functionality/set-up-business-central/set-up-sales
  localizations:
    - localization/au
    - localization/be
    - localization/ca
    - localization/ch
    - localization/es
    - localization/fr
    - localization/it
    - localization/mx
    - localization/nl
    - localization/no
    - localization/nz
    - localization/us
  videos: []
  posts: []
  guidelines: []
object_type: table
object_id: 1381
name: Customer Templ.
caption: Customer Template
namespace: Microsoft.Sales.Customer
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
source_major: "29"
obsolete: null
countries:
  - au
  - be
  - ca
  - ch
  - es
  - fr
  - it
  - mx
  - nl
  - "no"
  - nz
  - us
ms_search_form_ids: []
counts:
  fields: 77
  procedures: 6
  events: 2
  subscribers: 0
relations:
  out: 31
  referenced_by: 8
  pages: 3
  extended_by: 2
  event_subscribers: 0
  calls: 1
  called_by: 0
  implements: 0
---

# Table 1381 "Customer Templ."

> Table 1381 "Customer Templ." in Base Application (Microsoft.Sales.Customer). 77 fields, 1 public procedures, 2 events. Present since at least BC23, still in BC30, changed in BC24-28.

Base Application · Microsoft.Sales.Customer · captioned "Customer Template" · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Sales/Customer/CustomerTempl.Table.al) · facts from BC29

Learn documents this table through its pages: [Page 1380 "Select Customer Templ. List"](../page/1380.md) (1 Learn page), [Page 1381 "Customer Templ. List"](../page/1381.md) (1), [Page 1382 "Customer Templ. Card"](../page/1382.md) (1).

## Properties

| Property | Value |
|---|---|
| Caption | Customer 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[20] | Specifies the code of the template. | NotBlank |
| 2 | Description | Text[100] | Specifies the description of the template. |  |
| 5 | Address | Text[100] | Specifies the customer's address. This address will appear on all sales documents for the customer. |  |
| 6 | Address 2 | Text[50] | Specifies additional address information. |  |
| 7 | City | Text[30] | Specifies the customer's city. |  |
| 9 | Phone No. | Text[30] | Specifies the customer's telephone number. |  |
| 10 | Telex No. | Text[20] | — |  |
| 11 | Document Sending Profile | Code[20] | Specifies the preferred method of sending documents to this customer. | TableRelation [Table 60 "Document Sending Profile"](../table/60.md) ("Document Sending Profile".Code) |
| 14 | Our Account No. | Text[20] | — |  |
| 15 | Territory Code | Code[10] | — | TableRelation [Table 286 "Territory"](../table/286.md) |
| 16 | Global Dimension 1 Code | Code[20] | — | TableRelation [Table 349 "Dimension Value"](../table/349.md) ("Dimension Value".Code where("Global Dimension No." = const(1), Blocked = const(false))) |
| 17 | Global Dimension 2 Code | Code[20] | — | TableRelation [Table 349 "Dimension Value"](../table/349.md) ("Dimension Value".Code where("Global Dimension No." = const(2), Blocked = const(false))) |
| 18 | Chain Name | Code[10] | — |  |
| 19 | Budgeted Amount | Decimal | — |  |
| 20 | Credit Limit (LCY) | Decimal | Specifies the maximum amount of credit that you extend to the customer for their purchases before you issue warnings. The value 0 represents unlimited credit. |  |
| 21 | Customer Posting Group | Code[20] | Specifies the customer's market type to link business transactions to. | TableRelation [Table 92 "Customer Posting Group"](../table/92.md) (Customer Posting Group) |
| 22 | Currency Code | Code[10] | Specifies the default currency for the customer. | TableRelation [Table 4 "Currency"](../table/4.md) |
| 23 | Customer Price Group | Code[10] | Specifies the customer price group code, which you can use to set up special sales prices in the Sales Prices page. | TableRelation [Table 6 "Customer Price Group"](../table/6.md) (Customer Price Group) |
| 24 | Language Code | Code[10] | Specifies the language to be used on printouts for this customer. | TableRelation [Table 8 "Language"](../table/8.md) |
| 26 | Statistics Group | Integer | Specifies the statistics group. |  |
| 27 | Payment Terms Code | Code[10] | Specifies a code that indicates the payment terms that you require of the customer. | TableRelation [Table 3 "Payment Terms"](../table/3.md) (Payment Terms) |
| 28 | Fin. Charge Terms Code | Code[10] | Specifies whether to calculate finance charges for the customer. | TableRelation [Table 5 "Finance Charge Terms"](../table/5.md) (Finance Charge Terms) |
| 29 | Salesperson Code | Code[20] | Specifies a code for the salesperson who normally handles this customer's account. | TableRelation [Table 13 "Salesperson/Purchaser"](../table/13.md) ("Salesperson/Purchaser" where(Blocked = const(false))) |
| 30 | Shipment Method Code | Code[10] | Specifies which shipment method to use when you ship items to the customer. | TableRelation [Table 10 "Shipment Method"](../table/10.md) (Shipment Method) |
| 31 | Shipping Agent Code | Code[10] | Specifies which shipping company is used when you ship items to the customer. | TableRelation [Table 291 "Shipping Agent"](../table/291.md) (Shipping Agent) |
| 32 | Place of Export | Code[20] | — |  |
| 33 | Invoice Disc. Code | Code[20] | Specifies a code for the invoice discount terms that you have defined for the customer. | TableRelation [Table 18 "Customer"](../table/18.md) |
| 34 | Customer Disc. Group | Code[20] | Specifies the customer discount group code, which you can use as a criterion to set up special discounts in the Sales Line Discounts page. | TableRelation [Table 340 "Customer Discount Group"](../table/340.md) (Customer Discount Group) |
| 35 | Country/Region Code | Code[10] | Specifies the country/region of the address. | TableRelation [Table 9 "Country/Region"](../table/9.md) (Country/Region) |
| 36 | Collection Method | Code[20] | — |  |
| 37 | Amount | Decimal | — |  |
| 39 | Blocked | Enum "Customer Blocked" | Specifies which transactions with the customer that cannot be processed, for example, because the customer is insolvent. | enum [Enum 139 "Customer Blocked"](../enum/139.md) |
| 42 | Print Statements | Boolean | Specifies whether to include this customer when you print the Statement report. |  |
| 45 | Bill-to Customer No. | Code[20] | Specifies a different customer who will be invoiced for products that you sell to the customer in the Name field on the customer card. | TableRelation [Table 18 "Customer"](../table/18.md) |
| 47 | Payment Method Code | Code[10] | Specifies how the customer usually submits payment, such as bank transfer or check. | TableRelation [Table 289 "Payment Method"](../table/289.md) (Payment Method) |
| 48 | Format Region | Text[80] | Specifies the region format to be used on printouts for this customer. | TableRelation "Language Selection"."Language Tag" |
| 80 | Application Method | Enum "Application Method" | Specifies how to apply payments to entries for this customer. | enum [Enum 1381 "Application Method"](../enum/1381.md) |
| 82 | Prices Including VAT | Boolean | Specifies whether to show VAT in the Unit Price and Line Amount fields on document lines. |  |
| 83 | Location Code | Code[10] | Specifies from which location sales to this customer will be processed by default. | TableRelation [Table 14 "Location"](../table/14.md) (Location where("Use As In-Transit" = const(false))) |
| 84 | Fax No. | Text[30] | Specifies the customer's fax number. |  |
| 85 | Telex Answer Back | Text[20] | — |  |
| 86 | VAT Registration No. | Text[20] | Specifies the customer's VAT registration number for customers in EU countries/regions. |  |
| 87 | Combine Shipments | Boolean | Specifies if several orders delivered to the customer can appear on the same sales invoice. |  |
| 88 | Gen. Bus. Posting Group | Code[20] | Specifies the customer's trade type to link transactions made for this customer with the appropriate general ledger account according to the general posting setup. | TableRelation [Table 250 "Gen. Business Posting Group"](../table/250.md) (Gen. Business Posting Group) |
| 90 | GLN | Code[13] | Specifies the customer in connection with electronic document sending. |  |
| 91 | Post Code | Code[20] | Specifies the postal code. |  |
| 92 | County | Text[30] | Specifies the state, province or county as a part of the address. |  |
| 93 | EORI Number | Text[40] | Specifies the Economic Operators Registration and Identification number that is used when you exchange information with the customs authorities due to trade into or out of the European Union. |  |
| 95 | Use GLN in Electronic Document | Boolean | Specifies whether the GLN is used in electronic documents as a party identification number. |  |
| 102 | E-Mail | Text[80] | Specifies the customer's email address. |  |
| 103 | Home Page | Text[255] | Specifies the customer's home page address. |  |
| 104 | Reminder Terms Code | Code[10] | Specifies how reminders about late payments are handled for this customer. | TableRelation [Table 292 "Reminder Terms"](../table/292.md) (Reminder Terms) |
| 107 | No. Series | Code[20] | Specifies the number series that will be used to assign numbers to customers. | TableRelation [Table 308 "No. Series"](../table/308.md) (No. Series) |
| 108 | Tax Area Code | Code[20] | Specifies the tax area that is used to calculate and post sales tax. | TableRelation [Table 318 "Tax Area"](../table/318.md) (Tax Area) |
| 109 | Tax Liable | Boolean | Specifies if the customer or vendor is liable for sales tax. |  |
| 110 | VAT Bus. Posting Group | Code[20] | Specifies the customer's VAT specification to link transactions made for this customer to. | TableRelation [Table 323 "VAT Business Posting Group"](../table/323.md) (VAT Business Posting Group) |
| 115 | Reserve | Enum "Reserve Method" | Specifies whether items will never, automatically (Always), or optionally be reserved for this customer. | enum [Enum 100 "Reserve Method"](../enum/100.md) |
| 116 | Block Payment Tolerance | Boolean | Specifies that the customer is not allowed a payment tolerance. |  |
| 119 | IC Partner Code | Code[20] | Specifies the customer's intercompany partner code. | TableRelation [Table 413 "IC Partner"](../table/413.md) (IC Partner) |
| 124 | Prepayment % | Decimal | Specifies a prepayment percentage that applies to all orders for this customer, regardless of the items or services on the order lines. |  |
| 132 | Partner Type | Enum "Partner Type" | Specifies for direct debit collections if the customer that the payment is collected from is a person or a company. | enum [Enum 134 "Partner Type"](../enum/134.md) |
| 133 | Intrastat Partner Type | Enum "Partner Type" | Specifies for Intrastat reporting if the customer is a person or a company. | enum [Enum 134 "Partner Type"](../enum/134.md) |
| 150 | Privacy Blocked | Boolean | Specifies whether to limit access to data for the data subject during daily operations. This is useful, for example, when protecting data from changes while it is under privacy review. |  |
| 160 | Disable Search by Name | Boolean | Specifies that you can change customer name in the document, because the name is not used in search. | DataClassification SystemMetadata |
| 175 | Allow Multiple Posting Groups | Boolean | Specifies if multiple posting groups can be used for posting business transactions for this customer. | DataClassification SystemMetadata |
| 840 | Cash Flow Payment Terms Code | Code[10] | Specifies a payment term that will be used to calculate cash flow for the customer. | TableRelation [Table 3 "Payment Terms"](../table/3.md) (Payment Terms) |
| 5050 | Contact Type | Enum "Contact Type" | Specifies the type of contact that will be used to create a customer with the template. | enum [Enum 5050 "Contact Type"](../enum/5050.md) |
| 5061 | Mobile Phone No. | Text[30] | Specifies the customer's mobile telephone number. |  |
| 5700 | Responsibility Center | Code[10] | Specifies the code for the responsibility center that will administer this customer by default. | TableRelation [Table 5714 "Responsibility Center"](../table/5714.md) (Responsibility Center) |
| 5750 | Shipping Advice | Enum "Sales Header Shipping Advice" | Specifies if the customer accepts partial shipment of orders. | enum [Enum 3657 "Sales Header Shipping Advice"](../enum/3657.md) |
| 5790 | Shipping Time | DateFormula | Specifies how long it takes from when the items are shipped from the warehouse to when they are delivered. |  |
| 5792 | Shipping Agent Service Code | Code[10] | Specifies the code for the shipping agent service to use for this customer. | TableRelation [Table 5790 "Shipping Agent Services"](../table/5790.md) ("Shipping Agent Services".Code where("Shipping Agent Code" = field("Shipping Agent Code"))) |
| 7000 | Price Calculation Method | Enum "Price Calculation Method" | Specifies the default price calculation method. | enum [Enum 7000 "Price Calculation Method"](../enum/7000.md) |
| 7001 | Allow Line Disc. | Boolean | Specifies whether to calculate a sales line discount when a special sales price is offered, according to setup in the Sales Prices page. |  |
| 7600 | Base Calendar Code | Code[10] | Specifies a customizable calendar for shipment planning that holds the customer's working days and holidays. | TableRelation [Table 7600 "Base Calendar"](../table/7600.md) (Base Calendar) |
| 7601 | Copy Sell-to Addr. to Qte From | Enum "Contact Type" | Specifies which customer address is inserted on sales quotes that you create for the customer. | enum [Enum 5050 "Contact Type"](../enum/5050.md) |
| 7602 | Validate EU Vat Reg. No. | Boolean | Specifies if the VAT registration number will be specified in the EU VAT Registration No. Check page so that it is validated against the VAT registration number validation service. |  |

## Keys

- Key1: Code (clustered)

## Events published

- `OnAfterCopyFromTemplate(SourceCustomerTempl: Record "Customer Templ."; var CustomerTempl: Record "Customer Templ.")` (integration): Raises an event after copying field values from a source customer template.
- `OnCopyTemplateOnBeforeModify(SourceCustomerTempl: Record "Customer Templ."; SavedCustomerTempl: Record "Customer Templ."; var CustomerTempl: Record "Customer Templ.")` (integration): Raises an event before modifying the customer template during the copy operation.

## Procedures

- `CopyFromTemplate(SourceCustomerTempl: Record "Customer Templ.")`: Copies all fields and dimensions from another customer template.

Plus 3 local procedures.

## Triggers

OnDelete, OnRename

## Relations

- drill-down page [Page 1381 "Customer Templ. List"](../page/1381.md)
- lookup page [Page 1381 "Customer Templ. List"](../page/1381.md)
- Shipment Method Code: TableRelation [Table 10 "Shipment Method"](../table/10.md)
- Salesperson Code: TableRelation [Table 13 "Salesperson/Purchaser"](../table/13.md)
- Location Code: TableRelation [Table 14 "Location"](../table/14.md)
- Bill-to Customer No.: TableRelation [Table 18 "Customer"](../table/18.md)
- Invoice Disc. Code: TableRelation [Table 18 "Customer"](../table/18.md)
- Gen. Bus. Posting Group: TableRelation [Table 250 "Gen. Business Posting Group"](../table/250.md)
- Territory Code: TableRelation [Table 286 "Territory"](../table/286.md)
- Payment Method Code: TableRelation [Table 289 "Payment Method"](../table/289.md)
- Shipping Agent Code: TableRelation [Table 291 "Shipping Agent"](../table/291.md)
- Reminder Terms Code: TableRelation [Table 292 "Reminder Terms"](../table/292.md)
- Cash Flow Payment Terms Code: TableRelation [Table 3 "Payment Terms"](../table/3.md)
- Payment Terms Code: TableRelation [Table 3 "Payment Terms"](../table/3.md)
- No. Series: TableRelation [Table 308 "No. Series"](../table/308.md)
- Tax Area Code: TableRelation [Table 318 "Tax Area"](../table/318.md)
- VAT Bus. Posting Group: TableRelation [Table 323 "VAT Business Posting Group"](../table/323.md)
- Customer Disc. Group: TableRelation [Table 340 "Customer Discount Group"](../table/340.md)
- Global Dimension 1 Code: TableRelation [Table 349 "Dimension Value"](../table/349.md)
- Global Dimension 2 Code: TableRelation [Table 349 "Dimension Value"](../table/349.md)
- Currency Code: TableRelation [Table 4 "Currency"](../table/4.md)
- IC Partner Code: TableRelation [Table 413 "IC Partner"](../table/413.md)
- Fin. Charge Terms Code: TableRelation [Table 5 "Finance Charge Terms"](../table/5.md)
- Responsibility Center: TableRelation [Table 5714 "Responsibility Center"](../table/5714.md)
- Shipping Agent Service Code: TableRelation [Table 5790 "Shipping Agent Services"](../table/5790.md)
- Customer Price Group: TableRelation [Table 6 "Customer Price Group"](../table/6.md)
- Document Sending Profile: TableRelation [Table 60 "Document Sending Profile"](../table/60.md)
- Base Calendar Code: TableRelation [Table 7600 "Base Calendar"](../table/7600.md)
- Language Code: TableRelation [Table 8 "Language"](../table/8.md)
- Country/Region Code: TableRelation [Table 9 "Country/Region"](../table/9.md)
- Customer Posting Group: TableRelation [Table 92 "Customer Posting Group"](../table/92.md)

## Referenced by

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

- [Table 36 "Sales Header"](../table/36.md): Bill-to Customer Templ. Code, Sell-to Customer Templ. Code
- [Table 5107 "Sales Header Archive"](../table/5107.md): Bill-to Customer Templ. Code, Sell-to Customer Templ. Code
- [Table 30102 "Shpfy Shop"](../table/30102.md): Customer Templ. Code
- [Table 30107 "Shpfy Customer Template"](../table/30107.md): Customer Templ. Code
- [Table 30118 "Shpfy Order Header"](../table/30118.md): Customer Templ. Code
- [Table 6702 "Booking Sync"](../table/6702.md): Customer Templ. Code

## Pages and codeunits on this table

- [Page 1380 "Select Customer Templ. List"](../page/1380.md) (source table)
- [Page 1381 "Customer Templ. List"](../page/1381.md) (source table)
- [Page 1382 "Customer Templ. Card"](../page/1382.md) (source table)

## Extended by

- [Table extension 4822 "Intrastat Report Cust. Templ."](../tableextension/4822.md)
- [Table extension 6451 "Serv. Customer Templ."](../tableextension/6451.md)

## 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"](../codeunit/408.md) (3 calls: `OnRename → RenameDefaultDim`, `ValidateShortcutDimCode → SaveDefaultDim`, `ValidateShortcutDimCode → ValidateDimValueCode`)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC24-28

## Countries that replace it

[AU](../../localizations/au.md), [BE](../../localizations/be.md), [CA](../../localizations/ca.md), [CH](../../localizations/ch.md), [ES](../../localizations/es.md), [FR](../../localizations/fr.md), [IT](../../localizations/it.md), [MX](../../localizations/mx.md), [NL](../../localizations/nl.md), [NO](../../localizations/no.md), [NZ](../../localizations/nz.md), [US](../../localizations/us.md)

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