Codeunit 9981 "Word Template Custom Field"
System Application · System.Integration.Word
Across versions
- BC23-30present
Neighbourhood 4 connected objects and pages
System Application · System.Integration.Word · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Access | Public |
Procedures
GetTableID(): Integer: Get the current table id. This is the table that you want to add fields for.AddField(CustomFieldName: Text[20]): Add this custom field to word templates using the given table id.SetCurrentTableId(TableId: Integer; RelatedTableCode: Code[5])(internal): Set the context that users are supposed to add tables to. Ex. Customer table.SetCurrentTableId(TableId: Integer)(internal): Set the context that users are supposed to add tables to. Ex. Customer table.GetCustomFields(var TempWordTemplateCustomField: Record "Word Template Custom Field" temporary)(internal): Get the table containing all custom field names that has been added above.
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 9982 “Word Template Cust. Field Impl” (4 calls:
AddField → AddField,GetCustomFields → GetCustomFields,GetTableID → GetTableID, …)
Called by
- Codeunit 9989 “Word Template Field Selection” (6 calls:
CalculateNoSelectedFields → GetCustomFields,CalculateNoSelectedFields → SetCurrentTableId,GetAllTableFields → GetCustomFields, …) - Codeunit 9988 “Word Template Impl.” (4 calls:
GetCustomMergeFields → GetCustomFields,GetCustomMergeFields → SetCurrentTableId,GetCustomTableColumns → GetCustomFields, …) - Codeunit 5070 “Custom Word Template Fields” (2 calls:
OnGetCustomFieldNames → AddField,OnGetCustomFieldNames → GetTableID)
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: "codeunit", object_name: "Word Template Custom Field"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.