Compiler Error AL0230

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 data type on the {0} field is not valid because the ExtendedDatatype property is set to PhoneNo, URL or Email. Valid data types are Code and Text.

Description

If a field has the ExtendedDatatype property is set to PhoneNo, URL or Email, then the field can only be of the type Code or Text.

Get Started with AL
Developing Extensions