Package org.openbravo.erpCommon.utility

Examples of org.openbravo.erpCommon.utility.ComboTableData


        xmlDocument.setParameter("messageMessage", myMessage.getMessage());
      }
    }

    try {
      ComboTableData comboTableData = new ComboTableData(vars, this, "TABLEDIR",
          "A_Asset_Group_ID", "", "", Utility.getContext(this, vars, "#AccessibleOrgTree", ""),
          Utility.getContext(this, vars, "#User_Client", ""), 0);
      Utility.fillSQLParameters(this, vars, null, comboTableData, "", "");
      xmlDocument.setData("reportA_ASSET_GROUP_ID", "liststructure", comboTableData.select(false));
      comboTableData = null;
    } catch (Exception ex) {
      throw new ServletException(ex);
    }

    xmlDocument.setParameter("calendar", vars.getLanguage().substring(0, 2));
    xmlDocument.setParameter("directory", "var baseDirectory = \"" + strReplaceWith + "/\";\n");
    xmlDocument.setParameter("paramLanguage", "defaultLang=\"" + vars.getLanguage() + "\";");
    xmlDocument.setParameter("dateFrom", strDateFrom);
    xmlDocument.setParameter("dateFromdisplayFormat", vars.getSessionValue("#AD_SqlDateFormat"));
    xmlDocument.setParameter("dateFromsaveFormat", vars.getSessionValue("#AD_SqlDateFormat"));
    xmlDocument.setParameter("dateTo", strDateTo);
    xmlDocument.setParameter("dateTodisplayFormat", vars.getSessionValue("#AD_SqlDateFormat"));
    xmlDocument.setParameter("dateTosaveFormat", vars.getSessionValue("#AD_SqlDateFormat"));

    xmlDocument.setParameter("value", strValue);
    xmlDocument.setParameter("description", strDescription);
    xmlDocument.setParameter("cAssetCategoryId", strcAssetCategoryId);
    xmlDocument.setParameter("cAcctschemaId", strcAcctSchemaId);
    xmlDocument.setParameter("adOrgId", strOrg);
    xmlDocument.setData("structure1", data);

    try {
      ComboTableData comboTableData = new ComboTableData(vars, this, "TABLEDIR", "AD_ORG_ID", "",
          "", Utility.getContext(this, vars, "#AccessibleOrgTree",
              "ReportAssetDepreciationSchedule"), Utility.getContext(this, vars, "#User_Client",
              "ReportAssetDepreciationSchedule"), '*');
      comboTableData.fillParameters(null, "ReportAssetDepreciationSchedule", "");
      xmlDocument.setData("reportAD_ORG_ID", "liststructure", comboTableData.select(false));
    } catch (Exception ex) {
      throw new ServletException(ex);
    }

    xmlDocument.setData("reportC_ACCTSCHEMA_ID", "liststructure", AccountingSchemaMiscData
View Full Code Here


        xmlDocument.setParameter("messageMessage", myMessage.getMessage());
      }
    }

    try {
      ComboTableData comboTableData = new ComboTableData(vars, this, "LIST", "",
          "All_Payment Rule", "", Utility.getContext(this, vars, "#AccessibleOrgTree", windowId),
          Utility.getContext(this, vars, "#User_Client", windowId), 0);
      Utility.fillSQLParameters(this, vars, null, comboTableData, windowId, data[0].paymentrule);
      xmlDocument.setData("reportPaymentRule", "liststructure", comboTableData.select(false));
      comboTableData = null;
    } catch (Exception ex) {
      throw new ServletException(ex);
    }

    try {
      ComboTableData comboTableData = new ComboTableData(vars, this, "TABLEDIR", "AD_Org_ID", "",
          "AD_Org Trx Security validation", Utility.getContext(this, vars, "#User_Org", windowId),
          Utility.getContext(this, vars, "#User_Client", windowId), 0);
      Utility.fillSQLParameters(this, vars, null, comboTableData, windowId, data[0].adOrgId);
      xmlDocument.setData("reportAD_Org_ID", "liststructure", comboTableData.select(false));
      comboTableData = null;
    } catch (Exception ex) {
      throw new ServletException(ex);
    }

    try {
      ComboTableData comboTableData = new ComboTableData(vars, this, "TABLEDIR", "AD_Org_ID", "",
          "AD_Org Trx Security validation", Utility.getContext(this, vars, "#User_Org", windowId),
          Utility.getContext(this, vars, "#User_Client", windowId), 0);
      Utility.fillSQLParameters(this, vars, null, comboTableData, windowId, data[0].adOrgId);
      xmlDocument.setData("reportAD_Org_ID", "liststructure", comboTableData.select(false));
      comboTableData = null;
    } catch (Exception ex) {
      throw new ServletException(ex);
    }

    try {
      ComboTableData comboTableData = new ComboTableData(vars, this, "TABLEDIR",
          "C_PaymentTerm_ID", "", "", Utility
              .getContext(this, vars, "#AccessibleOrgTree", windowId), Utility.getContext(this,
              vars, "#User_Client", windowId), 0);
      Utility.fillSQLParameters(this, vars, null, comboTableData, windowId, data[0].cPaymenttermId);
      xmlDocument.setData("reportC_PaymentTerm_ID", "liststructure", comboTableData.select(false));
      comboTableData = null;
    } catch (Exception ex) {
      throw new ServletException(ex);
    }

    try {
      ComboTableData comboTableData = new ComboTableData(vars, this, "TABLEDIR",
          "C_BPartner_Location_ID", "", "C_BPartner Location - Bill To", Utility.getContext(this,
              vars, "#AccessibleOrgTree", windowId), Utility.getContext(this, vars, "#User_Client",
              windowId), 0);
      Utility.fillSQLParameters(this, vars, null, comboTableData, windowId, data[0].cBpartnerId);
      xmlDocument.setData("reportC_BPartner_Location_ID", "liststructure", comboTableData
          .select(false));
      comboTableData = null;
    } catch (Exception ex) {
      throw new ServletException(ex);
    }
