xmlDocument.setParameter("ratioMayor", strRatioMayor);
xmlDocument.setParameter("ratioMenor", strRatioMenor);
xmlDocument.setParameter("comparative", strComparative);
xmlDocument.setParameter("command", strCommand);
try {
ComboTableData comboTableData = new ComboTableData(vars, this, "TABLEDIR", "C_BP_Group_ID",
"", "", Utility.getContext(this, vars, "#AccessibleOrgTree",
"ReportRefundSalesDimensionalAnalyses"), Utility.getContext(this, vars,
"#User_Client", "ReportRefundSalesDimensionalAnalyses"), 0);
Utility.fillSQLParameters(this, vars, null, comboTableData,
"ReportRefundSalesDimensionalAnalyses", strPartnerGroup);
xmlDocument.setData("reportC_BP_GROUPID", "liststructure", comboTableData.select(false));
comboTableData = null;
} catch (Exception ex) {
throw new ServletException(ex);
}
try {
ComboTableData comboTableData = new ComboTableData(vars, this, "TABLEDIR",
"M_Product_Category_ID", "", "", Utility.getContext(this, vars, "#AccessibleOrgTree",
"ReportRefundSalesDimensionalAnalyses"), Utility.getContext(this, vars,
"#User_Client", "ReportRefundSalesDimensionalAnalyses"), 0);
Utility.fillSQLParameters(this, vars, null, comboTableData,
"ReportRefundSalesDimensionalAnalyses", strProductCategory);
xmlDocument.setData("reportM_PRODUCT_CATEGORYID", "liststructure", comboTableData
.select(false));
comboTableData = null;
} catch (Exception ex) {
throw new ServletException(ex);
}
xmlDocument.setData("reportAD_ORGID", "liststructure", OrganizationComboData.selectCombo(this,
vars.getRole()));
try {
ComboTableData comboTableData = new ComboTableData(vars, this, "TABLE", "SalesRep_ID",
"AD_User SalesRep", "", Utility.getContext(this, vars, "#AccessibleOrgTree",
"ReportRefundSalesDimensionalAnalyses"), Utility.getContext(this, vars,
"#User_Client", "ReportRefundSalesDimensionalAnalyses"), 0);
Utility.fillSQLParameters(this, vars, null, comboTableData,
"ReportRefundSalesDimensionalAnalyses", strsalesrepId);
xmlDocument.setData("reportSalesRep_ID", "liststructure", comboTableData.select(false));
comboTableData = null;
} catch (Exception ex) {
throw new ServletException(ex);
}
xmlDocument.setData("reportCBPartnerId_IN", "liststructure", SelectorUtilityData
.selectBpartner(this, Utility.getContext(this, vars, "#AccessibleOrgTree", ""), Utility
.getContext(this, vars, "#User_Client", ""), strcBpartnerId));
xmlDocument.setData("reportMProductId_IN", "liststructure", SelectorUtilityData.selectMproduct(
this, Utility.getContext(this, vars, "#AccessibleOrgTree", ""), Utility.getContext(this,
vars, "#User_Client", ""), strmProductId));
try {
ComboTableData comboTableData = new ComboTableData(vars, this, "TABLEDIR", "M_Warehouse_ID",
"", "", Utility.getContext(this, vars, "#AccessibleOrgTree",
"ReportSalesDimensionalAnalyze"), Utility.getContext(this, vars, "#User_Client",
"ReportRefundSalesDimensionalAnalyses"), 0);
Utility.fillSQLParameters(this, vars, null, comboTableData,
"ReportRefundSalesDimensionalAnalyses", strmWarehouseId);
xmlDocument.setData("reportM_WAREHOUSEID", "liststructure", comboTableData.select(false));
comboTableData = null;
} catch (Exception ex) {
throw new ServletException(ex);
}
xmlDocument.setParameter("ccurrencyid", strCurrencyId);
try {
ComboTableData comboTableData = new ComboTableData(vars, this, "TABLEDIR", "C_Currency_ID",
"", "", Utility.getContext(this, vars, "#AccessibleOrgTree",
"ReportRefundSalesDimensionalAnalyses"), Utility.getContext(this, vars,
"#User_Client", "ReportRefundSalesDimensionalAnalyses"), 0);
Utility.fillSQLParameters(this, vars, null, comboTableData,
"ReportRefundSalesDimensionalAnalyses", strCurrencyId);
xmlDocument.setData("reportC_Currency_ID", "liststructure", comboTableData.select(false));
comboTableData = null;
} catch (Exception ex) {
throw new ServletException(ex);
}