title: BIRT report modification
body: <p>I am a student who is new with OFBIZ and BIRT , I am trying to modify the existing report "<strong>Payments Report</strong>" , but i cant get any data . and i think because of that i am getting error ,  </p>
  
  <pre><code>The following items have errors:
  
  ReportDesign (id = 1):
  + An exception occurred during processing. Please see the following message for     details:
  A BIRT exception occurred. See next exception for more information.
  Invalid javascript expression: measure["amount"] (Element ID:1)
  + Can not find the prepared query org.eclipse.birt.data.engine.olap.impl.query.CubeQueryDefinition@a91e3d. (Element ID:1)
  </code></pre>
  
  <p>this is the script in ofbiz "open":</p>
  
  <pre><code>payments = null;
  userLogin = null;
  parameters = null;
  try {
      userLogin = delegator.findByPrimaryKey("UserLogin",UtilMisc.toMap("userLoginId","admin"));
  } catch(e) {
          Debug.logError(e,"");
  }
  input =  FastMap.newInstance();
  inputFields =  FastMap.newInstance();
  if(params!=null){
      inputFields.put("partyIdTo", params["partyIdTo"]);
      inputFields.put("paymentId", params["paymentId"]);
      inputFields.put("paymentTypeId", params["paymentTypeId"]);
      inputFields.put("paymentId_op", params["paymentId_op"]);
      inputFields.put("paymentRefNum_ic", params["paymentRefNum_ic"]);
      inputFields.put("noConditionFind", params["noConditionFind"]);
      inputFields.put("partyIdFrom", params["partyIdFrom"]);
      inputFields.put("paymentRefNum_op", params["paymentRefNum_op"]);
      inputFields.put("amount", params["amount"]);
      inputFields.put("statusId", params["statusId"]);
      inputFields.put("paymentGatewayResponseId", params["paymentGatewayResponseId"]);
      inputFields.put("paymentId_ic", params["paymentId_ic"]);
      inputFields.put("paymentRefNum", params["paymentRefNum"]);
      inputFields.put("comments_ic", params["comments_ic"]);
      inputFields.put("comments_op", params["comments_op"]);
      inputFields.put("comments", params["comments"]);
  }
  input.put("userLogin",userLogin);
  input.put("inputFields",inputFields);
  input.put("entityName","PaymentAndType");
  input.put("orderBy","effectiveDate DESC");
  //input.put("viewIndex", 0);
  //input.put("viewSize", 20);
  try {
      result = dispatcher.runSync("performFind", input);
      payments = result.get("listIt");
  } catch (e) {
      Debug.logError(e, module);
  }
  </code></pre>
  
  <p>i have modified the Entityengine.xml and got derby OFBIZ schema to the Oracle.<br>
  and I try to change the script file with modifications , but after few modifications (ofbiz Data source is uneditable,i have use eclipse to edit <strong>.rptdesign</strong> file) i got this error .</p>
  
  <p>(the "Payments Report" is build in : "Eclipse BIRT Designer Version 2.5.1.v20090903"
  but i use : "Eclipse BIRT Designer Version 4.3.1.v201309091055" so When save and run this , i get error )</p>
  
  <pre><code>org.eclipse.birt.report.engine.api.EngineException: The design file &lt;stream&gt; has error and can not be run.
  </code></pre>
  
  <p>as i found, this happens when version incompatibility , So how can i change this file and get data ? . what i am doing wrong ?  thanks and sorry for bad English and any lack of information.</p>