Package org.compiere.process

Examples of org.compiere.process.ProcessInfo


    this.setTitle(m_Name);
    message.setText(m_messageText.toString());
    bOK.setText(Msg.getMsg(Env.getCtx(), "Start"));

    //  Similar to APanel.actionButton
    m_pi = new ProcessInfo(m_Name, m_AD_Process_ID);
    m_pi.setAD_User_ID (Env.getAD_User_ID(Env.getCtx()));
    m_pi.setAD_Client_ID(Env.getAD_Client_ID(Env.getCtx()));
    parameterPanel = new ProcessParameterPanel(m_WindowNo, m_pi);
    centerPanel.removeAll();
    if (parameterPanel.init()) {
View Full Code Here


        trx.rollback();
        return info;
      }
    }
   
    ProcessInfo pi = new ProcessInfo ("", AD_Process_ID);
    pi.setAD_PInstance_ID (instance.getAD_PInstance_ID());

    //  Add Parameters
    MPInstancePara para = new MPInstancePara(instance, 10);
    para.setParameter("Selection", "Y");
    if (!para.save())
View Full Code Here

    cmd_save(false);
    //
    int table_ID = m_curTab.getAD_Table_ID();
    int record_ID = m_curTab.getRecord_ID();
    ProcessInfo pi = new ProcessInfo (getTitle(), AD_Process_ID, table_ID, record_ID);
    pi.setAD_User_ID (Env.getAD_User_ID(m_ctx));
    pi.setAD_Client_ID (Env.getAD_Client_ID(m_ctx));
    pi.setPrintPreview(printPreview);

    ProcessCtl.process(this, m_curWindowNo, pi, null); //  calls lockUI, unlockUI
    statusBar.setStatusLine(pi.getSummary(), pi.isError());
  }   //  cmd_print
View Full Code Here

     
      FormFrame ff = new FormFrame();
      String title = vButton.getDescription();
      if (title == null || title.length() == 0)
        title = vButton.getName();
      ProcessInfo pi = new ProcessInfo (title, vButton.getProcess_ID(), table_ID, record_ID);
      pi.setAD_User_ID (Env.getAD_User_ID(m_ctx));
      pi.setAD_Client_ID (Env.getAD_Client_ID(m_ctx));
      ff.setProcessInfo(pi);
      ff.openForm(form_ID);
      ff.pack();
      AEnv.showCenterScreen(ff);
      return;
View Full Code Here

TOP

Related Classes of org.compiere.process.ProcessInfo

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.