use of eu.ggnet.dwoss.stock.ee.entity.StockTransaction in project dwoss by gg-net.
the class SupportBean method rollOut.
public StockUnit rollOut(int uniqueUnitId) {
StockUnit stockUnit2 = stockUnitEao.findByUniqueUnitId(uniqueUnitId);
StockTransaction rollOut = stockTransactionEmo.requestRollOutPrepared(stockUnit2.getStock().getId(), "JUnit", "JUnit");
rollOut.addUnit(stockUnit2);
stockTransactionEmo.completeRollOut("JUnit", Arrays.asList(rollOut));
return stockUnit2;
}
Aggregations