To add a user field to a business class configuration
- In the Infor Rich Client, access the Configuration Console for Application.
- Select Business Classes and, if a business class configuration does not already exist for the business class you want to add a field to, select the New button at the top of the left pane and then select User Field as the configuration type in the dialog box that appears. If the business class configuration already exists, expand the business class, select User Fields, and click the Create button at the top of the left pane.
- Select the business class for the field, select Field as the field type, and then click OK.
-
Define the user field. Consider the following fields:
- Field Name
-
Enter a name for the field. It cannot begin with a lowercase letter or contain spaces. Be sure to follow your configurations naming conventions and prefix the name with a code such as ZZZ, Usr, or characters that represent your company name (for example, ACM for Acme Co).
- Default Label
-
Enter the label to be used as a default for the field. You can add translated labels by clicking the globe icon and defining Locale Translations.
- Field Type, Size, Decimals
-
Select the field type, and, if appropriate, enter the size and the number of decimals.
Indicate if the field is persistent (default) or transient. A transient field is similar to a persistent field in that you can define field rules and use them in relations and so on, but a transient field is not stored in the database.
See also the Named Type field description for an alternative way to define the field.
- Named Type
-
Use Named Type add a business class as a user field instead of a static field type. The List for Defined Field is a list of all the business classes in the data area, including any user-defined business classes. When you add a named type field, the pick list of values the user sees are records in the business class.
- Optional, Required, Conditionally Required
-
Indicate whether the field is optional, required, or conditionally required.
- Required when
-
If you made the field conditionally required, select the condition to control when the field is required. You can also use the Negate check box to reverse the condition.
- Initial Value
-
To set an initial value, you can either select a field to base the value on, or you can select the Constant value? check box and then enter a literal value.
- Default Value
-
To set a default value, you can either select a field to base the value on, or you can select the Constant value? check box and then enter a literal value.
- Click the Save button at the top of the right pane.
- For fields where it is appropriate to provide a drop-down list of possible values, click on the States tab at the top.
- Click the Add State button.
- Define the value for the drop-down list and click OK.
- Repeat the previous step to add more values for a drop-down list.
-
Click the Save button at the top of the right pane.
The new user field is now available to be added to a list or form configuration.