Compiler Error AL0250

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 Person. Valid data types are Media and MediaSet.

Description

If a field has the ExtendedDatatype property is set to Person, then the field can only be of the type Media or MediaSet.

Get Started with AL
Developing Extensions