---
id: object/table/9990
type: object
title: Table 9990 "Word Templates Related Table"
summary: Table 9990 "Word Templates Related Table" in System Application (System.Integration.Word). 8 fields. Present since at least BC23, still in BC30, changed in BC28.
tier: official
language: en
tags:
  - table
  - system 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: 7ea146e56d129213a69041c4cf436ab6ceab5544304945e61164abf8df8d05db
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/System%20Application/App/Word%20Templates/src/WordTemplatesRelatedTable.Table.al
    title: src/System Application/App/Word Templates/src/WordTemplatesRelatedTable.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: 9990
name: Word Templates Related Table
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:
  - "28"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 8
  procedures: 0
  events: 0
  subscribers: 0
relations:
  out: 1
  referenced_by: 0
  pages: 2
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Table 9990 "Word Templates Related Table"

> Table 9990 "Word Templates Related Table" in System Application (System.Integration.Word). 8 fields. Present since at least BC23, still in BC30, changed in BC28.

System Application · System.Integration.Word · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/System%20Application/App/Word%20Templates/src/WordTemplatesRelatedTable.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] | — | TableRelation [Table 9988 "Word Template"](../table/9988.md) (Word Template); DataClassification CustomerContent |
| 2 | Table ID | Integer | — | DataClassification SystemMetadata |
| 3 | Related Table ID | Integer | Specifies the id of the related entity. <small>via [Page 9986 "Word Templates Related Card"](../page/9986.md)</small> | DataClassification SystemMetadata |
| 4 | Related Table Caption | Text[249] | Specifies the related entity. <small>via [Page 9986 "Word Templates Related Card"](../page/9986.md)</small> | FlowField: lookup(AllObjWithCaption."Object Caption" where("Object Type" = const(Table), "Object ID" = field("Related Table ID"))) |
| 5 | Field No. | Integer | Specifies the field no. from the source entity that creates the relationship to the related entity. <small>via [Page 9986 "Word Templates Related Card"](../page/9986.md)</small> | DataClassification SystemMetadata |
| 6 | Field Caption | Text[80] | Specifies the field from the source entity that creates the relationship to the related entity. If there are more than one related entities, specify the one to use for your template.​ <small>via [Page 9986 "Word Templates Related Card"](../page/9986.md)</small> | FlowField: lookup(Field."Field Caption" where(TableNo = field("Table ID"), "No." = field("Field No."))) |
| 7 | Related Table Code | Code[5] | Specifies a prefix that will indicate that the field is from the related entity when you are setting up the template. For example, if you enter Sales, the field names are prefixed with Sales_. The prefix must be unique. <small>via [Page 9986 "Word Templates Related Card"](../page/9986.md)</small> | NotBlank; DataClassification CustomerContent |
| 8 | Source Record ID | Guid | — | DataClassification SystemMetadata |

## Keys

- PK: Code, Related Table ID (clustered)
- Key2: Code, Related Table Code

## Relations

- Code: TableRelation [Table 9988 "Word Template"](../table/9988.md)

## Pages and codeunits on this table

- [Page 9982 "Word Templates Related FactBox"](../page/9982.md) (source table)
- [Page 9986 "Word Templates Related Card"](../page/9986.md) (source table)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: 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). 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 Templates Related Table")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
