Record.GetRangeMax(Any) Method

Version: Available or changed with runtime version 1.0.

Gets the maximum value in a range for a field.

Syntax

Value :=   Record.GetRangeMax(Field: Any)

Parameters

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

Field
Type: Any
The field for which you want to find the maximum value. The current filter on Field must be a single range filter; otherwise, a run-time error occurs.

Return Value

Value
Type: Any

Record Data Type
Get Started with AL
Developing Extensions