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.
Set item price level
Not sure what i'm doing wrong but the following doesn't work for me. It saves without error but the base price is not updated.:
require(['N/record'],function(record){ var itemrec = record.load({type:'inventoryitem',id:18509,isDynamic:true}) itemrec.selectLine({sublistId:'price1',line:0}) itemrec.setCurrentSublistValue({sublistId:'price1',fieldId:'price',value:'1.00'}) itemrec.commitLine({sublistId:'price1'}) itemrec.save(); }); 0