AppSourceCop Error AS0123

A key cannot be declared as clustered on an existing table.

Description

A key cannot be declared as clustered on an existing table.

Remarks

It's not possible for a table to have more than one clustered key, a different key can't be declared as clustered after the table has been created. When no key has been declared as clustered, the first key or the first field that can be part of a key implicitly becomes the clustered key.

AppSourceCop Analyzer
Getting Started with AL
Developing Extensions