Package com.swinarta.sunflower.core.model.Stock

Examples of com.swinarta.sunflower.core.model.Stock.StockUpdateReason


    Integer transferId = RequestUtil.getInteger(getRequestAttributes().get("id"));
    Integer userId = RequestUtil.getInteger(getRequestAttributes().get("userid"));
    String type = RequestUtil.getString(getRequestAttributes().get("type"));
   
    boolean toAdd = true;
    StockUpdateReason reason = StockUpdateReason.TR_IN;
   
    if(type.equalsIgnoreCase("out")){
      toAdd = false;
      reason = StockUpdateReason.TR_OUT;
    }else   if(type.equalsIgnoreCase("cancelout")){
View Full Code Here

TOP

Related Classes of com.swinarta.sunflower.core.model.Stock.StockUpdateReason

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.