Question
Docx merge field
Hello
How to pass the Values of the local variables to the Docx????
a!localVariables(
local!data:ri!DocData,
local!name:rule!SKJ_GetCustomerByAcc(AccountNum:ri!Number),
local!resonDes:ri!resDes,
/*to collect the data*/
concat(
/*Parent */
"",
/*Name*/
"",
local!name['recordType!{a0871cca-bd3d-4d03-b9ce-d1652bfa9dc0}SKJ Customer.fields.{b06eb39c-bf2f-4bb4-b283-cdbb894e406d}name'],
" ",
/*Reson Des*/
"",
local!resonDes,
" ",
"",
datetext(now(),"yyyy/MM/dd"),
" ",
/*for each*/
a!forEach(
items: local!data,
expression: " "
),
" ",
),
)


