IBM SG24-6320-00 Marine Radio User Manual


 
Chapter 8. Post-migration steps 133
Draft Document for Review July 28, 2004 7:33 pm 6320ch_DEV_post_migration.fm
com.ibm.commerce.order.utils.ApplyCalculationUsagesCmd
com.ibm.commerce.price.commands.ApplyOrderAdjustmentsCmd
com.ibm.commerce.fulfillment.commands.ApplyOrderShippingChargesCmd
com.ibm.commerce.taxation.commands.ApplyOrderTaxesCmd
Typically, the implementation classes for these commands would be referenced
by the custom implementation, either by extending or other means. If this is the
case, the custom code will have to be modified to work in WebSphere Commerce
V5.6. Even if the custom code does not reference the implementation classes it
is recommended to migrate to the new calculation framework.
In WebSphere Commerce V5.6, customization to the calculation framework
should be done by replacing one of the following task commands:
com.ibm.commerce.order.calculation.ApplyCalculationUsageCmd
com.ibm.commerce.order.calculation.ApplyShippingCmd
Table 8-1 shows the mapping between the WebSphere Commerce Suite V5.1
and WebSphere Commerce V5.6 commands for the different calculation usages.
Table 8-1 Mapping between WebSphere Commerce commands
Note: Placed in different packages but named very similar, the WebSphere
Commerce Suite V5.1 command ApplyCalculationUsagesCmd differs from
the WebSphere Commerce V5.6 command ApplyCalculationUsageCmd.
ID Calculation
usage
WebSphere Commerce Suite
V5.1 command
WebSphere Commerce
V5.6 command
-1 Discount ApplyOrderAdjustmentsCmd ApplyCalculationUsageCmd
-2 Shipping ApplyOrderShippingChargesCmd ApplyShippingCmd
-3 Sales Tax ApplyOrderTaxesCmd ApplyCalculationUsageCmd
-4 Shipping Tax ApplyOrderTaxesCmd ApplyCalculationUsageCmd