Print

RemoveCaseFromNextNumber()

A RemoveCaseFromNextNumber() function removes registered numbers for the current case.

WARNING! If a proper renumeration (using function Renumerate()) is not done after removing a case from a numeration, there is a risk of the numeration system not to work properly.

Syntax

RemoveCaseFromNextNumber(CaseID);

Function arguments

  • CaseID – (Decimal) a case id which to remove from numbering.

Return value

This function returns String.
The RemoveCaseFromNextNumber() function returns a list of removed entries in JSON format (see example no 1 below).

Examples

Example 1

This will remove all generated autonumbers for the current case.

ShowMessage(2,"A list of removed auto numbers for the case "+[CaseId]+": "+RemoveCaseFromNextNumber([CaseId]));

A sample result in JSON format from RemoveCaseFromNextNumber():

[
	{
		"type": "RNN vs FaRNN",
		"key": "AlaMcOta",
		"date": "2024-06-12 00:00:00",
		"number": 103,
		"letter": "" 
	}
]

 

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?