Print

FindAndRegisterNextNumber()

A FindAndRegisterNextNumber() function returns a next number registered for the given type of cases for the given key.

Syntax

FindAndRegisterNextNumber(NumberType,SearchKey);

Function arguments

  • NumberType – (String) an identification key of autonumbering (a type of cases);
  • SearchKey – (String) a key for which numeration will be created.

Return value

This function returns Decimal.
The FindAndRegisterNextNumber() function returns a next number registered for the current case.

Examples

Example 1

The function will return a next number registered for the current case and for „DocumentTypeA” type of cases for the given [Employee] (the search key).

[Number] = FindAndRegisterNextNumber("DocumentTypeA",[Employee]);

See also: RegisterNextNumber()

Czy artykuł był pomocny?
0 na 5 gwiazdek
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
5
How can we improve this article?
How Can We Improve This Article?