Hi Guys, I'm trying to pull adv pdf/html template ...
# advancedpdf
n
Hi Guys, I'm trying to pull adv pdf/html template and print it via suitelet when button clicked Its on Item Fulfillment, Item Fulfillment has Inventory details and BIN but when I try to show the BINs or Inventory details, it shows Null/ blank Not working below: ${item.binnumber} ${item.inventorydetail} Kindly help here!
a
You're doing this with a Suitelet, so that suggests to me that you have to instantiate a template renderer in Suitescript, and load the Item Fulfillment into the template renderer. Did you build your template from scratch or base it on an existing one? The problem likely exists either in how the Item Fulfilment record is being loaded into the template, or the template source code, although I am aware that some fields available in the UI are not available in the record object loaded into the template, I'm not aware of whether those two line item fields have any such exceptions.
n
Hi Aaron, Adv pdf/html was not supporting it so I build pdf myself via suitlet script and loaded the records
Thanks
a
Were you able to get it working?
n
Yah! I created pdf in suitelet only using XML not using Adv pdf/html template