Showing results for 
Search instead for 
Did you mean: 

Enabling & Disabling UDF's

Former Member
0 Kudos


I created a single UDF under Marketing Docs -> Title using the B1 GUI.

In my code, I disabled that EditText object. Now, I cannot seem to re-enable it. I get:

The Item Is Not a User-Defined Item

I've restarted B1. I've restarted my compiler. And I even deleted and re-created the UDF. It remains disabled.

Also, it is only disabled on the Sales Order form (that is where the code originally disabled it). It worked fine on all other sales forms.

I did a search, but couldn't find any posts with this exact problem


Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Paul,

When you create a UDF with GUI or DI API in Marketing Docs,SBO will treat it as a System field and you can not set its editable property value.

So one work around is that we can get the UDF value in got focus event and validate that in validate event

Hope it helps you



Answers (0)