ResetNextNumber()
A ResetNextNumber() function removes a registered number for the current case with a specified type.
ResetNextNumber(NumberType, SerachKey);Function arguments
Dział zatytułowany „Function arguments”- NumberType – (String) an identification of autonumbering;
- SearchKey – (String) a key for which cases will be removed.
Return value
Dział zatytułowany „Return value”This function returns Boolean. The ResetNextNumber() function returns true.
Examples
Dział zatytułowany „Examples”Example 1
Dział zatytułowany „Example 1”This will remove all autonumeration info for cases with the „DocumentTypeA” number type and the „Employee” field value as for the search key.
ResetNextNumber("DocumentTypeA", [Employee]);