---
id: object/table/5103
type: object
title: Table 5103 "Interaction Tmpl. Language"
summary: Table 5103 "Interaction Tmpl. Language" in Base Application (Microsoft.CRM.Interaction). 9 fields, 7 public procedures, 6 events. Present since at least BC23, still in BC30, changed in BC24-25, BC28.
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: a62f5538d54030b2fcfaaebf59c1b6e53cfe9a86dddd0d152ac0b38961dc1f56
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/CRM/Interaction/InteractionTmplLanguage.Table.al
    title: src/Layers/W1/BaseApp/CRM/Interaction/InteractionTmplLanguage.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: table
object_id: 5103
name: Interaction Tmpl. Language
namespace: Microsoft.CRM.Interaction
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"
  - "28"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 9
  procedures: 13
  events: 6
  subscribers: 0
relations:
  out: 6
  referenced_by: 2
  pages: 1
  extended_by: 0
  event_subscribers: 0
  calls: 4
  called_by: 0
  implements: 0
---

# Table 5103 "Interaction Tmpl. Language"

> Table 5103 "Interaction Tmpl. Language" in Base Application (Microsoft.CRM.Interaction). 9 fields, 7 public procedures, 6 events. Present since at least BC23, still in BC30, changed in BC24-25, BC28.

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

## Properties

| Property | Value |
|---|---|
| Caption | Interaction Tmpl. Language |
| 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 | Interaction Template Code | Code[10] | Specifies the code for the interaction template that you have selected. | TableRelation [Table 5064 "Interaction Template"](../table/5064.md) (Interaction Template); not editable |
| 2 | Language Code | Code[10] | Specifies the language that is used when translating specified text on documents to foreign business partner, such as an item description on an order confirmation. | TableRelation [Table 8 "Language"](../table/8.md) |
| 3 | Description | Text[100] | Specifies the description of the interaction template language. This field will not be displayed in the Word attachment. |  |
| 4 | Attachment No. | Integer | — |  |
| 5 | Custom Layout Code | Code[20] | Specifies the number of the report layout. | TableRelation [Table 9650 "Custom Report Layout"](../table/9650.md) ("Custom Report Layout" where("Report ID" = const(Report::"Email Merge"))) |
| 6 | Custom Layout Description | Text[250] | — | FlowField: lookup("Custom Report Layout".Description where(Code = field("Custom Layout Code"))); not editable |
| 7 | Word Template Code | Code[30] | Specifies the Word template to use when you create communications for an interaction. The Word template will create either a document or be used as the body text in an email. | TableRelation [Table 9988 "Word Template"](../table/9988.md) ("Word Template".Code where("Language Code" = field("Language Code"), "Table ID" = const(Database::"Interaction Merge Data"))) |
| 8 | Report Layout Name | Text[250] | Specifies the report layout that will be used. | TableRelation "Report Layout List".Name where("Report ID" = const(Report::"Email Merge")) |
| 9 | Report Layout AppID | Guid | Specifies which app the report layout belongs to. | TableRelation "Report Layout List"."Application ID" where("Report ID" = const(Report::"Email Merge")) |

## Keys

- Key1: Interaction Template Code, Language Code (clustered)

## Events published

- `OnImportAttachmentOnBeforeModify(var Attachment: Record Attachment)` (integration)
- `OnBeforeCreateHTMLCustomLayoutAttachment()` (integration)
- `OnCreateAttachmentOnAfterInitialChecks(var InteractionTmplLanguage: Record "Interaction Tmpl. Language"; var NewAttachNo: Integer; var IsHandled: Boolean)` (integration)
- `OnOpenAttachmentOnBeforeGetAttachment(var InteractionTmplLanguage: Record "Interaction Tmpl. Language"; var Attachment: Record Attachment)` (integration)
- `OnBeforeOpenAttachment(var InteractionTmplLanguage: Record "Interaction Tmpl. Language"; var Attachment: Record Attachment)` (integration)
- `OnExportAttachmentOnStorageTypeCaseElse(var InteractionTmplLanguage: Record "Interaction Tmpl. Language"; xInteractionTmplLanguage: Record "Interaction Tmpl. Language"; var AttachmentRecord: Record Attachment; var MarketingSetup: Record "Marketing Setup"; var ExportToFile: Text; var FileFilter: Text; var FileName: Text)` (integration)

## Procedures

- `CreateAttachment()`
- `CreateHTMLCustomLayoutAttachment(): Integer`
- `OpenAttachment()`
- `CopyFromAttachment()`
- `ImportAttachment()`
- `ExportAttachment()`
- `RemoveAttachment(Prompt: Boolean)`

## Triggers

OnDelete, OnRename

## Relations

- lookup page [Page 5154 "Interact. Tmpl. Languages"](../page/5154.md)
- Interaction Template Code: TableRelation [Table 5064 "Interaction Template"](../table/5064.md)
- Language Code: TableRelation [Table 8 "Language"](../table/8.md)
- Custom Layout Description: CalcFormula [Table 9650 "Custom Report Layout"](../table/9650.md)
- Custom Layout Code: TableRelation [Table 9650 "Custom Report Layout"](../table/9650.md)
- Word Template Code: TableRelation [Table 9988 "Word Template"](../table/9988.md)

## Referenced by

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

- [Table 5064 "Interaction Template"](../table/5064.md): Attachment No., Language Code (Default)

## Pages and codeunits on this table

- [Page 5154 "Interact. Tmpl. Languages"](../page/5154.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 419 "File Management"](../codeunit/419.md) (2 calls: `ExportAttachment → BLOBExport`, `ExportAttachment → DownloadHandler`)
- [Codeunit 4030 "Client Type Management"](../codeunit/4030.md) (1 call: `CreateAttachment → GetCurrentClientType`)
- [Codeunit 4100 "Temp Blob"](../codeunit/4100.md) (1 call: `ExportAttachment → FromRecord`)
- [Codeunit 5052 "AttachmentManagement"](../codeunit/5052.md) (1 call: `CopyFromAttachment → InsertAttachment`)

## Across versions

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

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