When a business object is created and the user does not fill in the attribute field, the default value is assigned. When assigning a default value, the value you give must agree with the attribute type. If the attribute should contain an integer value, you should not assign a string value as the default. You cannot assign a default value for a a binary attribute. For example, assume you are defining an attribute called Label Color. If the most common color is yellow, you might define the attribute with this command:
If the user does not assign a value for the Label Color, “yellow” is assigned by default. |