NumberSequence Data Type

Is a complex data type for creating and managing number sequences in the database.

The following methods are available on the NumberSequence data type.

Method name Description
Insert(String [, BigInteger] [, BigInteger] [, Boolean]) Creates a number sequence in the database, with the given parameters.
Exists(String [, Boolean]) Checks whether a specific number sequence exists.
Delete(String [, Boolean]) Deletes a specific number sequence.
Next(String [, Boolean]) Retrieves the next value from the number sequence.
Current(String [, Boolean]) Gets the current value from the number sequence, without doing any increment. The value is retrieved out of transaction. The value will not be returned on transaction rollback.

See Also

Getting Started with AL
Developing Extensions