Codeunit 9984 Word Template Field Value Impl
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;