Discussions
Using System fields and the nlapiMergeEmail function
Hey Guys,
I'm attempting to send out an email template using the nlapiMergeEmail and the nlapiSendEmail functions.
I've simply merging a field from the contact table and a few fields from the system table (time, date etc... ) but I am not sure how to reference the system table in the nlapiMergeEmail function.
Below is the merge function i am using which works fine (d is the variable used in a for loop)
var body = nlapiMergeEmail(50,'contact',contactsearch[d].getId())
Does anybody know how to merge fields from the system table?
Thanks
Ross