LabLynx KB:changing batch summary report from AR2 to AR6

From LIMSWiki
Revision as of 23:37, 20 November 2011 by Shawndouglas (talk | contribs) (Added article.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Problem

The process of converting a batch summary report from AR2 to AR6 wasn't clear.

Resolution

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.