Package org.openbravo.erpCommon.utility

Examples of org.openbravo.erpCommon.utility.ComboTableData


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


        ReportCashFlowData.selectAD_Accountingrpt_Element_ID_Double(this, Utility.getContext(this,
            vars, "#AccessibleOrgTree", "ReportCashFlow"), Utility.getContext(this, vars,
            "#User_Client", "ReportCashFlow"), "")));

    try {
      ComboTableData comboTableData = new ComboTableData(vars, this, "TABLEDIR", "AD_Org_ID", "",
          "AD_OrgType_BU_LE", Utility
              .getContext(this, vars, "#AccessibleOrgTree", "ReportCashFlow"), Utility.getContext(
              this, vars, "#User_Client", "ReportCashFlow"), 0);
      Utility.fillSQLParameters(this, vars, null, comboTableData, "ReportCashFlow", "");
      xmlDocument.setData("reportAD_ORG", "liststructure", comboTableData.select(false));
      comboTableData = null;
    } catch (Exception ex) {
      throw new ServletException(ex);
    }
View Full Code Here

    xmlDocument.setParameter("theme", vars.getTheme());
    xmlDocument.setParameter("description", strDescription);
    xmlDocument.setParameter("help", strHelp);

    try {
      ComboTableData comboTableData = new ComboTableData(vars, this, "TABLEDIR",
          "C_ProjectType_ID", "", "Project type service", Utility.getContext(this, vars,
              "#AccessibleOrgTree", ""), Utility.getContext(this, vars, "#User_Client", ""), 0);
      Utility.fillSQLParameters(this, vars, null, comboTableData, "", strProjectType);
      xmlDocument.setData("reportcProjecttypeId", "liststructure", comboTableData.select(false));
      comboTableData = null;
    } catch (Exception ex) {
      throw new ServletException(ex);
    }
View Full Code Here

      xmlDocument.setParameter("dateTo", strDateTo);
    xmlDocument.setParameter("column1", strcolumn1);
      xmlDocument.setParameter("column2", strcolumn2);
      xmlDocument.setParameter("paramMessage", (strMessage.equals("") ? "" : "alert('" + strMessage+ "');"));
    try {
       ComboTableData comboTableData = new ComboTableData(vars, this, "TABLEDIR", "c_bpartner_id","", "", Utility.getContext(this, vars, "#AccessibleOrgTree", "RentalInvoice"), Utility.getContext(this, vars, "#User_Client", "RentalInvoice"), 0);
       Utility.fillSQLParameters(this, vars, null, comboTableData, "RentalInvoice", "");
    xmlDocument.setData("reportC_NAME", "liststructure", comboTableData.select(false));
      comboTableData = null;
    } catch (Exception ex) {
      throw new ServletException(ex);
   
 
View Full Code Here

    xmlDocument.setParameter("dateFromdisplayFormat", vars.getSessionValue("#AD_SqlDateFormat"));
    xmlDocument.setParameter("dateFromsaveFormat", vars.getSessionValue("#AD_SqlDateFormat"));
    xmlDocument.setParameter("dateTodisplayFormat", vars.getSessionValue("#AD_SqlDateFormat"));
    xmlDocument.setParameter("dateTosaveFormat", vars.getSessionValue("#AD_SqlDateFormat"));
    try {
      ComboTableData comboTableData = new ComboTableData(vars, this, "LIST", "",
          "Maintenance type", "", Utility.getContext(this, vars, "#AccessibleOrgTree",
              "UpdateMaintenanceScheduled"), Utility.getContext(this, vars, "#User_Client",
              "UpdateMaintenanceScheduled"), 0);
      Utility.fillSQLParameters(this, vars, null, comboTableData, "UpdateMaintenanceScheduled",
          strMaintType);
      xmlDocument.setData("reportMaintType", "liststructure", comboTableData.select(false));
      comboTableData = null;
    } catch (Exception ex) {
      throw new ServletException(ex);
    }
View Full Code Here

    xmlDocument.setParameter("amountdesc", strOrder);
    xmlDocument.setParameter("mayor", strMayor);
    xmlDocument.setParameter("menor", strMenor);
    xmlDocument.setParameter("comparative", strComparative);
    try {
      ComboTableData comboTableData = new ComboTableData(vars, this, "TABLEDIR", "C_BP_Group_ID",
          "", "", Utility.getContext(this, vars, "#AccessibleOrgTree",
              "ReportMaterialDimensionalAnalysesJR"), Utility.getContext(this, vars,
              "#User_Client", "ReportMaterialDimensionalAnalysesJR"), 0);
      Utility.fillSQLParameters(this, vars, null, comboTableData,
          "ReportMaterialDimensionalAnalysesJR", 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",
              "ReportMaterialDimensionalAnalysesJR"), Utility.getContext(this, vars,
              "#User_Client", "ReportMaterialDimensionalAnalysesJR"), 0);
      Utility.fillSQLParameters(this, vars, null, comboTableData,
          "ReportMaterialDimensionalAnalysesJR", strProductCategory);
      xmlDocument.setData("reportM_PRODUCT_CATEGORYID", "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",
              "ReportMaterialDimensionalAnalysesJR"), Utility.getContext(this, vars,
              "#User_Client", "ReportMaterialDimensionalAnalysesJR"), 0);
      Utility.fillSQLParameters(this, vars, null, comboTableData,
          "ReportMaterialDimensionalAnalysesJR", strCurrencyId);
      xmlDocument.setData("reportC_Currency_ID", "liststructure", comboTableData.select(false));
      comboTableData = null;
    } catch (Exception ex) {
      throw new ServletException(ex);
    }
