Is there a list somewhere of which built-in object...
# advancedpdf
e
Is there a list somewhere of which built-in objects are available to templates?
companyInformation
and
subsidiary
for example. Are there others?
t
https://system.netsuite.com/app/help/helpcenter.nl?fid=SBADVTemplates_4105119165.html This is for sales order template, use breadcrumb for other
s
The WYSIWYG editor shows a full list of objects and fields/lists of those objects available to each template type, which is useful even if edit your templates directly via the code view.
e
I'm using
N/render
with a custom data source but this will help, thanks
s
At the very least, with custom data sources and a script, you can throw in pretty much any data you want, so you’ll have far more flexibility than a standard template would.
e
Yeah, I'm familiar with that, I was wondering what was available by default so I don't need to fetch it. Avoiding reinventing the wheel so to speak.
s
From my own observation (and not sure where it is documented, if at all) companyInformation is available in my scripted templates, but for some reason, subsidiary is not, even though subsidiary is available in most of the non-scripted templates. I ended up using a custom data source to insert the needed subsidiary data in a few templates that required it.