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.
Inventory Count Status
Has anyone been able to update an inventory count status? I am simply trying to change the status to "Started" with the code below but no luck. It can be changed from any other status to "Open".
I ultimately want to mark it as approved. Is there an undocumented transformation for inventory counts to get this done?
function search(){ var record = nlapiLoadRecord("inventorycount",19034645); record.setFieldValue("statuskey", "B"); record.setFieldValue("status", "Started"); record.setFieldValue("statusRef", "started"); var recId = nlapiSubmitRecord(record, false); } 0