View Full Code Here

        CashBankOperationsData.selectCashDouble(this, vars.getLanguage(), Utility.getContext(this,
            vars, "#User_Org", "CashBankOperations"), Utility.getContext(this, vars,
            "#User_Client", "CashBankOperations"))));

    try {
      ComboTableData comboTableData = new ComboTableData(vars, this, "TABLEDIR", "AD_Org_ID", "",
          "AD_Org is transactions allowed", Utility.getContext(this, vars, "#User_Org",
              "CashBankOperations"), Utility.getContext(this, vars, "#User_Client",
              "CashBankOperations"), 0);
      Utility.fillSQLParameters(this, vars, null, comboTableData, "CreateAccountingReport", "");
      xmlDocument.setData("reportAD_ORG", "liststructure", comboTableData.select(false));
      comboTableData = null;
    } catch (Exception ex) {
      throw new ServletException(ex);
    }
    /*
     * try { ComboTableData comboTableData = new ComboTableData(vars, this, "TABLEDIR",
     * "C_BankAccount_ID", "", "", Utility.getContext(this, vars, "#User_Org",
     * "CashBankOperations"), Utility.getContext(this, vars, "#User_Client", "CashBankOperations"),
     * 0); Utility.fillSQLParameters(this, vars, null, comboTableData, "CashBankOperations", "");
     * xmlDocument.setData("reportC_BankAccountFrom_ID","liststructure",
     * comboTableData.select(false)); comboTableData = null; } catch (Exception ex) { throw new
     * ServletException(ex); }
     *
     *
     * try { ComboTableData comboTableData = new ComboTableData(vars, this, "TABLEDIR",
     * "C_BankAccount_ID", "", "", Utility.getContext(this, vars, "#User_Org",
     * "CashBankOperations"), Utility.getContext(this, vars, "#User_Client", "CashBankOperations"),
     * 0); Utility.fillSQLParameters(this, vars, null, comboTableData, "CashBankOperations", "");
     * xmlDocument.setData("reportC_BankAccountTo_ID","liststructure",
     * comboTableData.select(false)); comboTableData = null; } catch (Exception ex) { throw new
     * ServletException(ex); }
     *
     *
     * try { ComboTableData comboTableData = new ComboTableData(vars, this, "TABLEDIR",
     * "C_CashBook_ID", "", "", Utility.getContext(this, vars, "#User_Org", "CashBankOperations"),
     * Utility.getContext(this, vars, "#User_Client", "CashBankOperations"), 0);
     * Utility.fillSQLParameters(this, vars, null, comboTableData, "CashBankOperations", "");
     * xmlDocument.setData("reportC_CashFrom_ID","liststructure", comboTableData.select(false));
     * comboTableData = null; } catch (Exception ex) { throw new ServletException(ex); }
     *
     *
     * try { ComboTableData comboTableData = new ComboTableData(vars, this, "TABLEDIR",
     * "C_CashBook_ID", "", "", Utility.getContext(this, vars, "#User_Org", "CashBankOperations"),
     * Utility.getContext(this, vars, "#User_Client", "CashBankOperations"), 0);
     * Utility.fillSQLParameters(this, vars, null, comboTableData, "CashBankOperations", "");
     * xmlDocument.setData("reportC_CashTo_ID","liststructure", comboTableData.select(false));
     * comboTableData = null; } catch (Exception ex) { throw new ServletException(ex); }
     */
    try {
      ComboTableData comboTableData = new ComboTableData(vars, this, "LIST", "",
          "All_Payment Rule", "", Utility.getContext(this, vars, "#AccessibleOrgTree",
              "CashBankOperations"), Utility.getContext(this, vars, "#User_Client",
              "CashBankOperations"), 0);
      Utility.fillSQLParameters(this, vars, null, comboTableData, "CashBankOperations", "");
      xmlDocument.setData("reportPaymentRuleFrom", "liststructure", comboTableData.select(false));
      comboTableData = null;
    } catch (Exception ex) {
      throw new ServletException(ex);
    }

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

