Customization to make a field Read only

I added two user defined fields to the Purchase Order Entry - the Detail.

One is Checkbox01 and the other is ShortChar02.

I want to make them read only.

On Checkbox01 - one of the properties is Enabled - I made this false and it works.

For ShortChar02 there is a property named Read Only - which is set to True.

I can change this but, when I go back in - it reverts back to the original.

I looked at Part and Description and it has Read only True also -

But, they are not read only.

How can I make shortchar02 read only?

Hi Cathy,

You can make the fields read only using Customisation Wizard option in Customisation.

It will work surely.

Been awhile since I was on E9, but I swear it had the Extended Properties maintenance. Where you can set the read only flag.

Cathy
In the customization go to Tools -> Wizards -> Customization Wizards

Select Modify Extended Properties

Pick your View , your Field , your ReadOnly extended Property and set it to True

1 Like

@josecgomez 's method is the appropriate way to handle this. If you have not yet done this, read no further!


If for some reason you have already done this and are still having an issue, @Randy 's method should update this throughout the system if you do not want it to be editable unless by exception.

If you are still having issues, you can explicitly assign the property to the control on the form load, but depending on the form you may need to put this multiple places. For example, create an on form load method using the form event wizard:

Then, add something like txtControl.IsEpiReadOnly = true; of course, you’ll want to put in the name of your form controls.

1 Like

Jose,

I have a questions about the Extended Property Wizard -

I want to make a checkbox read only -

In the Value - I sent it to True

Do I also need to add a value if it is False?