This topic contains 0 replies, has 0 voices, and was last updated by RGrier 8 years, 4 months ago.

  • Author
    Posts
  • #6331

    RGrier

    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.

    3. I also tried using nlapiSetRedirectURL but there is no TASKLINK for invcountmanager.nl.

    I know it’s possible because I’ve seen a product demo from ozlink doing it on a remote device. https://youtu.be/kUm1O8BaugA?t=55s

    I’m stumped. Any help would be appreciated.
    This is a cached copy. Click here to see the original post.

You must be logged in to reply to this topic.