Hello people,
I would like to achieve the following:
I have created a page extension for the Sales Order Subform. In this extension I made a bool variable, which is used to set the fields in the row to not editable, if a certain condition is true.
My variable becomes true or false if the line contains a supplement/discount. But now I don't want to set all fields to editable = false, but only a few specific ones.
For this reason I added the desired fields in the pageextension in the layout area via Modify():
Now my logic works for all fields that are not of the datatype enum...
Do you know how I achieve that also the field "Type" is locked against changes?
Thank you very much ;)