ErrorInfo.FieldNo([Integer]) Method

Version: Available or changed with runtime version 8.0.

Specifies the field ID that the error relates to.

Syntax

[FieldNo := ]  ErrorInfo.FieldNo([FieldNo: Integer])

Note

This method can be invoked using property access syntax.

Parameters

ErrorInfo
 Type: ErrorInfo
An instance of the ErrorInfo data type.

[Optional] FieldNo
 Type: Integer
The field ID of the ErrorInfo

Return Value

[Optional] FieldNo
 Type: Integer
The current field ID of the ErrorInfo.

Collecting Errors
ErrorInfo Data Type
Get Started with AL
Developing Extensions