xmlDocument.setParameter("producttype", strProducttype);
xmlDocument.setParameter("partnerSalesRepId", strPartnerSalesrepId);
xmlDocument.setParameter("projectName", ReportInvoiceCustomerDimensionalAnalysesJRData
.selectProject(this, strcProjectId));
try {
ComboTableData comboTableData = new ComboTableData(vars, this, "TABLEDIR", "C_BP_Group_ID",
"", "", Utility.getContext(this, vars, "#AccessibleOrgTree",
"ReportInvoiceCustomerDimensionalAnalysesJR"), Utility.getContext(this, vars,
"#User_Client", "ReportInvoiceCustomerDimensionalAnalysesJR"), 0);
Utility.fillSQLParameters(this, vars, null, comboTableData,
"ReportInvoiceCustomerDimensionalAnalysesJR", 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",
"ReportInvoiceCustomerDimensionalAnalysesJR"), Utility.getContext(this, vars,
"#User_Client", "ReportInvoiceCustomerDimensionalAnalysesJR"), 0);
Utility.fillSQLParameters(this, vars, null, comboTableData,
"ReportInvoiceCustomerDimensionalAnalysesJR", 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()));
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, "LIST", "",
"M_Product_ProductType", "", Utility.getContext(this, vars, "#AccessibleOrgTree",
"ReportInvoiceCustomerDimensionalAnalysesJR"), Utility.getContext(this, vars,
"#User_Client", "ReportInvoiceCustomerDimensionalAnalysesJR"), 0);
Utility.fillSQLParameters(this, vars, null, comboTableData,
"ReportInvoiceCustomerDimensionalAnalysesJR", "");
xmlDocument.setData("reportProductType", "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);
}
try {
ComboTableData comboTableData = new ComboTableData(vars, this, "TABLE", "",
"C_BPartner SalesRep", "", Utility.getContext(this, vars, "#AccessibleOrgTree",
"ReportInvoiceCustomerDimensionalAnalysesJR"), Utility.getContext(this, vars,
"#User_Client", "ReportInvoiceCustomerDimensionalAnalysesJR"), 0);
Utility.fillSQLParameters(this, vars, null, comboTableData,
"ReportInvoiceCustomerDimensionalAnalysesJR", 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",
"ReportInvoiceCustomerDimensionalAnalysesJR"), Utility.getContext(this, vars,
"#User_Client", "ReportInvoiceCustomerDimensionalAnalysesJR"), 0);
Utility.fillSQLParameters(this, vars, null, comboTableData,
"ReportInvoiceCustomerDimensionalAnalysesJR", strCurrencyId);
xmlDocument.setData("reportC_Currency_ID", "liststructure", comboTableData.select(false));
comboTableData = null;
} catch (Exception ex) {
throw new ServletException(ex);
}