the internal id for the records I wanna attach is invoice, but I may have to attach several invoice into one email. how could i do that? can someone show me an example?
var records = new Array();
var record1 = new Object();
record1['invoice'] = id1;
var record2 = new Object();
record2['invoice'] = id2;
records[0] = record1;
records[1] = record2;
and then by using records as the parameter?
could this work?