UniqueKey/en: Porovnání verzí
(Založena nová stránka s textem „Type Number“) |
(Stránka aktualizována, aby odpovídala nové verzi zdrojové stránky) |
||
| (Není zobrazeno 12 mezilehlých verzí od 2 dalších uživatelů.) | |||
| Řádek 20: | Řádek 20: | ||
Specifies the key type. Use one of the following values: | Specifies the key type. Use one of the following values: | ||
*IC (or ICO) for the identification number of a person in CR | *IC (or ICO) for the identification number of a person in CR | ||
| − | *RC for the birth certificate number in the format YYMMDDXXXX | + | *RC for the male birth certificate number in the format YYMMDDXXXX |
| − | *R/C for birth certificate number in the format YYMMDD/XXXX | + | *R/C for the male birth certificate number in the format YYMMDD/XXXX |
| + | *ZRC for the female birth certificate number in the format YYMMDDXXXX | ||
| + | *ZR/C for female birth certificate number in the format YYMMDD/XXXX | ||
*EAN8 (or EAN-8) for an 8-digit European Article Number | *EAN8 (or EAN-8) for an 8-digit European Article Number | ||
*EAN13 (or EAN-13) for a 13-digit European Article Number | *EAN13 (or EAN-13) for a 13-digit European Article Number | ||
| Řádek 33: | Řádek 35: | ||
Type [[Special:MyLanguage/Data types#String | String]] | Type [[Special:MyLanguage/Data types#String | String]] | ||
| − | + | This parameter can be used to force the first 6 digits of the generated birth certificate number. | |
<span id="prefix-"></span> | <span id="prefix-"></span> | ||
=== Prefix === | === Prefix === | ||
| − | + | Type [[Special:MyLanguage/Data types#String | String]] | |
Code prefix for EAN | Code prefix for EAN | ||
| + | |||
| + | === Mode === | ||
| + | |||
| + | <div class="mw-translate-fuzzy"> | ||
| + | Type [[Special:MyLanguage/Datové typy#Number | Number]] | ||
| + | </div> | ||
| + | |||
| + | Value generation mode: | ||
| + | *0 (reset) generates the first value within the key range | ||
| + | *1 generates next key value | ||
=== Enabled === | === Enabled === | ||
| Řádek 46: | Řádek 58: | ||
Type [[Special:MyLanguage/Data types#Number | Number]] | Type [[Special:MyLanguage/Data types#Number | Number]] | ||
| − | + | Enables or disables the command. If the value is 0, the command will not execute. | |
=== PreWait === | === PreWait === | ||
| − | + | Type [[Special:MyLanguage/Data types#Number | Number]] | |
| − | + | Delay in milliseconds before executing the command. It has no effect if Enabled=0. | |
=== PostWait === | === PostWait === | ||
| − | + | Type [[Special:MyLanguage/Data types#Number | Number]] | |
| − | + | Delay in milliseconds before executing the command. It has no effect if Enabled=0. | |
| − | == | + | == Output parameters == |
<span id="value-"></span> | <span id="value-"></span> | ||
| Řádek 67: | Řádek 79: | ||
Type [[Special:MyLanguage/Data types#String | String]] | Type [[Special:MyLanguage/Data types#String | String]] | ||
| − | + | Value generated. | |
Aktuální verze z 21. 12. 2021, 17:32
Obsah
Description
Alias: UK
Generates a unique value.
Generates a unique KeyType value and stores the result in Value. To generate a birth certificate number, the date portion can be forced using the RCDate parameter, and Prefix for the EAN prefix.
Input parameters
KeyType
Type String
Specifies the key type. Use one of the following values:
- IC (or ICO) for the identification number of a person in CR
- RC for the male birth certificate number in the format YYMMDDXXXX
- R/C for the male birth certificate number in the format YYMMDD/XXXX
- ZRC for the female birth certificate number in the format YYMMDDXXXX
- ZR/C for female birth certificate number in the format YYMMDD/XXXX
- EAN8 (or EAN-8) for an 8-digit European Article Number
- EAN13 (or EAN-13) for a 13-digit European Article Number
- EAN18 (or EAN-18) for an 18-digit European Article Number
- NX for an X-digit integer, where X=1 to 9 (e.g. N4 generates a four-digit integer)
- SX for a string of length X, where X>0 (e.g. S10 generates a 10-character string)
RCDate
Type String
This parameter can be used to force the first 6 digits of the generated birth certificate number.
Prefix
Type String
Code prefix for EAN
Mode
Type Number
Value generation mode:
- 0 (reset) generates the first value within the key range
- 1 generates next key value
Enabled
Type Number
Enables or disables the command. If the value is 0, the command will not execute.
PreWait
Type Number
Delay in milliseconds before executing the command. It has no effect if Enabled=0.
PostWait
Type Number
Delay in milliseconds before executing the command. It has no effect if Enabled=0.
Output parameters
Value
Type String
Value generated.