NumberSequence.Restart(Text [, BigInteger] [, Boolean]) Method

Version: Available or changed with runtime version 13.0.

Restarts a number sequence.

Syntax

 NumberSequence.Restart(Name: Text [, Seed: BigInteger] [, CompanySpecific: Boolean])

Parameters

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

[Optional] Seed
 Type: BigInteger
Specifies the first value coming from the number sequence after the restart. Default is 0.

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

See Also

NumberSequence Data Type
Getting Started with AL
Developing Extensions