This topic contains 1 reply, has 0 voices, and was last updated by markrCMD7 7 years, 7 months ago.

  • Author
    Posts
  • #23223

    markrCMD7

    Hi everyone,

    I'd like a value to change in a field that is set to view for all roles except one specific role. So I'm wondering what I need to do in my suite script to get access to that field? The event that is triggering this is a save event so the role kicking the script off will generally not be the role that has access to change the field.

    Is there a way to set the role id before or during the nlapiSubmitField method so that I can actually change the value on the record?

    Thanks in advance for any helpful information.
    This is a cached copy. Click here to see the original post.

  • #23224

    markrCMD7

    oops, this was simpler than I thought.

    For those having a similar issue I just verified the access level on the field in question and adjusted the execute as role field in the script deployment record.

    Now it works.

You must be logged in to reply to this topic.