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
inventorytransfer with bin causes error
Hi,
i want to transfer vom loc A to loc B items, with binlocations.
But i'll getting an error: "Items you have requested in the record have been deleted since you retrieved the form" and i didn't know why.
var xrec = nlapiCreateRecord('inventorytransfer',{recordmode: 'dynamic'}); xrec.setFieldValue('subsidiary',2); xrec.setFieldValue('location',7); xrec.setFieldValue('transferlocation',5); xrec.setFieldValue('memo','interne Umbuchung'); xrec.selectNewLineItem('inventory'); xrec.setCurrentLineItemValue('inventory','item',174625); xrec.setCurrentLineItemValue('inventory','adjustqtyby',1); var subrecord = xrec.createCurrentLineItemSubrecord('inventory', 'inventorydetail'); subrecord.selectNewLineItem('inventoryassignment'); subrecord.setCurrentLineItemValue('inventoryassignment', 'issueinventorynumber',174625); subrecord.setCurrentLineItemValue('inventoryassignment', 'binnumber', 1845); subrecord.setCurrentLineItemValue('inventoryassignment', 'tobinnumber', 338); subrecord.setCurrentLineItemValue('inventoryassignment', 'quantity', 1); subrecord.commitLineItem('inventoryassignment'); subrecord.commit(); x.commitLineItem('inventory'); var id =nlapiSubmitRecord(xrec); 0