NumberSequence.Next(Text [, Boolean]) Method
Version: Available or changed with runtime version 4.0.
Retrieves the next value from the number sequence.
Syntax
Next := NumberSequence.Next(Name: Text [, CompanySpecific: Boolean])
Parameters
Name
Type: Text
Specifies the name of the number sequence.
[Optional] CompanySpecific
Type: Boolean
Specifies if the number sequence is company-specific. Default is true.
Return Value
Next
Type: BigInteger
Returns the next value from number sequence.
Example
The following example gets the next value in the number sequence MyNumberSequence
. The number series is not company specific.
number := NumberSequence.Next('MyNumberSequence', false);
See Also
NumberSequence Data Type
Get Started with AL
Developing Extensions
Comentários
https://aka.ms/ContentUserFeedback.
Em breve: Ao longo de 2024, eliminaremos os problemas do GitHub como o mecanismo de comentários para conteúdo e o substituiremos por um novo sistema de comentários. Para obter mais informações, consulteEnviar e exibir comentários de