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
Accessing Price Sublist/Machine on Items
Hey Guys,
I'm attempting to access the price sublist/machine on the item record but Netsuite does not make this the easiest job in the world.
Basically, we are trying to track the discount amount applied to line items on a transaction when the 'custom' price level has been selected. To do this we want to populate a hidden column field with the actual list price of the item so that we can compare the two.
I am able to access the price sublist with the following code.
var item = nlapiLoadRecord('otherchargeitem',nlapiGetCurrentLineItemValue('item','item')) nlapiSetCurrentLineItemValue('item','custcollistprice',item.getLineItemValue('price1','price1price_3_','1')) 0