RE: How to reference joined column result for renderer.addSearchResults
I’m trying to reference:
new nlobjSearchColumn(“upccode”,”memberItem”,null),
…to my custom PDF template using:
var renderer = nlapiCreateTemplateRenderer();
renderer.addSearchResults(‘results’, results);
but I don’t know how. Normal result column value can be referenced using:
${result.mpn}
Can anyone point me to the right direction?
Thanks in advance.
Try printing all the keys of result
to find your answer:
<#list result?keys as k> ${k} </#list>
Thanks Eric but unfortunately it’s didn’t show any.
but doing this will show all the values so I’m not quite sure why using the ?keys didn’t work.
<#list result
as
r> ${r} </#list>