IBM Support

JR50501: InvalidDataException while processing refund for oderitems in different sequence in case of partial shipment.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Steps:
    
     1) Ship order items partially (two items, ship one by one).
     2) Return items in reverse sequence.
    
    Observed Results: When return is reversed, during the refund of
    second item InvalidDataException occurs "The parameter amount
    should be  <= 57.75000, but it is 257.25000".
    
    ARefundTaskCmdImpl.mapRuleToBackendForDependentCredit() sets
    wrong amount into the refund actions. In this case with two
    items, it should compose two refund actions:  the first action
    has amount 57.75000 with payment 77003 , the second action has
    amount 199.50000 with payment 77004.
     But now it set the first action amount to be 257.25000 with
    payment 77003, and then it thinks there is no remaining amount
    to be handled, so that it didn't compose the second action. This
    is why it finally get the error " The parameter amount should be
    <= 57.75000, but it is 257.25000."
    
    
    Attach first error message if exist:
    [6/2/14 11:35:57:274 IST] 00000039 WC_EDP        3
    DoPaymentActionsPolicyCmdImpl execute()
    <<< ---------------------------------- Exception
    ------------------------------------- >>>
    level:             0
    class name:        com.ibm.commerce.edp.api.InvalidDataException
    
    [details]
    
    default message:   null
    localized message: The parameter amount should be  <= 57.75000,
    but it is 257.25000.
    message key:       PPC_PARAMETER_AMOUNT_NOTALLOWED
    format arguments:  [  <= 57.75000, 257.25000 ]
    resource bundle:
    com.ibm.commerce.payments.plugincontroller.resourcebundle.PPCMes
    sages
    
    class source:      PluginController
    method source:     createDependentCredit(paymentContext,
    paymentId, amount)
    
    properties:
    locale = en_us
    allowedMaxiumAmount = 57.75000
    amount = 257.25000
    

Local fix

Problem summary

  • USERS AFFECTED:
    Customers using partial shipment.
    
    PROBLEM ABSTRACT:
    InvalidDataException while processing refund for oderitems in
    different sequence in case of partial shipment
    
    BUSINESS IMPACT:
    Note able to refund when using partial shipment
    
    RECOMMENDATION:
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    JR50501

  • Reported component name

    WC BUS EDITION

  • Reported component ID

    5724I3800

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-06-16

  • Closed date

    2014-08-06

  • Last modified date

    2014-08-06

  • 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"},"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