DTW User Validations
API User Valid Values


UserValidValues is an object related to the FormattedSearches object. It enables to define valid values for the field specified by the FormattedSearches object.

Source table: CUVV.

Object Model


This object is relevant for fields that their search Action is set to bofsaValidValues.

To display the form in the application:

  1. Open a document and click any field.
  2. From the menu bar, select Tools --> Search Function --> Define.
  3. In the Define Formatted Search form, select the Search in Existing Values option.
  4. Click the [...] button. The Define Field Values form opens.

See Also

SAP® B1 DI-API C# definition

public class UserValidValuesClass : IUserValidValues, UserValidValues { public virtual int Count { get; } public virtual string FieldValue { get; set; } public virtual SAPbobsCOM.UserFields UserFields { get; } public extern UserValidValuesClass(); public virtual extern void Add(); public virtual extern void SetCurrentLine(int LineNum); }

API User Valid Values


Returns the UserValidValues object.

Property type

Read-only property


Visual Basic
Public Property UserValidValues() As UserValidValues

See Also

Related information

Formatted Searches FormattedSearches Object· Table: CSHS
The FormattedSearches object enables to assign a formatted search function to a specified field, so that SAP Business One users can enter values, originated by a pre-defined search process, to the field.  The formatted search is applicable...

SAP® Business One is the trademark(s) or registered trademark(s) of SAP AG in Germany and in several other countries. Contact
This website is not affiliated with, maintained, authorized, endorsed or sponsored by SAP AG or any of its affiliates