Customization causing all form fields to be disabled

We upgraded from 10.1 to 10.2, and afterwards one of my customizations is causing an issue.

All the customization does is add a few UD fields to the form, zero code done. However, when launching the form with that customization it makes all of the fields read only.

Anyone run into this before? I’ve gone to customization maintenance and validated it.

Nope, never come across this before (and have done a lot of 10.1=>10.2 upgrades). When you say all fields are disabled, does this include key fields ? If you can post the customisation here I can take a peek / check if it happens here. If key fields are still enabled then my bet would be the form’s read-only field may be set, I can think of two ways of doing this

  1. Deliberately in script code (and you’ve mentioned there isnt any code), and
  2. The read-only flag is brought through from the corresponding checkbox on the menu maintenance screen so double check its not somehow become ticked.

If however key fields are disabled as well then I’m stumped but willing to see if can replicate.

Regards,
Jon


App.VendorEntry.VendorForm_Customization_ACTI_Supplier_CustomExport.xml (152.4 KB)

Here’s a screenshot and the customization. Appreciate the assistance!

If you run the screen without the customizaton does it work normally?
have you tried to save the customization as another name and then run the new one?

Running without customization it works normally. Just tried saving it under another name and it didn’t change behaviour.

Look at the customization in Customization Maint.
image

then use

image

I’d look at the Enabled Property of the Form.

I don’t see an enabled property in there… :confused:

I imported the customization (but I don’t have the UD fields that you do).

I don’t normally see
Assembly references in my customizations that have no code.

I’m going to remove the bindings to the custom controls, and see if I get the “Read Only” issue.

@jeffj - Even before tweaking your customization, I don’t have the issue with all fields being R/O / disabled.

The base form (after loading a supplier record)

image
Your customization (after loading the same supplier record):

image

Any chance the menu item you are launching it from is set as Read only?

image

3 Likes

Well I’m glad it’s Friday. That’s exactly it, Read Only was checked. No idea how that happened. I’ve never used that checkbox before, didn’t even realize it was there.

Thank you so much!

Glad you got it solved. I loaded this and noticed it was VB from 2011. You may want to plan on getting this and any other VB to C# as you can.

Yeah, I created it long ago before I knew better. Loathe VB. Didn’t realize you had to set it to C# even when doing customizations with no “code”.

1 Like