IBM Support

JR42636: CMVC 221764 - CHANGE DISCOUNTCALCULATIONCODEAPPLYCMDIMPL BY ADDING A GETDISCOUNTCALUSAGES() METHOD.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as new function.

Error description

  • When calculating a discount  adjustment, adjustments should
    become truncated at a zero if they cross the zero boundary line.
    In cases where custom calculation usages are used, they are not
    considered as part of the zero boundary correction.
    

Local fix

Problem summary

  • USERS AFFECTED:
    Customers who wish to extend the discount framework by adding
    their own custom calculation usages.
    
    PROBLEM ABSTRACT:
    Discount calculations do not consider custom calculation usages
    when correcting adjustments around the zero dollar boundary.
    
    BUSINESS IMPACT:
    New features are added for product extensibility
    
    RECOMMENDATION:
    

Problem conclusion

  • This fix enables an extension point to override the
    getDiscountCalUsages() method in the
    DiscountCalculationCodeApplyCmdImpl class to return a list of
    calculation usages which are defined as 'discount'.  The usages
    returned by this method are used in the zero boundary
    correction, and may include custom calculation usages.
    -------------------------------------------------------------
    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

    JR42636

  • Reported component name

    WC BUS DEV ED W

  • Reported component ID

    5724I3900

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    YesSpecatt / New Function

  • Submitted date

    2012-04-26

  • Closed date

    2012-06-28

  • Last modified date

    2012-06-28

  • 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