How To change value of a locked item via optimizer code

Hi,

we have an item in the sales order form that should not be edited by the user. So we added it to the locked fields.

We want to change the value however via an optimizer rule and still get the error message "item is locked".

Can we somehow edit it via optimizer even though ist is locked via optimizer/extendedCode

Kind Regards

Christian 

 

0

Comments

3 comments
  • Hi Christian,

    it would be possible to open the formsettings via optimizer.

    Then you can unlock the fields you need.
    Do some stuff, like changing the itemcodes and after that you can lock the fields again.

    regards Lothar

    0
    Comment actions Permalink
  • Hi Lothar,

    I didn't explain correctly -- the items is locked by coresuite function (Locked Items) in extended code (so it prevents the click). 

    But I did another solution meanwhile (locked it directly in NewItems and did an alternative search method - that's why I didn't lock it via NewItems in the first place, because than the user is not able to search by this Item either)

     

    Kind Regards

    Christian

    0
    Comment actions Permalink
  • Hi Christian

    thank you for your reply. If you found another solution it is fine as well as you are satisfied ;-)

    regards Lothar

    0
    Comment actions Permalink

Please sign in to leave a comment.

Didn't find what you were looking for?

New post