var records = new Object();
records['transaction'] = '14186';
alert(records);
nlapiSendEmail(
1647,
1647,
'hello',
'ehllo',
null,
null,
records
);
I am trying to attach the transaction while sending the email. But nothing is getting attached along with the email