View Full Code Here

    xmlDocument.setParameter("dateFromdisplayFormat", vars.getSessionValue("#AD_SqlDateFormat"));
    xmlDocument.setParameter("dateTo", strDateTo);
    xmlDocument.setParameter("dateTodisplayFormat", vars.getSessionValue("#AD_SqlDateFormat"));
    xmlDocument.setParameter("dateTosaveFormat", vars.getSessionValue("#AD_SqlDateFormat"));
    try {
      ComboTableData comboTableData = new ComboTableData(vars, this, "TABLEDIR", "C_CashBook_ID",
          "", "", Utility.getContext(this, vars, "#AccessibleOrgTree", "ReportCashJR"), Utility
              .getContext(this, vars, "#User_Client", "ReportCashJR"), 0);
      Utility.fillSQLParameters(this, vars, null, comboTableData, "ReportCashJR", strCashbook);
      xmlDocument.setData("reportC_CASHBOOK", "liststructure", comboTableData.select(false));
      comboTableData = null;
    } catch (Exception ex) {
      throw new ServletException(ex);
    }
View Full Code Here

        vars.getRole()));
    xmlDocument.setData("reportAD_Org_IDNew", "liststructure", OrganizationComboData.selectCombo(
        this, vars.getRole()));

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

    try {
      ComboTableData comboTableData = new ComboTableData(vars, this, "TABLEDIR", "M_Warehouse_ID",
          "", "", Utility.getContext(this, vars, "#AccessibleOrgTree", "ChangeOrderOrg"), Utility
              .getContext(this, vars, "#User_Client", "ChangeOrderOrg"), 0);
      Utility.fillSQLParameters(this, vars, null, comboTableData, "ChangeOrderOrg", strShipperpath);
      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, "LIST", "",
          "All_Payment Rule", "", Utility.getContext(this, vars, "#AccessibleOrgTree",
              "ChangeOrderOrg"), Utility.getContext(this, vars, "#User_Client", "ChangeOrderOrg"),
          0);
      Utility.fillSQLParameters(this, vars, null, comboTableData, "ChangeOrderOrg", "");
      xmlDocument.setData("reportPaymentRule", "liststructure", comboTableData.select(false));
      comboTableData = null;
    } catch (Exception ex) {
      throw new ServletException(ex);
    }
View Full Code Here

    xmlDocument.setParameter("firstLineHeader", strFirstLineHeader);
    if (log4j.isDebugEnabled())
      log4j.debug("4");

    try {
      ComboTableData comboTableData = new ComboTableData(vars, this, "TABLEDIR", "AD_ImpFormat_ID",
          "", "", Utility.getContext(this, vars, "#AccessibleOrgTree", ""), Utility.getContext(
              this, vars, "#User_Client", ""), 0);
      Utility.fillSQLParameters(this, vars, null, comboTableData, "", "");
      xmlDocument.setData("reportImpFormat", "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.