Examples of DetailCommandId


Examples of sn.unitech.stock.entity.DetailCommandId

      detailCommand=(DetailCommand)listDetailCommand.get(i);
      detailCommand.setCommande(commande);
      detailCommand.setPrixTotc(detailCommand.getPrixUnitc()*detailCommand.getQteContenant());
      detailCommand.setPrixTotd(detailCommand.getPrixUnitd()*detailCommand.getQteDetail());
      detailCommand.setPrixTot(detailCommand.getPrixTotc()+detailCommand.getPrixTotd());
        detailCommand.setId(new DetailCommandId(commande.getIdCommand(),i));
        detailCommand.setIsLivre("False");
        detailCommand.setSysDate(new Date());
        this.persist(detailCommand,em);
    }
    tx.commit();
View Full Code Here

Examples of sn.unitech.stock.entity.DetailCommandId

        detailCommand.setPrixUnitd(0d);
        if(sysProduit.getQteOpti()-sysProduit.getQntContenant()>-1)
        detailCommand.setQteContenant(sysProduit.getQteOpti()-sysProduit.getQntContenant());
        detailCommand.setQteDetail(0);
        this.cproperties.setUseDetail(Boolean.parseBoolean(sysProduit.getUseDetail()));
        detailCommand.setId(new DetailCommandId());
        detailCommand.setSysProduit(sysProduit);
        detailCommand.setSysAdherent(new SysAdherent(this.getParamsUser().adherent.getIdAdherent()));
        detailCommand.setCodFourn(Integer.parseInt(this.cproperties.idFournisseur));
        detailCommand.setCodUser(getParamsUser().sysUser.getId().getIdUser());
        this.getModelDetailCommande().add(detailCommand)
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.