Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
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.