View Full Code Here

    }

    xmlDocument.setParameter("calendar", vars.getLanguage().substring(0, 2));

    try {
      ComboTableData comboTableData = new ComboTableData(vars, this, "TABLEDIR", "AD_ORG_ID", "",
          "", Utility.getContext(this, vars, "#AccessibleOrgTree", "ReportGeneralLedger"), Utility
              .getContext(this, vars, "#User_Client", "ReportGeneralLedger"), '*');
      comboTableData.fillParameters(null, "ReportGeneralLedger", "");
      xmlDocument.setData("reportAD_ORGID", "liststructure", comboTableData.select(false));
    } catch (Exception ex) {
      throw new ServletException(ex);
    }

    xmlDocument.setParameter("directory", "var baseDirectory = \"" + strReplaceWith + "/\";\n");
View Full Code Here

    xmlDocument.setParameter("dateFromsaveFormat", vars.getSessionValue("#AD_SqlDateFormat"));
    xmlDocument.setParameter("dateTodisplayFormat", vars.getSessionValue("#AD_SqlDateFormat"));
    xmlDocument.setParameter("dateTosaveFormat", vars.getSessionValue("#AD_SqlDateFormat"));
    xmlDocument.setParameter("mWarehouseId", strWarehouse);
    try {
      ComboTableData comboTableData = new ComboTableData(vars, this, "TABLE", "M_Warehouse_ID",
          "M_Warehouse of Client", "", Utility.getContext(this, vars, "#User_Client", ""), Utility
              .getContext(this, vars, "#AD_Client_ID", ""), 0);
      Utility.fillSQLParameters(this, vars, null, comboTableData, "", "");
      xmlDocument.setData("reportM_WAREHOUSEID", "liststructure", comboTableData.select(false));
      comboTableData = null;
    } catch (Exception ex) {
      throw new ServletException(ex);
    }
    out.println(xmlDocument.print());
