Hello, using advanced pdf is there a way to only p...
# advancedpdf
v
Hello, using advanced pdf is there a way to only print the child subsidiary name? because when i try to print it, it is including the parent subsidiary. for ex. It should only print subsidiary - C but it is showing Subsidiary - A : Subsidiary - B : Subsidiary - C i have tried record.subsidiary and record.subsidiary.name and no luck
a
Which record type is being PDF rendered?
How about ${subsidiary.name} ? Subsidiary itself is a freemarker object supplied to the PDF renderer. You can see in this guide that for many if not all transaction types, it has a record object, a subsidiary object, and a few others, with sublists as well as fields: https://YOUR_ACCOUNT_NUM_HERE.app.netsuite.com/app/help/helpcenter.nl?fid=SBADVTemplates.html
Your Netsuite is probably set up to show the hierarchy in Subsidiary list/record fields, so record.subsidiary will do that, but subsidiary.name might get just what the name field in the subsidiary record is.