https://netsuiteprofessionals.com logo
#advancedpdf
Title
# advancedpdf
l

Lev Berger

04/14/2022, 10:22 AM
Copy code
let margeResults = render.mergeEmail({
        templateId: '7',
        entity:{
            type: 'vendor',
            id:  parseInt(vendorBankId)
        },
        recipient: null,
        supportCaseId: null,
        transactionId: null,
        customRecord: {
            type: 'customrecord_ilo_vendor_bank',
            id: parseInt(ilVendorBankId)
        }
})
m

MikeERPG

04/14/2022, 3:07 PM
Have you tried removing the parseint?
w

wbermudo

04/22/2022, 1:20 AM
What you need is the TemplateRenderer.addRecord() to do this.
4 Views