---
id: object/table/9988
type: object
title: Table 9988 "Word Template"
summary: Table 9988 "Word Template" in System Application (System.Integration.Word). 7 fields. Present since at least BC23, still in BC30.
tier: official
language: en
tags:
  - table
  - system application
versions:
  introduced: null
  last_changed: null
  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: aa825e7aa7d542ebd5a4c9371f937024b7a2128a6c3a7eb1fc95ace3176034f5
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/System%20Application/App/Word%20Templates/src/WordTemplate.Table.al
    title: src/System Application/App/Word Templates/src/WordTemplate.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: 9988
name: Word Template
namespace: System.Integration.Word
app: System Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 7
  procedures: 0
  events: 0
  subscribers: 0
relations:
  out: 2
  referenced_by: 9
  pages: 4
  extended_by: 0
  event_subscribers: 2
  calls: 0
  called_by: 0
  implements: 0
---

# Table 9988 "Word Template"

> Table 9988 "Word Template" in System Application (System.Integration.Word). 7 fields. Present since at least BC23, still in BC30.

System Application · System.Integration.Word · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/System%20Application/App/Word%20Templates/src/WordTemplate.Table.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Access | Public |
| Extensible | false |

## 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[30] | Specifies the code of the template. <small>via [Page 9989 "Word Templates"](../page/9989.md)</small> | DataClassification CustomerContent |
| 2 | Name | Text[250] | Specifies the name of the template. <small>via [Page 9989 "Word Templates"](../page/9989.md)</small> | DataClassification CustomerContent |
| 3 | Table ID | Integer | — | DataClassification SystemMetadata |
| 4 | Template | Media | — | DataClassification CustomerContent |
| 5 | Table Caption | Text[80] | Specifies entity associated with the template. <small>via [Page 9989 "Word Templates"](../page/9989.md)</small> | FlowField: lookup("Table Metadata".Caption where(ID = field("Table ID"))) |
| 6 | Language Code | Code[10] | — | TableRelation [Table 8 "Language"](../table/8.md); DataClassification SystemMetadata |
| 7 | Language Name | Text[80] | Specifies the language of the template. <small>via [Page 9989 "Word Templates"](../page/9989.md)</small> | FlowField: lookup(Language.Name where(Code = field("Language Code"))) |

## Keys

- PK: Code (clustered)
- Language: Language Code

## Trigger event subscribers

- OnAfterInsertEvent: [Codeunit 9988 "Word Template Impl."](../codeunit/9988.md) OnAfterInsertWordTemplate
- OnBeforeDeleteEvent: [Codeunit 9988 "Word Template Impl."](../codeunit/9988.md) OnBeforeDeleteWordTemplate

## Relations

- Language Name: CalcFormula [Table 8 "Language"](../table/8.md)
- Language Code: TableRelation [Table 8 "Language"](../table/8.md)

## Referenced by

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

- [Table 5064 "Interaction Template"](../table/5064.md): Word Template Code
- [Table 5074 "Delivery Sorter"](../table/5074.md): Word Template Code
- [Table 5076 "Segment Header"](../table/5076.md): Word Template Code
- [Table 5077 "Segment Line"](../table/5077.md): Word Template Code
- [Table 5103 "Interaction Tmpl. Language"](../table/5103.md): Word Template Code
- [Table 5104 "Segment Interaction Language"](../table/5104.md): Word Template Code
- [Table 9989 "Word Template Field"](../table/9989.md): Word Template Code
- [Table 9990 "Word Templates Related Table"](../table/9990.md): Code
- [Table 9991 "Word Templates Related Buffer"](../table/9991.md): Code

## Pages and codeunits on this table

- [Page 9983 "Word Templates Related Edit"](../page/9983.md) (source table)
- [Page 9989 "Word Templates"](../page/9989.md) (source table)
- [Page 9996 "Word Template Selection Wizard"](../page/9996.md) (source table)
- [Page 9999 "Word Template To Text Wizard"](../page/9999.md) (source table)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: none

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