xmlDocument.setParameter("mayor", strMayor);
xmlDocument.setParameter("menor", strMenor);
xmlDocument.setParameter("comparative", strComparative);
xmlDocument.setParameter("partnerSalesRepId", strPartnerSalesrepId);
try {
ComboTableData comboTableData = new ComboTableData(vars, this, "TABLEDIR", "M_Warehouse_ID",
"", "", Utility.getContext(this, vars, "#AccessibleOrgTree",
"ReportSalesDimensionalAnalyzeJR"), Utility.getContext(this, vars, "#User_Client",
"ReportSalesDimensionalAnalyzeJR"), 0);
Utility.fillSQLParameters(this, vars, null, comboTableData,
"ReportSalesDimensionalAnalyzeJR", strmWarehouseId);
xmlDocument.setData("reportM_WAREHOUSEID", "liststructure", comboTableData.select(false));
comboTableData = null;
} catch (Exception ex) {
throw new ServletException(ex);
}
try {
ComboTableData comboTableData = new ComboTableData(vars, this, "TABLEDIR", "C_BP_Group_ID",
"", "", Utility.getContext(this, vars, "#AccessibleOrgTree",
"ReportSalesDimensionalAnalyzeJR"), Utility.getContext(this, vars, "#User_Client",
"ReportSalesDimensionalAnalyzeJR"), 0);
Utility.fillSQLParameters(this, vars, null, comboTableData,
"ReportSalesDimensionalAnalyzeJR", 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",
"ReportSalesDimensionalAnalyzeJR"), Utility.getContext(this, vars, "#User_Client",
"ReportSalesDimensionalAnalyzeJR"), 0);
Utility.fillSQLParameters(this, vars, null, comboTableData,
"ReportSalesDimensionalAnalyzeJR", strProductCategory);
xmlDocument.setData("reportM_PRODUCT_CATEGORYID", "liststructure", comboTableData
.select(false));
comboTableData = null;
} catch (Exception ex) {
throw new ServletException(ex);
}
try {
ComboTableData comboTableData = new ComboTableData(vars, this, "TABLE", "SalesRep_ID",
"AD_User SalesRep", "", Utility.getContext(this, vars, "#AccessibleOrgTree",
"ReportSalesDimensionalAnalyzeJR"), Utility.getContext(this, vars, "#User_Client",
"ReportSalesDimensionalAnalyzeJR"), 0);
Utility.fillSQLParameters(this, vars, null, comboTableData,
"ReportSalesDimensionalAnalyzeJR", strsalesrepId);
xmlDocument.setData("reportSalesRep_ID", "liststructure", comboTableData.select(false));
comboTableData = null;
} catch (Exception ex) {
throw new ServletException(ex);
}
xmlDocument.setData("reportAD_ORGID", "liststructure", OrganizationComboData.selectCombo(this,
vars.getRole()));
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, "TABLE", "",
"C_BPartner SalesRep", "", Utility.getContext(this, vars, "#AccessibleOrgTree",
"ReportSalesDimensionalAnalyzeJR"), Utility.getContext(this, vars, "#User_Client",
"ReportSalesDimensionalAnalyzeJR"), 0);
Utility.fillSQLParameters(this, vars, null, comboTableData,
"ReportSalesDimensionalAnalyzeJR", strPartnerSalesrepId);
xmlDocument
.setData("reportPartnerSalesRep_ID", "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",
"ReportSalesDimensionalAnalyzeJR"), Utility.getContext(this, vars, "#User_Client",
"ReportSalesDimensionalAnalyzeJR"), 0);
Utility.fillSQLParameters(this, vars, null, comboTableData,
"ReportSalesDimensionalAnalyzeJR", strCurrencyId);
xmlDocument.setData("reportC_Currency_ID", "liststructure", comboTableData.select(false));
comboTableData = null;
} catch (Exception ex) {
throw new ServletException(ex);
}