Package ch.tocco.nice2.optional.order.impl.service
package ch.tocco.nice2.optional.order.impl.service
-
ClassDescriptiontask that creates an Order_rate for an Orderthis service calculates the Order_rates for an Order, the rules are as follows - the initial_rate is always enforced (if the value exceeds the totalGrossMc then one rate with the value of totalGrossMc is created) - normal rates refers to all rates except an initial_rate if present and the last rate - the minimal_rate is enforced for all normal rates - the rounding is applied to all normal rates - no negative or 0.00 rates are created; therefore the numberOfRates is only a guideline and not enforced if other criteria have to be metused to set the price_sorting field on Article entities