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

Create index on user defined fields

Hi all,

using SAP Business One tools it is possible to add a user defined field and at the same time to create an index on this field by marking the Create Index Checkbox. As a result an index like uidx_U_FieldName is created. This feature seems to be not exposed in the DI-API, am I right?

I'm using SAP Business One 2004A (6.70.189) SP: 00 PL: 30 and corresponding DI-API.

Regards,

Eduard

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Oct 11, 2005 at 10:44 AM

    To do that you need to use the UserKeysMd Object

    Update: After you created the field

    Message was edited by: Rasmus Jensen

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 11, 2005 at 12:51 PM

    Thank's,

    I know this object, I thought there is a way to avoid this additional work for creating a simple one-field based index.

    Regards,

    Eduard

    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.