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.
Update: Narrative Insights has been restored and is now available.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
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