public void convertFromDaysToHours(BigDecimal numberOfHoursInDay) {
invoicedQuantityType.setValue(WorkTimeUnit.DAYS.toHours(invoicedQuantityType.getValue()));
invoicedQuantityType.setUnitCode(WorkTimeUnit.HOUR_UNIT_CODE);
BigDecimal hourlyPrice = priceType.getPriceAmount().getValue().divide(numberOfHoursInDay, 2, RoundingMode.HALF_UP);
PriceAmountType priceAmountType = new PriceAmountType();
priceAmountType.setValue(hourlyPrice);
priceAmountType.setCurrencyID(priceType.getPriceAmount().getCurrencyID());
priceType.setPriceAmount(priceAmountType);
}