Option type should be Enum (LC0088)

The Option data type is a legacy construct. For new development, use Enum types instead. Enums are extensible, provide better IntelliSense support, and allow for cleaner code patterns.

Example

The following field uses an Option type:

table 50100 MyTable
{
    fields
    {
        field(1; Status; Option) // Option type should be Enum [LC0088]
        {
            OptionMembers = Open,Closed,Pending;
        }
    }
}

To fix this, create an Enum and use it instead:

enum 50100 "My Status"
{
    value(0; Open) { }
    value(1; Closed) { }
    value(2; Pending) { }
}

table 50100 MyTable
{
    fields
    {
        field(1; Status; Enum "My Status")
        {
        }
    }
}