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.
More java help on item cell template
My variable, item_brokered is a check box and I'm having trouble getting the else ifs to document.write anything...Any suggestions would be very much appreciated. When I shoot the variable to the screen I get a 'Yes' or 'No'...I also tried these elseifs on a string variable and used something to the affect of: item_string.length() > 0 but that also resulted in no document writing...
I'm obviously not a java-master! Thank you in advance! Pete
<script language='Javascript'>
var cantidad= <%=getCurrentAttribute('item','quantityavailable', '1')%>; //quantityavailable
var item_brokered='<%=getCurrentAttribute("item","custitembrokered")%>'; // custitembrokered
0