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.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Please note that on Saturday, April 11, 2026, at 8:00 PM Pacific time, our Case Management System will undergo a scheduled maintenance for approximately 30 minutes. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.
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