Codeunit 9984 Word Template Field Value Impl

System Application, System.Integration.Word

Source AL, 54 lines

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

codeunit 9984 "Word Template Field Value Impl"{    Access = Internal;    InherentEntitlements = X;    InherentPermissions = X;    var        TempWordTemplateCustomField: Record "Word Template Custom Field" temporary;        CurrentRecord: RecordRef;        CurrentRelatedTableCode: Code[5];        CannotAddCustomFieldValueErr: Label 'Trying to add custom field %1, however it was not prepared for merge!', Comment = '%1 is the name of a custom field';    internal procedure Initialize(var NewTempWordTemplateCustomField: Record "Word Template Custom Field" temporary)    begin        TempWordTemplateCustomField.Copy(NewTempWordTemplateCustomField, true);    end;

All 54 lines

Public procedures 2 in 29

GetRecord(): RecordRefnew in 22
AddField(CustomFieldName: Text; CustomFieldValue: Text[2048])new in 22

All 5 procedures in 22-29