This is the default implementation of the
NetShippingCalculationScaleLookup command. This command is suitable for calculating tax scales on shipping charges. The values calculated by this command are as follows:
- Base monetary value
- The sum of all the shipping charges for the OrderItems (ORDERITEMS.SHIPCHARGE)
- Look-up number
- The sum of all the shipping charges for the OrderItems (ORDERITEMS.SHIPCHARGE)
- Mathematical weights
- The shipping charge for 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 look-up number is converted to the currency of the calculation scale. The conversion from the calculation scale currency to the order currency must be defined in WebSphere Commerce.