Despatch Validation
When processing a despatch, the samples in the Sample List are validated against the Sample tags and the QC Types configured in Configuration Manager | Metadata | Sample Tracker.
To help you validate the sample list, the following errors and remedies are provided:
Sample List Validation
| Validation | Error Message | Remedy | 
|---|---|---|
| The Sample Tag is NULL and the Sample ID is not NULL.1 | Sample Tag is required for sample #[Order]. | The Sample Tag is auto-generated to match the Sample ID. | 
| If any or all of: Sample ID/Site ID/Project are NULL and QC_TYPE is not mapped to the STANDARD system QC Type.2 | Sample ID/Site ID/Project cannot be matched to a sample in the database | The Sample Tag is auto-generated to match the Sample ID. | 
| If all of: Sample ID/Site ID/Project are NOT NULL and QC_TYPE is not mapped to the STANDARD system QC Type.2 | Sample ID/Site ID/Project cannot be matched to a sample in the database. | The Sample Tag is auto-generated to match the Sample ID. | 
| The Sample Tag is blank. | Sample Tag is required for sample #[Order]. | 
                                                             Rename the Sample Tag. Click the Revalidate Sample List button: 
                                                                  | 
                                                    
| The Sample Tag is not Unique | Sample "[Sample Tag]" is not unique. | 
                                                             Duplicates are highlighted. Rename or delete the duplicate tags. Click the Revalidate Sample List button: 
                                                                  | 
                                                    
When the Use the size fraction table option is set on the Database Options tab of the Datasource Property Editor:
1 If the FRACTION value is not NULL, the Sample Tag is auto-generated to match the SAMPLE_ID+'-'+FRACTION value.
2 FRACTION value also cannot be NULL.
See: Datasource Properties: Sample Tracker
QC Type Validation
| Validation | Error Message | Remedy | 
|---|---|---|
| QC_TYPE is NULL or is an empty string. | “QC Type is required for sample #[Order]" | 
                                                             Select a configured QC_TYPE or configure a new type on the metadata QC Types tab and then select it. Click the Revalidate Sample List button: 
                                                                  | 
                                                    
| QC_TYPE does not match any of the QC types configured in metadata. | “QC Type [QC Type] is not defined” | 
                                                             Either change the QC_TYPE or configure a new type on the metadata QC Types tab and then select it. Click the Revalidate Sample List button: 
                                                                  | 
                                                    
| QC_TYPE is mapped to the STANDARD QC_TYPE however the STANDARD_ID is unknown. | "Unknown Standard ID for sample #[Order]" | 
                                                             Add the Standard_ID in the ST_XS_STANDARD table with the same QC_TYPE. Click the Revalidate Sample List button: 
                                                                  | 
                                                    
| QC_TYPE is mapped to the STANDARD QC_TYPE, the STANDARD_ID is known, however it is mapped to a different QC_TYPE. | "QC Type [QC Type] does not match the specified QC Type of [StXsStandardQcType] for [StandardId]" | 
                                                             Modify the QC_TYPE for the STANDARD_ID in the ST_XS_STANDARD table. Click the Revalidate Sample List button: 
                                                                  | 
                                                    
| QC_TYPE s mapped to the STANDARD QC_TYPE however the STANDARD_ID is NULL or an empty string. | "The Standard ID for sample #[Order] us unspecified." | 
                                                             Specify a valid Standard_ID (which exists in the ST_XS_STANDARD table with the same QC_TYPE). Click the Revalidate Sample List button: 
                                                                  |