Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
run birt report against a work order in maximo 75
oraBirt
<p>We have a report runs well with a parameter wonum. Now user likes to run this report when he find his ideal workorder, and directly run against it, without typing workorder#.</p>
<p>Can anyone help this?</p>
<p>I believe the first step is to remove the parameter from birt designer, but not sure the next.</p>
<p>BTW, birt version is 3.7.</p>
<p>Any help is appreciated!</p>
Find more posts tagged with
Comments
wwilliams
<p>Make sure the + " where " + params["where"] + " is there and in the proper space and register it kind of like wotrack.rptdesign is registered</p>
oraBirt
<p>Thanks very much for your speedy help!</p>
<p>The last line of the query is "where" + params ["where"] now, (was +" and workorder.wonum ='"+params["wonum"] +"'"), but got an error SQL command not properly ended.</p>
wwilliams
<p>Do you have the following in your initialize method or something similar?</p>
<p>mxReportScriptContext.setDefaultLogLevel("DEBUG");<br>
mxReportScriptContext.setDefaultLogFile("c:/temp/repairs.log")<br>
scriptLogger = mxReportScriptContext.getReportScriptLogger();</p>
<p> </p>
<p>if not add it then run the report and look at the file and our copy and paste to your SQL tool e.g. Toad or MS mgt studio and execute it. it should become clear what issue is.</p>
oraBirt
<p>You are 100% correct!! The problem was a little syntax problem, after it is fixed, I see desired results.</p>
<p> </p>
<p>Your great help is really appreciated!!</p>