System.HasCollectedErrors() Method

Version: Available or changed with runtime version 8.0.

Gets a value indicating whether errors have been collected in the current error collection scope.

Syntax

Ok :=   System.HasCollectedErrors()

Note

This method can be invoked using property access syntax.

Note

This method can be invoked without specifying the data type name.

Return Value

Ok
 Type: Boolean
True if errors have been collected, otherwise false.

See Also

Collecting Errors
System Data Type Get Started with AL Developing Extensions