6320ch_DEV_post_migration.fm

Draft Document for Review July 28, 2004 7:33 pm

Note: Table 8-1does not show any mapping for the WebSphere Commerce Suite V5.1 ApplyCalculationUsagesCmd command. The reason for this is that this command is not meant to be used independently. Instead, this command is the base class for the rest of the calculation commands mentioned.

Additionally, Table 8-1does not display the calculate usage for coupons as this was not available in WebSphere Commerce Suite V5.1.

It should also be noted that the default WebSphere Commerce V5.6 commands may change in the future. To verify the current command classes for the various calculation usages, execute the following SQL statement:

select calusage_id, taskname from calmethod

where storeent_id=-1 and subclass=12

order by calusage_id desc

Migration

If any of the WebSphere Commerce Suite V5.1 commands of Table 8-1 on page 133 are being referenced or otherwise customized, these must be migrated to use the corresponding WebSphere Commerce V5.6 command.

You can determine if any of these commands have been extended in your WebSphere Commerce Suite V5.1 store by issuing the following SQL:

select * from cmdreg where interfacename like ‘%.Apply%’

If this SQL returns any rows with the INTERFACENAME column equal to one of the WebSphere Commerce Suite V5.1 commands mentioned in “Background” on page 132, you must migrate these as described in this section.

The following instructions show how to migrate a command that extends one of the WebSphere Commerce Suite V5.1 commands into a command that extends the corresponding WebSphere Commerce V5.6 command:

1.Remove the entry in the command registry by issuing the following SQL: delete from cmdreg interfacename=’<wc51interfacename>’

Where <wc51interfacename > is name of the WebSphere Commerce Suite V5.1 command interface name from Table 8-1 on page 133.

In our example, we had a customized version of the ApplyOrderShippingChargesCmd command, so we issued the following SQL:

delete from cmdreg where interfacename=’com.ibm.commerce.fulfillment.commands.ApplyOrderShippingC hargesCmd’

134Keeping Commerce Applications Updated WebSphere Commerce 5.1 to 5.6 Migration Guide

Page 152
Image 152
IBM SG24-6320-00 manual Migration