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!
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
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
How to Approve an Inventory Count via RESTlet?
I need help to update the status of an inventorycount record to start, approve or reject an inventory count. I need to do this from a RESTlet.
1. I've tried setting the field 'status' or 'statusRef' to various combinations of 'approved' or 'InvCount: D' or 'D'.
2. I found the function that the approve button invokes in the UI and I've tried to utilize that link, /app/accounting/transactions/iinvcountmanager.nl?id=xxxx&cmd=approve It works fine from a browser, but I can't invoke it from SuiteScript.. I used both nlapiRequestURL and nlapiRequestURLWithCredentials but it always redirects to a log-in page without changing the count's status.
0