Compiler Error AL0308

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 primary key '{0}' on table '{1}' (the first one in the key list) must have the MaintainSqlIndex property set to true.

Description

The primary key of a table must have the MaintainSqlIndex property set to true.

See Also

Get Started with AL
Developing Extensions