Codeunit 9982 Word Template Cust. Field Impl

System Application, System.Integration.Word

Source AL, 53 lines

src/System Application/App/Word Templates/src/CustomMergeFields/WordTemplateCustFieldImpl.Codeunit.allines 11 to 26 of 53, Copyright (c) Microsoft Corporation. MIT

codeunit 9982 "Word Template Cust. Field Impl"{    Access = Internal;    InherentEntitlements = X;    InherentPermissions = X;    var        TempWordTemplateCustomField: Record "Word Template Custom Field" temporary;        TableId: Integer;        RelatedTableCode: Code[5];        CustomFieldAlreadyExistErr: Label 'The custom field %1 already exists.', Comment = '%1 = the name of a custom field.';    procedure SetCurrentTableId(NewTableId: Integer; NewRelatedTableCode: Code[5])    begin        TableId := NewTableId;        RelatedTableCode := NewRelatedTableCode;

All 53 lines

Public procedures 4 in 29

SetCurrentTableId(NewTableId: Integer; NewRelatedTableCode: Code[5])new in 22
GetCustomFields(var CurrentTempWordTemplateCustomField: Record "Word Template Custom Field" temporary)new in 22
GetTableID(): Integernew in 22
AddField(CustomFieldName: Text[20])new in 22