Codeunit "Word Template Custom Field"
ID 9981
Namespace: System.Integration.Word
Provides an interface to define custom fields for Word Templates
Properties
| Name | Value |
|---|---|
| Access | Public |
Methods
GetTableID
Get the current table id. This is the table that you want to add fields for.
procedure GetTableID(): Integer
Returns
| Type | Description |
|---|---|
| Integer |
The current table id. |
AddField
Add this custom field to word templates using the given table id.
procedure AddField(CustomFieldName: Text[20])
Parameters
| Name | Type | Description |
|---|---|---|
| CustomFieldName | Text[20] |
Name of the custom field. |