Sequence.new Method [AX 2012]

Initializes a new instance of the Object class.

public void new(
    str Name, 
    int Id, 
    int64 InitialValue, 
    int64 MaxValue, 
   [boolean Cycle, 
    int64 CacheSize])

Run On

Server

Parameters

Name
Type: str
The display name of the sequence.
Id
Type: int
A positive sequence identifier. The value 0 (zero) and negative values are reserved by Microsoft Dynamics AX.
InitialValue
Type: int64
The first number to retrieve.
MaxValue
Type: int64
The last number to retrieve.
Cycle
Type: boolean
A Boolean value that indicates whether to restart the sequence from the value of the InitialValue parameter when the value of the MaxValue parameter is reached; optional.
CacheSize
Type: int64

Community Additions

ADD
Show: