I’ve noticed a difference in how some values are r...
# suitescript
m
I’ve noticed a difference in how some values are retrieved when generating a pdf using N/render, as compared to using advanced pdf, despite the code being exactly the same (I’m using addRecord to add the record in question). When using ${item.units}, if the “units” sublist field is not set to “show”, the advanced pdf interpreter fetches the text value of the unit, while N/render fetches the internal ID of the unit (using the exact same template for both methods). Is there a way to get around these differences and make the two generate the exact same pdf based on the exact same template?
b