Compiler Error AL0199

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 type of the sum index field '{0}' must be numeric (Decimal, BigInteger, Integer, or Duration).

Description

Only fields of the numeric type (Decimal, BigInteger, Integer, or Duration) can be used as sum index fields.

Get Started with AL
Developing Extensions