NumberSequence.Range(Text, Integer, var BigInteger [, Boolean]) Method

Version: Available or changed with runtime version 13.0.

Retrieves a range of values from the number sequence.

Syntax

RangeStart :=   NumberSequence.Range(Name: Text, Count: Integer, var Increment: BigInteger [, CompanySpecific: Boolean])

Parameters

Name
 Type: Text
Specifies the name of the number sequence.

Count
 Type: Integer
Specifies the number of sequence values to retrieve.

Increment
 Type: BigInteger
Retrieve the increment value of the sequence.

[Optional] CompanySpecific
 Type: Boolean
Specifies if the number sequence is company-specific. Default is true.

Return Value

RangeStart
 Type: BigInteger
Returns the start of the range from the number sequence.

NumberSequence Data Type
Getting Started with AL
Developing Extensions