This is the default implementation of the
NetPriceCalculationScaleLookup command. This command is suitable for calculating discounts or shipping scales based on a discounted price. The values calculated by this command are as follows:
- Base monetary value
- The sum of net prices of the OrderItems
- Look-up number
- The sum of net prices of the OrderItems
- Mathematical weights
- The net price of each OrderItem
- Result multiplier
- One
The look-up number is converted to the currency of the calculation scale. If no conversion is possible, this calculation method returns null. Returning null indicates to the calling calculation method that the currency conversion was not possible. The conversion from the calculation scale currency to the order currency must be defined in WebSphere Commerce. For the look-up number need to be converted to the currency of the calculation scale.