Edit

Compiler Warning AL0916

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 call is ambiguous between the built-in methods '{0}' and '{1}'. The compiler will implicitly choose the '{0}' overload. Make the call explicit by casting the Variant argument to the desired type.

Description

The method call is ambiguous between two built-in method overloads because a Variant argument is passed. The compiler implicitly chooses the oldest available overload. Cast the Variant argument to the desired type to make the call explicit.

Getting started with AL
Developing extensions