Examples of MRequisition


Examples of org.compiere.model.MRequisition

  {
    //  Specific
    if (p_M_Requisition_ID != 0)
    {
      log.info("M_Requisition_ID=" + p_M_Requisition_ID);
      MRequisition req = new MRequisition(getCtx(), p_M_Requisition_ID, get_TrxName());
      if (!MRequisition.DOCSTATUS_Completed.equals(req.getDocStatus()))
      {
        throw new AdempiereUserError("@DocStatus@ = " + req.getDocStatus());
      }
      MRequisitionLine[] lines = req.getLines();
      for (int i = 0; i < lines.length; i++)
      {
        if (lines[i].getC_OrderLine_ID() == 0)
        {
          process (lines[i]);
View Full Code Here

Examples of org.compiere.model.MRequisition

      m_order.setC_DocTypeTarget_ID();
      m_order.setBPartner(m_bpartner);
      m_order.setM_PriceList_ID(M_PriceList_ID);
       
      // CHANGES START HERE 2/10/2009 rgliddon: Copy details from requisition.
      MRequisition req = new MRequisition(getCtx(), rLine.getM_Requisition_ID(), get_TrxName());
      m_order.setSalesRep_ID(req.getAD_User_ID());
      m_order.setM_Warehouse_ID(req.getM_Warehouse_ID());
      m_order.setDateOrdered(req.getDateDoc());
      m_order.setPriorityRule(req.getPriorityRule());
      // CHANGES END HERE 2/10/2009 rgliddon
   
      //  default po document type
      if (!p_ConsolidateDocument)
      {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.