This topic contains 3 replies, has 0 voices, and was last updated by Olivier Gagnon NC 7 years, 9 months ago.

  • Author
    Posts
  • #1274

    PunicaDido

    I recently received this error message when trying to update data in custom columns in the ‘item’ sublist of a purchase order:

    You do not have permissions to set a value for element children_base due to one of the following reasons: 1) The field is read-only; 2) An associated feature is disabled; 3) The field is available either when a record is created or updated, but not in both cases.

    Relevant data:I have the Administrator role
    I was trying to setSublistValue in BeforeSubmit of a 2.0 UserEvent script
    The script would get through all looped calls to setSublistValue before failing, implying it failed on save.
    A search of google, stackOverflow, and the UserGroups for ‘children_base’ yielded nothing, although I did find some information about the INSUFFICIENT_PERMISSION error here.

    I ended up using AfterSubmit for my calculations by loading, modifying, and re-saving the record.

    Has anyone else had this error and if so, how was it resolved? Thanks!
    This is a cached copy. Click here to see the original post.

  • #1275

    Olivier Gagnon NC

    This is a defect, contact NS to get in on it.

  • #1276

    mhson1978

    I remember getting this error before but it was because i accidentally had form object created. has NS support gotten back to you on this?

  • #1277

    Olivier Gagnon NC

    Yeah you’re right, could be a lot of things actually. It could be a defect, but could just be some bad code. NS seems to throw that particular error message a lot for different reasons.

    If you’re seeing that error message when Web Services saves a record with scripting that otherwise runs fine via the UI, then that’s probably Defect 430082. But if WS is not involved, it could indeed be something else.

You must be logged in to reply to this topic.