LabLynx KB:changing batch summary report from AR2 to AR6

From LIMSWiki
Revision as of 19:32, 21 November 2011 by Shawndouglas (talk | contribs) (Updated text per clarification of problem.)
Jump to navigationJump to search

Problem

The Batch Summary button in the LIMS is hardcoded to point to an older AR2 report generator rather than the more current AR6 report generator.

Resolution

To have the Batch Summary button point to the correct report generator:

1. Enter iStudio.

2. Connect to eps_dev.

3. Go to the screen LIM_vuBATCHRESULTSENTRY.

4. Click Save (before anything else to modify userexits on a cots screen).

5. Open user exit -2 (htmltype).

6. Go to PrintAnalystWorksheet Sub.

7. Comment out the following code:

        'strEdit = ShowModalDialog("sysTableEdit.asp?TABLE=LIM_vuJOBACTION&IsNew=Y&Scroll=N&Doc=" & sDoc,"MyNewWindow","center:yes;dialogwidth:968px;dialogheight:600px;")

8. Add the following code:

         swhere="ProcessBatchID=" & document.all("ProcessBatchID").value

         fraGeneric.Location.href = "ReportProcessor.aspx?Reportid=-7&Print=N&RefInfoGroupID=&" & swhere & "&Ext=pdf"

Ensure the Reportid in the above code matches the Reportid for the batch summary. You can find that information in report management. In this case it was -7.