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!
'Averagecost' field from Inventory Item returning as NaN in 2008.2
The 'averagecost' field from an Inventory Item is returning as NaN in client script functions in 2008.2 for me. I've got an item that has a 'averagecost' of $2000. If you look at a variable that has been equated to 'averagecost' from the Inventory Item in FireBug it shows as "2,000.00". If you run isNaN() function againt the variable it returns 'true'. If you run parseFloat() against the variable it returns '2'. I've filed a case / defect, but hoping someone has an idea for a workaround. I need to take 'averagecost' and perform some math on it. Doesn't work
0