getSequenceNumber
Gets a new sequence number from a preset sequencer.
Syntax
Copy
function getSequenceNumber(sequenceCode : string): string;
| Parameter | Type | Description |
|---|---|---|
sequenceCode
|
string | Code of the sequencer. |
Return Value
Returns a string containing the new sequence number.
Examples
In this example, we use the ftos001 coded sequencer to generate a registration number and store it in a variable called regno.
Copy
regno = getSequenceNumber('ftos001');