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
Comentarios
https://aka.ms/ContentUserFeedback.
Próximamente: A lo largo de 2024 iremos eliminando gradualmente las Cuestiones de GitHub como mecanismo de retroalimentación para el contenido y lo sustituiremos por un nuevo sistema de retroalimentación. Para más información, consulta:Enviar y ver comentarios de