LabLynx KB:changing batch summary report from AR2 to AR6

From LIMSWiki
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.

Additional considerations

It should be noted that the older AR2 report generator utilized a "managed pipeline mode" of Classic.

In order for the updated AR6 report generator to function properly, the managed pipeline mode must be set to Integrated after the conversion to AR6. This setting should be found under the Advanced Settings of the associated application pool in IIS.