This topic contains 4 replies, has 0 voices, and was last updated by pcutler 7 years, 1 month ago.

  • Author
    Posts
  • #21396

    andreea@melimelo.com

    I'm trying to approve a sales order and I'm getting the attached error.

    Please advise what I need to do.
    This is a cached copy. Click here to see the original post.

  • #21397

    pcutler

    This is do to custom scripting in your account. If you are not a developer, you will have to reach out to the developer who maintains the custom scripts in your account.

    If you are a developer, navigate to CUSTOMIZATION > SCRIPTING > SCRIPTED RECORDS (menus may vary by role) and select "Sales Order." One of the scripts on the "User Event Scripts" tab is causing this error. You can navigate to each script record and check the execution log tab for this error to see which one. The script needs to be edited to be more efficient or undeployed entirely.

  • #21398

    erictgrubaugh

    Alternatively, use the Script Execution Logs UI to search for the Error message and find which Script is triggering it: Customization > Scripting > Script Execution Logs; try filtering by Log Level "Error" and the most recent date you saw the error message.

  • #21399

    andreea@melimelo.com

    Thank you for your replies. But I couldn't see any error script similar with the one in question in the Log. Is there anything else I can do in this case?

  • #21400

    pcutler

    As far as fixing the error, it sounds like you're going to have to grant someone familiar with SuiteScript access to your account to track it down for you.

    However, if this is the only order with the problem, and you just want to approve this one order, you can update the status via CSV import and uncheck the checkbox for running scripts (will need to expand the additional settings on the second page of the wizard). This will bypass any business logic that developers have implemented in your account.

You must be logged in to reply to this topic.