I'm a big fan of that renderer.addRecord functiona...
# suitescript
a
I'm a big fan of that renderer.addRecord functionality, I can't recall trying to add more than one at a time though - let me know how that goes
j
@andrewh I just saw your message... It worked! I used the code below. Now my only problem is getting a new window to open with the new pdf in it. The suitelet works when i put the appropriate suitelet call in the URL of a new window. But when i push my button to open a window and call the suitelet, nothing happens. I'm posting this question in the main thread of this group.
Copy code
var workorderRecord = nlapiLoadRecord('workorder', id);
var assemblyItem = workorderRecord.getFieldValue('assemblyitem')
var assemblyRecord = nlapiLoadRecord('assemblyitem', assemblyItem);
renderer.addRecord('record', workorderRecord);
renderer.addRecord('assembly', assemblyRecord);