6
Currently, the ValuesAllowed property in Business Central only supports a static list of allowed values for a field.
I propose extending this functionality to allow expressions that dynamically determine the allowed values based on context or business logic. Use type for this property like List of [FIELD TYPE]
Example:
field(10; "Type"; Enum Types)
{
ValuesAllowed = GetAllowedTypes(); // Expression returning a list of Enum values
}
local procedure GetAllowedTypes():List of [Enum Types]
STATUS DETAILS
New
