GetGlobalSerNoRange(key, range);
key
A string uniquely identifying a serial number key, representing for example a document type.range
Returns the first value in the specified range of serial numbers for the specified key. The specified range is reserved in the repository used by the StreamServer application. This can be useful if you want to avoid a database operation for each retrieval of serial number. Instead you reserve a set of serial numbers at once.
num
-1 invoices 1234 1000 2000First column (invoices) – the keySecond column (1234) – current valueThird column (1000) – minimum valueFourth column (2000) – maximum value$ser = getglobalsernorange(“invoices”, 100);$ser is set to 1234 and the table entry contains:invoices 1334 1000 2000
OpenText StreamServe 5.6 | Updated: 2013-03-01 |