CONFIG—IdentRulesEdit Form
This form is used to configure ident rules.
Processes associated with this form

Flows:
- Browse—Return to the frmConfig form.
- Close—Close this form.
- Save—Save form updates.
- Save as—Save the current entity as a new entity.
- Delete—Delete the current entity.
Form:
- Description—Description of the ident rule, for example, Nickel Sintered briquettes.
- SC—Sample code. Example: NIH2SB-050826-000011
- Ident rule—The rule, including formula, used to decode a string from the SC, and a valid string, such that, if the decoded string matches the valid string, the SC is then decoded to determine the job, sample and product details. Example: RV=TRIM(LEFT(SC,6)) = "NIH2SB". In this example, where the left six characters of the SC string are "NIH2SB", then the ident rule is true, in which case RV returns true. Otherwise RV returns false, and the rest of the ident rule is not decoded.
- Decoded job—The job decoded from the ident rule. Examples:
- RV=TRIM(LEFT(SC,2))&"-20"&TRIM(MID(SC,8,4)) means that it uses the left 2 characters of the SC string, and adds the Year and Month, that is "NI-200506".
- RV=TRIM(LEFT(SC,2))&"-20"&TRIM(MID(SC,10,5))
- Decoded sample ident—The sample ident decoded from the ident rule, used to register the sample. Example: RV=SC
- Decoded description—The sample description decoded from the ident rule. The description does not have to be contained within the SC string itself, but can be hard-coded. Example: RV="NISB"
- Decoded sample type—The sample type decoded from the ident rule. The sample type must match a valid sample type: UNK (unknown), REP (replicate), DUP (duplicate), RRD (reread), STD (standard), or SPK (spike). Example: RV="UNK"
- Decoded external ident—The external ident decoded from the ident rule. The sample ident does not have to be contained within the SC string itself, but can be hard-coded. Example: RV=SC
- Decoded product—The product decoded from the ident rule. The product must match a CCLAS product code. Example: RV="NISB" returns the value NISB.