<@U33FQ5WSD> You can add a parameter List/Record -...
# suitescript
a
@irurzo You can add a parameter List/Record -> Advanced PDF Template and you will get the ID when you read it, then you use
setTemplateById
instead of
setTemplateByScriptId
.