View Full Code Here

      xmlDocument.setParameter("cProjectPhase", strProjectphase);
      xmlDocument.setParameter("cProjectStatus", strProjectstatus);
      xmlDocument.setParameter("cProjectPublic", strProjectpublic);
      xmlDocument.setParameter("salesRep", strSalesRep);
      try {
        ComboTableData comboTableData = new ComboTableData(vars, this, "LIST", "C_Project_kind",
            "Projectkind", "", Utility.getContext(this, vars, "#AccessibleOrgTree",
                "ReportProjectBuildingSite"), Utility.getContext(this, vars, "#User_Client",
                "ReportProjectBuildingSite"), 0);
        Utility.fillSQLParameters(this, vars, null, comboTableData, "ReportProjectBuildingSite",
            strProjectkind);
        xmlDocument.setData("reportC_PROJECTKIND", "liststructure", comboTableData.select(false));
        comboTableData = null;
      } catch (Exception ex) {
        throw new ServletException(ex);
      }

      try {
        ComboTableData comboTableData = new ComboTableData(vars, this, "LIST", "C_Project_phase",
            "Projectphase", "", Utility.getContext(this, vars, "#AccessibleOrgTree",
                "ReportProjectBuildingSite"), Utility.getContext(this, vars, "#User_Client",
                "ReportProjectBuildingSite"), 0);
        Utility.fillSQLParameters(this, vars, null, comboTableData, "ReportProjectBuildingSite",
            strProjectphase);
        xmlDocument.setData("reportC_PROJECTKIND", "liststructure", comboTableData.select(false));
        comboTableData = null;
      } catch (Exception ex) {
        throw new ServletException(ex);
      }

      try {
        ComboTableData comboTableData = new ComboTableData(vars, this, "LIST", "C_Project_status",
            "ProjectStatus", "", Utility.getContext(this, vars, "#AccessibleOrgTree",
                "ReportProjectBuildingSite"), Utility.getContext(this, vars, "#User_Client",
                "ReportProjectBuildingSite"), 0);
        Utility.fillSQLParameters(this, vars, null, comboTableData, "ReportProjectBuildingSite",
            strProjectstatus);
        xmlDocument.setData("reportC_PROJECTSTATUS", "liststructure", comboTableData.select(false));
        comboTableData = null;
      } catch (Exception ex) {
        throw new ServletException(ex);
      }

      try {
        ComboTableData comboTableData = new ComboTableData(vars, this, "LIST", "C_Project_public",
            "ProjectPrivate", "", Utility.getContext(this, vars, "#AccessibleOrgTree",
                "ReportProjectBuildingSite"), Utility.getContext(this, vars, "#User_Client",
                "ReportProjectBuildingSite"), 0);
        Utility.fillSQLParameters(this, vars, null, comboTableData, "ReportProjectBuildingSite",
            strProjectpublic);
        xmlDocument.setData("reportC_PROJECTPUBLIC", "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",
                "ReportProjectBuildingSite"), Utility.getContext(this, vars, "#User_Client",
                "ReportProjectBuildingSite"), 0);
        comboTableData.fillParameters(null, "ReportProjectBuildingSite", "");
        xmlDocument.setData("reportC_PRODUCTCATREGORY", "liststructure", comboTableData
            .select(false));
      } catch (Exception ex) {
        throw new ServletException(ex);
      }

      try {
        ComboTableData comboTableData = new ComboTableData(vars, this, "TABLEDIR", "C_Region_ID",
            "", "C_Region of Country", Utility.getContext(this, vars, "#AccessibleOrgTree",
                "Account"), Utility.getContext(this, vars, "#User_Client",
                "ReportSalesOrderProvided"), 0);
        Utility.fillSQLParameters(this, vars, null, comboTableData, "ReportSalesOrderProvided",
            strcRegionId);
        xmlDocument.setData("reportC_REGIONID", "liststructure", comboTableData.select(false));
        comboTableData = null;
      } catch (Exception ex) {
        throw new ServletException(ex);
      }

      try {
        ComboTableData comboTableData = new ComboTableData(vars, this, "TABLE", "",
            "AD_User SalesRep", "", Utility.getContext(this, vars, "#AccessibleOrgTree",
                "ReportProjectBuildingSite"), Utility.getContext(this, vars, "#User_Client",
                "ReportProjectBuildingSite"), 0);
        Utility.fillSQLParameters(this, vars, null, comboTableData, "ReportSalesOrderProvided",
            strSalesRep);
        xmlDocument.setData("reportSALESREP", "liststructure", comboTableData.select(false));
        comboTableData = null;
      } catch (Exception ex) {
        throw new ServletException(ex);
      }
