Content

Overview

Examples

Configuration Properties

 
 

 

 

 

Overview

Top../images/arwup.gif (846 bytes)

The "QC Batch Viewer" Control allows the contents of a QC Batch to be viewed and reviewed. This Control provides two OOB Global Control Templates that allow QC Batches to be viewed and reviewed (depending on the configuration properties): QCBatch View and QCBatch Review.

 

Examples

Top../images/arwup.gif (846 bytes)

The QCBatch View and QCBatch Review Control Templates are demonstrated in LES Global Worksheet Template for QC Methods.

You can also create your own LES Worksheet that uses these Controls by creating a QC Method using the "Base LES Worksheet" Global Worksheet Template, which creates a basic LES Worksheet for an SDI.

After generating the LES Worksheet, edit the Worksheet and add the QCBatch View and QCBatch Review Controls.

The operating modes of the QCBatch View and QCBatch Review Control Templates are determined by the "Mode" Configuration Property. Further functionality is demonstrated in LES Global Worksheet Template for QC Methods.

 

Configuration Properties

Top../images/arwup.gif (846 bytes)

These properties are available for configuring overall behavior.

Property Description
Name Name of the Control that is displayed in the ELN interface. Leaving this blank defaults to the Control name provided in the OOB configuration.
Data Source Determines the source of the SDIs associated with the Control.
OptionDescription
WorksheetSDIs are retrieved from the WorksheetSDI table, which persists SDIs associated with the Worksheet.
ControlSDIs are retrieved from the WorksheetItemSDI table, which persists SDIs associated with the Control.
QuerySDIs are retrieved by a Query defined in the Control. This displays the "Query" property.
Query These properties are available if the "Data Source" is "Query".
PropertyDescription
QueryQuery SDI.
Query ParametersParameters to use in the Query SDI.
Query From

Query Where

If you are doing a generic SQL query rather than defining a Query SDI, these define the From and Where Clauses.
QC Batch Columns Defines columns rendered from the s_QCBatch table. QCBatch columns support dot notation to display any column from the QCMethod.
OptionFilters by:
TitleTitle rendered on the column header.
ColumnColumn Id to be retrieved.
TipText displayed on the tooltip.
Col SpanNumber of columns to span (similar to HTML colspan tag).
ShowDetermines if the column is rendered.
Display ValueValues displayed in place of the corresponding retrieved values. Separate each with a semicolon. For example, if you retrieve values from the createby column, you could specify JDrake=JD. All values retrieved as JDrake would then be displayed as JD. This works only if you replace the entire retrieved string (it does not work on partial strings).
Date FormatFormat in which date/time is displayed, as determined by the user's Locale and the Date Format Policy. For information about how LabVantage handles Locale, see Internationalization and Localization → Locale and Time Zone and Date Format Policy.
Translate ValueDetermines if the retrieved value is translated (see Translations).
Form Columns Number of SDC columns displayed across each row of the form.
Hide Empty Columns Determines if empty columns (all null) are hidden.
QC Batch Item Columns Defines columns rendered from the s_QCBatchItem table. QCBatch Item columns support dot notation to display columns from Sample (s_sample table), SampleType (s_batchsampletype table) and linkto QC batchitem (s_qcbatchitem table) row.
OptionFilters by:
TitleTitle rendered on the column header.
ColumnColumn Id to be retrieved.
TipText displayed on the tooltip.
Col SpanNumber of columns to span (similar to HTML colspan tag).
ShowDetermines if the column is rendered.
Display ValueValues displayed in place of the corresponding retrieved values. Separate each with a semicolon. For example, if you retrieve values from the createby column, you could specify JDrake=JD. All values retrieved as JDrake would then be displayed as JD. This works only if you replace the entire retrieved string (it does not work on partial strings).
Date FormatFormat in which date/time is displayed, as determined by the user's Locale and the Date Format Policy. For information about how LabVantage handles Locale, see Internationalization and Localization → Locale and Time Zone and Date Format Policy.
Translate ValueDetermines if the retrieved value is translated (see Translations).
Mode Choose "View" if this Control will be used to the content of QC Batches. Choose "Review" if this control wil be used to review QC Batches.
Show Unknown Samples Determines if Unknown Samples are shown.
Show QC Samples Determines if QC Samples are shown.
Operations Defines operations available on the Control Toolbar. See Common Control Operations for details.
Includes Allows complex/extended JavaScript to be added to an Operation of Type "Custom".