User-defined values (UDV) allow users to customize field values and automate field inputs. This eliminates the need for manual input by automating the process. You can add UDVs to system fields and user-defined fields in forms and documents, to assist and expedite data entry by end users.
UDV in SAP Business One, Web client deals with simple solutions while maximizing their potential and reducing the necessity of complex queries. With use cases such as Filtered List and Mathematical, or Logical Formulas, any user can create simple and intuitive solutions without using an SQL query
Note
Only authorized users can define user-defined values.
In the following lessons, you’ll see UDV feature use cases and how it allows customizing values for a variety of fields. These fields include the detailed views of both open and closed sales and purchasing documents, including UDFs:
Filtered List
Enables tailoring the visible values for a field with a dropdown list of extensive predefined options, ensuring the user does not accidentally choose irrelevant values.
Mathematical Formula on a Header Field
A mathematical formula is a simple way to calculate a value that is based on variables (fields in the current UI) and arithmetic operators ( +, -, *, /) as well as API for Date and Time.
Mathematical Formula on a Table Field
A mathematical formula on a table is a simple way to calculate a value that is based on variables (fields in the current UI) and arithmetic operators ( +, -, *, /) as well as API for Date and Time. In case the variable is from the table field, it is taken from the same table line where the UDV field is defined.
Mathematical Formula with a Database Field
A mathematical formula with a database field is a simple way to calculate a value that is based on UI variables (fields in the current UI) and database variables (fields of other objects in the database)
Defining a Logical Formula on a Checkbox
A logical formula is a simple way to calculate a Boolean value (true or false) that is based on variables (fields in the current UI) and database variables and logical operators (<,>,AND, OR, NOT,EQUAL) as well as API for Date and Time.
To start working with UDVs you first need to:
- Activate User-Defined Values
- Show Indicator
Refer to Activating User-Defined Values and Showing Indicator | SAP Help Portal for more details.