Package no.ugland.utransprod.util.report

Examples of no.ugland.utransprod.util.report.SumTakstolOwnOrder


    }

    private void setCostprAndInternalOrderCost(final Map<ProductArea, SumTakstolOwnOrder> sumMap, final Order order) {
        BigDecimal cstpr = ordlnManager.getSumCcstpr(order.getOrderNr(), takstolArticleType
                .getProdCatNo());
        SumTakstolOwnOrder sum = getSum(sumMap, order);
        sum.addNumberOfOrders(1);
        sum.addSumOwnProduction(cstpr);
        sum.addSumInternalOrderCost(order.getCost(COST_TYPE_TAKSTOLER, COST_UNIT_INTERN));
        sumMap.put(order.getProductArea(), sum);
    }
View Full Code Here


        sum.addSumInternalOrderCost(order.getCost(COST_TYPE_TAKSTOLER, COST_UNIT_INTERN));
        sumMap.put(order.getProductArea(), sum);
    }

    private SumTakstolOwnOrder getSum(final Map<ProductArea, SumTakstolOwnOrder> sumMap, final Order order) {
        SumTakstolOwnOrder sum = sumMap.get(order.getProductArea());
        if (sum == null) {
            sum = new SumTakstolOwnOrder(order.getProductArea(), 0, BigDecimal.ZERO,BigDecimal.ZERO);
        }
        return sum;
    }
View Full Code Here

TOP

Related Classes of no.ugland.utransprod.util.report.SumTakstolOwnOrder

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.