Share via


NumberSeq.getNumFromTable Method [AX 2012]

Reads the next number from the NumberSequencesTable table.

Syntax

protected Integer getNumFromTable(UserConnection userConnection, NumberSequenceTable numberSequenceTable)

Run On

Called

Parameters

  • userConnection
    Type: UserConnection Class
    The operation must be separate from the application transaction. Therefore, a user connection is required.
  • numberSequenceTable
    Type: NumberSequenceTable Table
    The table with the record sequence selected that indicates the operation parameters and the next records.

Return Value

Type: Integer Extended Data Type
The next record number that is available.

Remarks

The number is also reserved into the NumberSequenceList class.

See Also

Reference

NumberSeq Class