Creating a LIMS Event for CoA Generation
Upon sample approval this event allows for the CoA link to get generated on the SampleView. This tutorial will set-up an Event for SZN site as an example.
1. LIMS Events Menu
- From Home Screen, hover cursor over "Administration" tab
- Hover cursor over "LIMS Events" from the drop down
- Click on "new" from menu
2. LIMSEventsManager View
This is a view of LIMSEventsManager.
- For EVENT_DESC, type in event name: Generate CoA
- For TABLE_NAME, type in the name of the table in the database where this data is kept: Sample
- For this event, you must select two check boxes: "Status" and "On Update". This informs the system on when to run this event, in other words when Status is Updated run this event.
- For WHERE_CLAUSE, type in this command (select only text in red): sample_status='A' and 'BK'= (select ST_TYP from sampletype where sampletype.SAMPLETYPE_ID = sample.SAMPLETYPE_ID) and SAMPLE_TYPE not like '%ip' and Owner ='XXX' This command specifies that the sample must be approved in "A" status, class has to be Bulk Code, Bulk Code not to contain "ip" text which signifies in-process samples, and the owner has to be defined. Depending on which site you are setting this up for, type in the Owner name in place of XXX. For this example we will set-up an event in SZN site so the WHERE_SLAUSE will included SZN instead of XXX.
- For EVENT_TYPE, type in: Report
- For RPT_SOURCE, type in: sampletype.coa
- For OUTPUT_FILE_DEST, type in: location where the file will be kept. For this example destination is: d:\wlasia\export\shenzhen
- For FILE_FORMAT, type in: <<sample.sample_id>>--<<sample.lot>> This will name the file with the Sample ID first, followed by a dash and the lot number of the sample.
- STORE_REPORT_AT allow the system to know in which column to store the link, type in: COA_URL
- WL_REPORTS_FOLDER allows the system to know what folder to keep the file in, for this example use: ~\export\shenzhen
- SUBFOLDER will put the reports in the appropriate subfolder with the naming convention supplied in this text box. When a folder does not exist it will be created with name following convention listed here. For this example use: YYYY-MM
- SUBFILTER will inform the system how to filter the subfolder. For this example use: Sample_Type
OUTPUT_FILE_TYPE will inform the system what format the file should be saved in. For this example use: PDF
2.1. Completed Event Set-Up View
2.2. Save New Event
To save this event press on the save button
3. To Find an Event
- From Home Screen, hover cursor over "Administration" tab
- Hover cursor over "LIMS Events" from the drop down
- Click on "update" from menu
3.1. Search by EVENT_DESC
NOTE: When event name is known, use this search method
- Type it into the EVENT_DESC field
- Press the binoculars icon to search
3.2. Find All Events and Scroll
NOTE: When even name is unknown, use a blank search and scroll through all found events to find the one you're looking for.
- Press the binoculars icon to search
- Scroll to find your event

0 Comments
Add your comment