``` //dumb dumb dumb NS var...
# suitescript
m
Copy code
//dumb dumb dumb NS
            var entityRec = record.load({
                type: record.Type.CUSTOMER,
                id: doc["Internal Id"]
            });

            var emailObj = render.mergeEmail({
                templateId: emailTemplate,
                entity: entityRec,
                recipient: entityRec,
                supportCaseId: null,
                transactionId: null,
                customRecord: null
            });
t
you're awesome thanks!
r
yikes