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.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
Including all address book entries in a scriptable email template.
Hi, I am hoping that someone has had more luck than me using the addressbook as a list in a scriptable template.
It's possible to include a customer's billing address like so.
${entity.contact}<br />
${entity.companyname }<br />
${entity.billaddr1}<br />
${entity.billaddr2}<br />
${entity.billCity}, ${entity.billstate } ${entity.billzip }<br />
${entity.billcountry }
But the following in the same email outputs only an empty line (with a coma) per address in the customer record. So it is going through the list, but sees the fields as empty strings.
<#if customer.addressbook?has_content>
0