Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
advanced pdf
How to avoid a "divide by 0 error for calculated fields in an advanced PFD template?
Next works fine..:
<tr><#assign varA = item.amount/item.custcol_list_rate>
<td align="left" id="itemtbl_qtyamt" style="padding-left:10px">${varA}</td>
... unless the value of the "item.custcol_list_rate" field is empty or 0
I am looking for an if statement which makes sure to if "item.custcol_list_rate" is empty or 0, not ${varA} should be used in the second line but the item.quantity field
Which Guru can help me out?
0