How to Programmatically remove delete options from envelope

SOLVED

Hi All

Can't find any information regarding hiding the some options on the options GRID

would like to hide the delete button if the Created user <> than the user like in the screenshot below 

  

If anyone has more detail on how to achieve this it would be great 

Kind Regards

Parents Reply Children
  • +1 in reply to Moomin
    verified answer

    you can lookup "status" variable in the help manual.

    when a user clicks delete, you can check validity according to your criteria and stop the deletion by using mkstat on NBLIG control subprog.

    sample help manual below

    Description and comments

    status is used to know the result of an entry operation.

    This variable is also reset to 1 after the Affzo display operation