function calcOrderItemsTotal(order) {
            if (!order) { return 0; }
            try {
                var price = order.orderItems.reduce(function (total, item) {
                    return total + calcItemTotalPrice(item);
                }, 0);
                return order.itemsTotal = roundDollars(price);
            } catch (e) { }
            return order.itemsTotal = 0;
        }
Both calculates and sets the order.itemsTotal *