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!
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