Compartilhar via


WMSLocation.whsGenerateCheckText Method

Generates unique (not yet used in a system) random number and assigns it as CheckText column value for a current record.

Syntax

public void whsGenerateCheckText()

Run On

Called

Remarks

The CheckText is assigned only once.

Each generated candidate is validated agains all CheckText values known to the system and is thrown away if duplicate allready exists.

The maximum number of attempts taken by this method to generate unique CheckText value is 10000. If during this number of attempts the unique value wasn't generated- the exception is thtown.

Candidate random numbers are generated between #WHSCheckDigitMin and #WHSCheckDigitMax.

See Also

Reference

WMSLocation Table