Package org.compiere.model

Examples of org.compiere.model.MInventory.completeIt()


          int id = rs.getInt("m_inventory_id");
          MInventory inv = new MInventory(getCtx(), id, get_TrxName());
          log.info("" + inv);
          //if(inv.getDocStatus() != DocAction.STATUS_Completed || inv.getDocStatus() != DocAction.STATUS_Closed)
            //{
            String status = inv.completeIt();
            inv.setDocStatus(status);
            //}
           
            if(p_Post)
              Doc.postImmediate(as, inv.get_Table_ID(), inv.getM_Inventory_ID(), true, get_TrxName());
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.