How to create a custom email template using standard NetSuite Scriptable Email Template, which will be used when emailing payslips to employees.

Creating an Email Template


You can add replacement values in the subject and the body field using

Within the email template body you can include fields from the employee record by using the syntax ${employee.fieldname} or fields from the payslip record using the syntax ${customrecord.fieldname}.

An example template is listed below:

Dear ${employee.firstName},

Please find attached your payslip ${customrecord.name}

Best Regards

Dave


Updating the Payroll Configuration To Use The Template

To configure your payroll to use the new email template you need to run the payroll setup wizard. Follow these steps:


Please be aware that the fields you add to the template will appear in the messages tab when sent so avoid sensitive data that you don't want other employees to see.