IBM Support

JR49398: This fix is to ensure a promotion code is not used multiple times when it's set for one time use.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When a single use promotion code is added to an order, but the
    order is not completed, that same promotion code can be applied
    to other orders until any of the orders is completed.  Once a
    promotion code is added to an order, the order can be completed
    with that code, despite the limit.
    

Local fix

Problem summary

  • When a single use promotion code is added to an order, but the
    order is not completed, that same promotion code can be applied
    to other orders until any of the orders is completed.  Once a
    promotion code is added to an order, the order can be completed
    with that code, despite the limit.
    

Problem conclusion

  • Fixed the way unique promotion codes were redeemed or restored
    when placing an order so that the order_id column in PX_CDUSAGE
    has the correct order id by setting the order id when updating
    the table.
    
    Added a check when removing a unique promotion code from an
    order to prevent a redeemed promotion code from changing status
    which would make the code available again.
    
    Added a new validation task command that is run when submitting
    the order to verify that all unique promotion codes on the order
    are available before placing the order.
    
    -------------------------------------------------------------
    The latest available maintenance information can be obtained
    from the Recommended Fixes for WebSphere Commerce technote:
    http://www.ibm.com/support/docview.wss?rs=3046&uid=swg21261296
    

Temporary fix

  • Set the WaitingPeriodForUniqueCodeRelease in the Promotion FEP
    Configuration (wc-admin-component.xml) to a high value (such as
    1440) to avoid this.
    

Comments

APAR Information

  • APAR number

    JR49398

  • Reported component name

    WC BUS EDITION

  • Reported component ID

    5724I3800

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    YesSpecatt / Pervasive

  • Submitted date

    2014-02-20

  • Closed date

    2014-05-03

  • Last modified date

    2014-09-09

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    WC BUS EDITION

  • Fixed component ID

    5724I3800

Applicable component levels

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSYSYL","label":"WebSphere Commerce Enterprise"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
09 September 2014