View Full Code Here

    xmlDocument.setParameter("dateTo", strDateTo);
    xmlDocument.setParameter("dateTodisplayFormat", vars.getSessionValue("#AD_SqlDateFormat"));
    xmlDocument.setParameter("dateTosaveFormat", vars.getSessionValue("#AD_SqlDateFormat"));
    xmlDocument.setParameter("paramMessage", (strMessage.equals("") ? "" : "alert('" + strMessage+ "');"));
      try {
       ComboTableData comboTableData = new ComboTableData(vars, this, "TABLE", "M_Product_ID","Vehicle", "", Utility.getContext(this, vars, "#AccessibleOrgTree", "VehicleFuelReport"), Utility.getContext(this, vars, "#User_Client", "VehicleFuelReport"), 0);
       Utility.fillSQLParameters(this, vars, null, comboTableData, "VehicleFuelReport", "");
    xmlDocument.setData("reportC_ACCOUNTNUMBER", "liststructure", comboTableData.select(false));
      comboTableData = null;
    } catch (Exception ex) {
      throw new ServletException(ex);
    }
    //xmlDocument.setData("reportC_ACCOUNTNUMBER", "liststructure", AccountNumberComboData.select(this, Utility.getContext(this, vars, "#User_Client","VehicleFuelReport"), Utility.getContext(this, vars, "#AccessibleOrgTree", "VehicleFuelReport")));
View Full Code Here

      xmlDocument.setParameter("cBankAccount", strVehicleID);
      xmlDocument.setParameter("dateFrom", strDateFrom);
      xmlDocument.setParameter("dateTo", strDateTo);
      xmlDocument.setParameter("paramMessage", (strMessage.equals("") ? "" : "alert('" + strMessage+ "');"));
    try {
       ComboTableData comboTableData = new ComboTableData(vars, this, "TABLED", "M_Product_ID","Vehicle", "", Utility.getContext(this, vars, "#AccessibleOrgTree", "VehicleFuelReport"), Utility.getContext(this, vars, "#User_Client", "VehicleFuelReport"), 0);
       Utility.fillSQLParameters(this, vars, null, comboTableData, "VehicleFuelReport", "");
    xmlDocument.setData("reportC_ACCOUNTNUMBER", "liststructure", comboTableData.select(false));
      comboTableData = null;
    } catch (Exception ex) {
      throw new ServletException(ex);
   
    //  xmlDocument.setData("reportC_ACCOUNTNUMBER", "liststructure", AccountNumberComboData.select(this, Utility.getContext(this, vars, "#User_Client", "VehicleFuelReport"), Utility.getContext(this, vars, "#AccessibleOrgTree", "VehicleFuelReport")));
View Full Code Here

    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);
    }
