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.
Inventorydetail set for Inventorystatuschange
Hi Team,
I am creating script for creating inventorystatuschange.
try{
var inventoryStatusChange = record.create({ type: 'inventorystatuschange', isDynamic:true}); inventoryStatusChange.setValue({ fieldId: 'subsidiary', value: '2' }); inventoryStatusChange.setValue({ fieldId: 'location', value: '30' });inventoryStatusChange.setValue({ fieldId: 'previousstatus', value: '1' });inventoryStatusChange.setValue({ fieldId: 'revisedstatus', value: '2' });//inventoryStatusChange.setValue({ fieldId: 'trandate', value: 2025/5/22 });inventoryStatusChange.selectNewLine({sublistId: 'inventory'}); 0