Package org.openbravo.erpCommon.utility

Examples of org.openbravo.erpCommon.utility.ComboTableData


    // //----

    // xmlDocument.setParameter("array", strArray);

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


    String strTax = "";
    if (data != null && data.length > 0)
      strTax = data[0].cTaxId;

    try {
      ComboTableData comboTableData = new ComboTableData(vars, this, "TABLE", "C_Tax_ID", "C_Tax",
          "", Utility.getContext(this, vars, "#AccessibleOrgTree", windowId), Utility.getContext(
              this, vars, "#User_Client", windowId), 0);
      Utility.fillSQLParameters(this, vars, null, comboTableData, windowId, strTax);
      xmlDocument.setData("reportC_Tax_ID", "liststructure", comboTableData.select(false));
      comboTableData = null;
    } catch (Exception ex) {
      throw new ServletException(ex);
    }
View Full Code Here

    if (strMensaje.equals("") && vars.commandIn("SAVE_NEW", "DELETE")) {
      datos.append("new Array(\"LineNo\", \"").append(
          InvoiceVendorMultilineLinesData.selectNextLine(this, data.cInvoiceId)).append("\")\n");
      FieldProvider[] fp = null;
      try {
        ComboTableData comboTableData = new ComboTableData(vars, this, "TABLE", "", "C_Tax", "",
            Utility.getContext(this, vars, "#AccessibleOrgTree", windowId), Utility.getContext(
                this, vars, "#User_Client", windowId), 0);
        Utility.fillSQLParameters(this, vars, null, comboTableData, windowId, "");
        fp = comboTableData.select(false);
        comboTableData = null;
      } catch (Exception ex) {
        throw new ServletException(ex);
      }
View Full Code Here

    xmlDocument.setParameter("sotrx", strSOTrx);
    xmlDocument.setParameter("bpartner", strBpartner);
    xmlDocument.setParameter("mWarehouseId", strmWarehouseId);

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

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

    xmlDocument.setParameter("x", strX);
    xmlDocument.setParameter("y", strY);
    xmlDocument.setParameter("z", strZ);

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

        jsDisablePreviousNext += "disableToolBarButton('linkButtonNext');";
      jsDisablePreviousNext += "}";
      xmlDocument.setParameter("jsDisablePreviousNext", jsDisablePreviousNext);
    }
    try {
      ComboTableData comboTableData = new ComboTableData(vars, this, "LIST", "",
          "C_DocType DocBaseType", "", Utility.getContext(this, vars, "#AccessibleOrgTree",
              "ReportGeneralLedgerJournal"), Utility.getContext(this, vars, "#User_Client",
              "ReportGeneralLedgerJournal"), 0);
      Utility.fillSQLParameters(this, vars, null, comboTableData, "ReportGeneralLedgerJournal",
          strDocument);
      xmlDocument.setData("reportDocument", "liststructure", comboTableData.select(false));
      comboTableData = null;
    } catch (Exception ex) {
      throw new ServletException(ex);
    }
    xmlDocument.setParameter("toolbar", toolbar.toString());
    try {
      WindowTabs tabs = new WindowTabs(this, vars,
          "org.openbravo.erpCommon.ad_reports.ReportGeneralLedgerJournal");
      xmlDocument.setParameter("parentTabContainer", tabs.parentTabs());
      xmlDocument.setParameter("mainTabContainer", tabs.mainTabs());
      xmlDocument.setParameter("childTabContainer", tabs.childTabs());
      xmlDocument.setParameter("theme", vars.getTheme());
      NavigationBar nav = new NavigationBar(this, vars.getLanguage(),
          "ReportGeneralLedgerJournal.html", classInfo.id, classInfo.type, strReplaceWith, tabs
              .breadcrumb());
      xmlDocument.setParameter("navigationBar", nav.toString());
      LeftTabsBar lBar = new LeftTabsBar(this, vars.getLanguage(),
          "ReportGeneralLedgerJournal.html", strReplaceWith);
      xmlDocument.setParameter("leftTabs", lBar.manualTemplate());
    } catch (Exception ex) {
      throw new ServletException(ex);
    }
    {
      OBError myMessage = vars.getMessage("ReportGeneralLedgerJournal");
      vars.removeMessage("ReportGeneralLedgerJournal");
      if (myMessage != null) {
        xmlDocument.setParameter("messageType", myMessage.getType());
        xmlDocument.setParameter("messageTitle", myMessage.getTitle());
        xmlDocument.setParameter("messageMessage", myMessage.getMessage());
      }
    }

    xmlDocument.setParameter("calendar", vars.getLanguage().substring(0, 2));
    xmlDocument.setParameter("document", strDocument);
    xmlDocument.setParameter("cAcctschemaId", strcAcctSchemaId);

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

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

    xmlDocument.setParameter("calendar", vars.getLanguage().substring(0, 2));
    xmlDocument.setParameter("directory", "var baseDirectory = \"" + strReplaceWith + "/\";\n");
    xmlDocument.setParameter("language", "defaultLang=\"" + vars.getLanguage() + "\";");
    xmlDocument.setParameter("theme", vars.getTheme());
    try {
      ComboTableData comboTableData = new ComboTableData(vars, this, "LIST", "",
          "All_Payment Rule", "", Utility.getContext(this, vars, "#AccessibleOrgTree",
              "DebtPayment"), Utility.getContext(this, vars, "#User_Client", "DebtPayment"), 0);
      Utility.fillSQLParameters(this, vars, null, comboTableData, "DebtPayment", "");
      xmlDocument.setData("reportPaymentRule", "liststructure", comboTableData.select(false));
      comboTableData = null;
    } catch (Exception ex) {
      throw new ServletException(ex);
    }
View Full Code Here

      // * Create Trees
      // Get TreeTypes & Name
      FieldProvider[] data = null;
      try {
        ComboTableData comboTableData = new ComboTableData(vars, this, "LIST", "",
            "AD_TreeType Type", "", Utility.getContext(this, vars, "#AccessibleOrgTree",
                "InitialClientSetup"), Utility.getContext(this, vars, "#User_Client",
                "InitialClientSetup"), 0);
        Utility.fillSQLParameters(this, vars, null, comboTableData, "InitialClientSetup", "");
        data = comboTableData.select(false);
        comboTableData = null;
      } catch (Exception ex) {
        throw new ServletException(ex);
      }

View Full Code Here

    // * Create AccountingSchema Elements (Structure)

    FieldProvider[] data1 = null;
    try {
      ComboTableData comboTableData = new ComboTableData(vars, this, "LIST", "",
          "C_AcctSchema ElementType", "", Utility.getContext(this, vars, "#AccessibleOrgTree",
              "InitialClientSetup"), Utility.getContext(this, vars, "#User_Client",
              "InitialClientSetup"), 0);
      Utility.fillSQLParameters(this, vars, null, comboTableData, "InitialClientSetup", "");
      data1 = comboTableData.select(false);
      comboTableData = null;
    } catch (Exception ex) {
      throw new ServletException(ex);
    }

View Full Code Here

    try {
      // Utility.getContext(conn, vars, "#AccessibleOrgTree", windowId,
      // accesslevel)

      ComboTableData comboTableData = new ComboTableData(vars, this, "19", "AD_Org_ID", "", "",
          Utility.getContext(this, vars, "#AccessibleOrgTree", "AccountElementValue"), Utility
              .getContext(this, vars, "#User_Client", "AccountElementValue"), 0);
      Utility.fillSQLParameters(this, vars, null, comboTableData, "AccountElementValue", "");
      xmlDocument.setData("reportAD_Org_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.