View Full Code Here

    xmlDocument.setParameter("cProjectStatus", strProjectstatus);
    xmlDocument.setParameter("cProjectPublic", strProjectpublic);
    xmlDocument.setParameter("salesRep", strSalesRep);

    try {
      ComboTableData comboTableData = new ComboTableData(this, "LIST", "", "Projectkind", "",
          Utility.getContext(this, vars, "#AccessibleOrgTree", "ReportInvoiceCustomerEdition"),
          Utility.getContext(this, vars, "#User_Client", "ReportInvoiceCustomerEdition"), 0);
      Utility.fillSQLParameters(this, vars, null, comboTableData, "ReportInvoiceCustomerEdition",
          strProjectkind);
      xmlDocument.setData("reportC_PROJECTKIND", "liststructure", comboTableData.select(false));
      comboTableData = null;
    } catch (Exception ex) {
      throw new ServletException(ex);
    }

    try {
      ComboTableData comboTableData = new ComboTableData(this, "LIST", "", "Projectphase", "",
          Utility.getContext(this, vars, "#AccessibleOrgTree", "ReportInvoiceCustomerEdition"),
          Utility.getContext(this, vars, "#User_Client", "ReportInvoiceCustomerEdition"), 0);
      Utility.fillSQLParameters(this, vars, null, comboTableData, "ReportInvoiceCustomerEdition",
          strProjectphase);
      xmlDocument.setData("reportC_PROJECTPHASE", "liststructure", comboTableData.select(false));
      comboTableData = null;
    } catch (Exception ex) {
      throw new ServletException(ex);
    }

    try {
      ComboTableData comboTableData = new ComboTableData(this, "LIST", "", "ProjectStatus", "",
          Utility.getContext(this, vars, "#AccessibleOrgTree", "ReportInvoiceCustomerEdition"),
          Utility.getContext(this, vars, "#User_Client", "ReportInvoiceCustomerEdition"), 0);
      Utility.fillSQLParameters(this, vars, null, comboTableData, "ReportInvoiceCustomerEdition",
          strProjectstatus);
      xmlDocument.setData("reportC_PROJECTSTATUS", "liststructure", comboTableData.select(false));
      comboTableData = null;
    } catch (Exception ex) {
      throw new ServletException(ex);
    }

    try {
      ComboTableData comboTableData = new ComboTableData(this, "LIST", "", "PublicPrivate", "",
          Utility.getContext(this, vars, "#AccessibleOrgTree", "ReportInvoiceCustomerEdition"),
          Utility.getContext(this, vars, "#User_Client", "ReportInvoiceCustomerEdition"), 0);
      Utility.fillSQLParameters(this, vars, null, comboTableData, "ReportInvoiceCustomerEdition",
          strProjectpublic);
      xmlDocument.setData("reportC_PROJECTPUBLIC", "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",
              "ReportInvoiceCustomerEdition"), Utility.getContext(this, vars, "#User_Client",
              "ReportInvoiceCustomerEdition"), 0);
      comboTableData.fillParameters(null, "ReportInvoiceCustomerEdition", "");
      xmlDocument
          .setData("reportC_PRODUCTCATREGORY", "liststructure", comboTableData.select(false));
    } catch (Exception ex) {
      throw new ServletException(ex);
    }

    try {
      ComboTableData comboTableData = new ComboTableData(this, "TABLEDIR", "C_REGION_ID", "",
          "C_Region of Country", Utility.getContext(this, vars, "#AccessibleOrgTree",
              "ReportInvoiceCustomerEdition"), Utility.getContext(this, vars, "#User_Client",
              "ReportInvoiceCustomerEdition"), 0);
      Utility.fillSQLParameters(this, vars, null, comboTableData, "ReportInvoiceCustomerEdition",
          strcRegionId);
      xmlDocument.setData("reportC_REGIONID", "liststructure", comboTableData.select(false));
      comboTableData = null;
    } catch (Exception ex) {
      throw new ServletException(ex);
    }

    try {
      ComboTableData comboTableData = new ComboTableData(this, "TABLE", "", "190",
          "AD_User SalesRep", Utility.getContext(this, vars, "#AccessibleOrgTree",
              "ReportInvoiceCustomerEdition"), Utility.getContext(this, vars, "#User_Client",
              "ReportInvoiceCustomerEdition"), 0);
      Utility.fillSQLParameters(this, vars, null, comboTableData, "ReportInvoiceCustomerEdition",
          strSalesRep);
      xmlDocument.setData("reportSALESREP", "liststructure", comboTableData.select(false));
      comboTableData = null;
    } catch (Exception ex) {
      throw new ServletException(ex);
    }
View Full Code Here

      xmlDocument.setParameter("directory", "var baseDirectory = \"" + strReplaceWith + "/\";\n");
      xmlDocument.setParameter("paramLanguage", "defaultLang=\"" + vars.getLanguage() + "\";");

      // Load Business Partner Group combo with data
      try {
        ComboTableData comboTableData = new ComboTableData(vars, this, "TABLEDIR",
            "M_Warehouse_ID", "", "", Utility.getContext(this, vars, "#AccessibleOrgTree",
                "ReportParetoProduct"), Utility.getContext(this, vars, "#User_Client",
                "ReportParetoProduct"), 0);
        Utility.fillSQLParameters(this, vars, null, comboTableData, "ReportParetoProduct",
            strWarehouse);
        xmlDocument.setData("reportM_Warehouse_ID", "liststructure", comboTableData.select(false));
        comboTableData = null;
      } catch (Exception ex) {
        throw new ServletException(ex);
      }

      try {
        ComboTableData comboTableData = new ComboTableData(vars, this, "TABLEDIR", "AD_Org_ID", "",
            "", Utility.getContext(this, vars, "#AccessibleOrgTree", "ReportParetoProduct"),
            Utility.getContext(this, vars, "#User_Client", "ReportParetoProduct"), 0);
        Utility.fillSQLParameters(this, vars, null, comboTableData, "ReportParetoProduct",
            strAD_Org_ID);
        xmlDocument.setData("reportAD_Org_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", "ReportParetoProduct"),
            Utility.getContext(this, vars, "#User_Client", "ReportParetoProduct"), 0);
        Utility.fillSQLParameters(this, vars, null, comboTableData, "ReportParetoProduct",
            strCurrencyId);
        xmlDocument.setData("reportC_Currency_ID", "liststructure", comboTableData.select(false));
        comboTableData = null;
      } catch (Exception ex) {
        throw new ServletException(ex);
      }
View Full Code Here

TOP

Related Classes of org.openbravo.erpCommon.utility.ComboTableData

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.