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!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Access Average Cost,Quantity on Hand per location of an item.
Hi,
Is the following fields under inventory tab on an item accessible via scripting?
Is locations a Supported Sublist?
Average Cost,
Value,
Quantity on Hand
alert( "locationquantityavailable ="+nlapiGetLineItemValue('locations','quantityavailable',4)); alert( "locationquantityonhand ="+nlapiGetLineItemValue('locations','quantityonhand',4)); alert( "value ="+nlapiGetLineItemValue('locations','onhandvaluemli',4)); alert( "locationtotalvalue ="+nlapiGetLineItemValue('locations','totalvalue',4)); alert( "location ="+nlapiGetLineItemValue('locations','location',4)); alert( "preferredstocklevel ="+nlapiGetLineItemValue('locations','preferredstocklevel',4)); When I executed the above code, it displayed null for all the alerts except for location & preferredstocklevel.Am I giving the wrong id's?
Any help is appreciated.
Thanks,
Iby
0