IBM Support

JR51579: Per-unit discount calculations may result in item subtotal calcu lating incorrectly.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Per-unit discount distributions may be imprecise when applied to
    the affected items in the cart. When calculating the order
    subtotal,
    this imprecision may compound, yielding an incorrect subtotal
    value.
    

Local fix

Problem summary

  • USERS AFFECTED:
    All WebSphere Commerce customers who use
    subtotal promotions
    
    PROBLEM ABSTRACT:
    Per-unit discount
    calculations may result in item subtotal calculating
    incorrectly.
    
    BUSINESS IMPACT:
    Business users may not be able to
    get the precise discount distributions among each product
    

Problem conclusion

  • When distributing a discount across cart items, the order of
    calculation yields more accurate distribution when the order of
    calculations changes.  The degree of rounding error by
    performing the multiplication prior to division is reduced.
    
    The
    code was changed to reflect this.
    -------------------------------------------------------------
    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

    JR51579

  • 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

    2014-10-21

  • Closed date

    2014-12-02

  • Last modified date

    2014-12-04

  • 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:
11 December 2021