setSystemSequenceNumber

setSystemSequenceNumber(name: String; newValue: Integer64): Boolean;

The setSystemSequenceNumber method of the System class updates the current value of the system sequence number specified by the name parameter to the value specified by the newValue parameter.

This method returns true if the value was updated. If no existing system sequence number exists with the specified name, this method returns false.

If the value of the newValue parameter is less than zero (0), a 1455 (The SystemSequenceNumber initial value cannot be negative) exception is raised.

2025.0.01 and higher