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

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.

Table 8-1shows 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

ID

Calculation

WebSphere Commerce Suite

WebSphere Commerce

 

usage

V5.1 command

V5.6 command

 

 

 

 

-1

Discount

ApplyOrderAdjustmentsCmd

ApplyCalculationUsageCmd

 

 

 

 

-2

Shipping

ApplyOrderShippingChargesCmd

ApplyShippingCmd

 

 

 

 

-3

Sales Tax

ApplyOrderTaxesCmd

ApplyCalculationUsageCmd

 

 

 

 

-4

Shipping Tax

ApplyOrderTaxesCmd

ApplyCalculationUsageCmd

 

 

 

 

Chapter 8. Post-migration steps

133

Page 151
Image 151
IBM SG24-6320-00 manual Mapping between WebSphere Commerce commands