Enabling interim fixes JR49477 and JR49896

Interim fixes JR49477 and JR49896 prevent unique promotion codes from being redeemed multiple times by opening up two sessions using two different browsers. The fixes change the way the Order ID and Promotion Code statuses are stored in PX_CDUSAGE table so that a code cannot be changed out of the redeemed status. A new task command is added to validate that the Unique Promotion Codes that are applied to an order are unused at the time that the order is submitted.

To use the new Unique Promotion Code validation task command, complete the following procedure.

Before you begin

Install the cumulative interim fix for Feature Pack 5, JR53048.fep.

Procedure

  1. Open a connection to your database.
  2. Run the following SQL insert statement:
    Insert into CMDREG (STOREENT_ID,INTERFACENAME,CLASSNAME,TARGET)  VALUES
    (0,'com.ibm.commerce.promotion.facade.server.commands.ValidateUniquePromotionCodesTaskCmd',
    'com.ibm.commerce.promotion.facade.server.commands.ValidateUniquePromotionCodesTaskCmdImpl','Local');