---
title: "Codeunit 9981 Word Template Custom Field, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/9981-word-template-custom-field/points/
object: https://jonas-paprotka.de/ref/codeunit/9981-word-template-custom-field/
app: "System Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/9981-word-template-custom-field/source/
checked: 2026-11-20
changed: 2026-10-05
subject: "Microsoft Dynamics 365 Business Central"
license: "Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/"
---

# Codeunit 9981 Word Template Custom Field, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/9981-word-template-custom-field/points/

5 procedures and triggers with a step in src/System Application/App/Word Templates/src/CustomMergeFields/WordTemplateCustomField.Codeunit.al, in source order, read from the text, not from a run.

## GetTableID

[Line 22](https://jonas-paprotka.de/ref/codeunit/9981-word-template-custom-field/source/#L22).

- [24](https://jonas-paprotka.de/ref/codeunit/9981-word-template-custom-field/source/#L24) calls [Codeunit 9982 Word Template Cust. Field Impl](https://jonas-paprotka.de/ref/codeunit/9982-word-template-cust-field-impl/) `GetTableID`

## AddField

[Line 31](https://jonas-paprotka.de/ref/codeunit/9981-word-template-custom-field/source/#L31).

- [33](https://jonas-paprotka.de/ref/codeunit/9981-word-template-custom-field/source/#L33) calls [Codeunit 9982 Word Template Cust. Field Impl](https://jonas-paprotka.de/ref/codeunit/9982-word-template-cust-field-impl/) `AddField`

## SetCurrentTableId

[Line 41](https://jonas-paprotka.de/ref/codeunit/9981-word-template-custom-field/source/#L41), internal.

- [43](https://jonas-paprotka.de/ref/codeunit/9981-word-template-custom-field/source/#L43) calls [Codeunit 9982 Word Template Cust. Field Impl](https://jonas-paprotka.de/ref/codeunit/9982-word-template-cust-field-impl/) `SetCurrentTableId`

## SetCurrentTableId

[Line 50](https://jonas-paprotka.de/ref/codeunit/9981-word-template-custom-field/source/#L50), internal.

- [52](https://jonas-paprotka.de/ref/codeunit/9981-word-template-custom-field/source/#L52) calls [Codeunit 9982 Word Template Cust. Field Impl](https://jonas-paprotka.de/ref/codeunit/9982-word-template-cust-field-impl/) `SetCurrentTableId`

## GetCustomFields

[Line 59](https://jonas-paprotka.de/ref/codeunit/9981-word-template-custom-field/source/#L59), internal.

- [61](https://jonas-paprotka.de/ref/codeunit/9981-word-template-custom-field/source/#L61) calls [Codeunit 9982 Word Template Cust. Field Impl](https://jonas-paprotka.de/ref/codeunit/9982-word-template-cust-field-impl/) `GetCustomFields`

## Source

AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
