RemoveNextNumber()

A RemoveNextNumber() function removes a registered number for the current case with a specified type. If the type is „*” or „all”, all registered numbers for the current case will be removed.

Syntax

RemoveNextNumber(NumberType);

Function arguments

  • NumberType – (String) an identification of autonumbering.

Return value

This function returns Boolean. The RemoveNextNumber() function returns true.

Examples

Example 1

This will remove an autonumeration info for the current case and „DocumentTypeA” type of cases. If „all” or „*” was used, then all autonumeration for the current case would be removed.

RemoveNextNumber("DocumentTypeA");