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.
Sales order form -conditional display
I am trying to add a message to our sales order for suing a custom inlineHTML field. I am testing is a customer has "term" or not. If the customer does not have terms then I need to remind the sales team to ask for payment. I have tried using the following script:
<script language='JavaScript'>if ("<%=getCurrentAttribute('customer','terms')%>"="") document.write('<tr><TD nowrap><div align="right"><font face="Arial" size="2" style="BACKGROUND-COLOR: yellow" ><strong>Ask for Payment</strong></font></div></td></tr>"');</script>
0