IBM Support

JR39510: CMVC 209489 - CORRECT THE CODE SO THE PROMOTION ARGUMENT IS SERIALIZED CORRECTLY WHEN THERE ARE MULTIPLE ADJUSTMENTS

Direct link to fix

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Not all reward parts of a customized promotion are applied to an
    order.
    
    When loading a promotion execution record from the database
    (stored in the PX_PROMOARG.DETAIL column)
    the XML generated only includes the first Adjustment element.
    
    For example, the code you are using to load the promotion
    argument could be similar to this:
    
    PromotionArgument arg =
    PromotionEngineHome.getDefaultEngine().getPersistenceManagerRegi
    stry().getPromotionArgumentPersistenceManager().load( new
    OrderKey( new Long( orderId )) );
    String xml = arg.toXML());
    

Local fix

Problem summary

  • USERS AFFECTED:
    WebSphere Commerce 6.0 and 7.0 customers that implement
    customizations that require reading the promotion execution
    records
    
    PROBLEM ABSTRACT:
    The promotion argument generated on order completion is
    incorrect when there are multiple adjustments
    
    BUSINESS IMPACT:
    A customization that requires promotion execution records might
    not work as only the first Adjustment is returned
    
    RECOMMENDATION:
    

Problem conclusion

  • With this iFix the code was corrected such that XML generated
    for a promotion argument (using toXML( )) will include all the
    Adjustment records.
    
    
    -------------------------------------------------------------
    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

Comments

APAR Information

  • APAR number

    JR39510

  • Reported component name

    WC BUS DEV ED W

  • Reported component ID

    5724I3900

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-05-03

  • Closed date

    2011-06-24

  • Last modified date

    2011-06-24

  • 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 DEV ED W

  • Fixed component ID

    5724I3900

Applicable component levels

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU055","label":"Cognitive Applications"},"Product":{"code":"SSYT2H","label":"WebSphere Commerce Developer Enterprise"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Line of Business":{"code":"LOB31","label":"WCE Watson Marketing and Commerce"}}]

Document Information

Modified date:
07 December 2021