Skip to Content
author's profile photo Former Member
Former Member

Enabling & Disabling UDF's

Hi,

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

Thanks!

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 09, 2008 at 04:53 AM

    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

    Regards

    Vishnu

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.