Suraj Khurana created OFBIZ-11185:
-------------------------------------

             Summary: OrderReadHelper.getAvailableOrderHeaderAdjustments 
improvements
                 Key: OFBIZ-11185
                 URL: https://issues.apache.org/jira/browse/OFBIZ-11185
             Project: OFBiz
          Issue Type: Improvement
          Components: order
    Affects Versions: Trunk
            Reporter: Suraj Khurana


We have a helper method in OrderReadHelper named as 
getAvailableOrderHeaderAdjustments which is used to fetch order header 
adjustments available for return.
It should also check for amount, it might possible, orderHeader adjustment was 
of $100 and once a return is created for $20, then available $80 would not 
render while creating second return for the same order.

So instead of checking only for orderAdjustmentId in ReturnAdjustment, it 
should also check for adjustment amount.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to