Compiler Error AL0169

Note

The AL diagnostics topics are in preview. If you have input for this topic, we'd love to hear from you. Use our GitHub repo to create a PR and add content to this topic by going to here. To read about contributing, see Contribute to the Help. Thanks!

The option value '{0}' is not valid.

Description

Non-valid option value.

Example

enum 100510 myEnum
{
    ObsoleteState = Removed;
    ...
}

Setting the ObsoleteState to Removed for an enum will throw the following error:

The option value ``Removed`` is not valid

See Also

Get Started with AL
Developing Extensions