Compiler Error AL0325

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 field '{0}' in the table '{1}' cannot be included in a key because its type is '{2}'.

Description

Only fields of the type Guid, Decimal or Integer can be included in a key.

Get Started with AL
Developing Extensions