Hi , can we use advanced pdf template in email mer...
# suitescript
g
Hi , can we use advanced pdf template in email merger? I am getting a unexpected error at the below line, not sure whats wrong with it. can anyone help me identify what's wrong with below line. Thanks. var mergeResult = render.mergeEmail({ templateId: 107, entity{type'customer',id:entityId}, recipient: null, supportCaseId: null, transactionId: 1456789, customRecord: null });
s
According to the help all those properties are required, so putting
null
in there is probably the problem
g
@Sandii if we dont use them they should be null right? for example i wont be using the customRecord .