[
https://issues.apache.org/jira/browse/OFBIZ-11185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Suraj Khurana closed OFBIZ-11185.
---------------------------------
Fix Version/s: Upcoming Branch
Resolution: Implemented
Thanks Amit Gadaley for providing the patch.
> 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
> Assignee: Suraj Khurana
> Priority: Major
> Fix For: Upcoming Branch
>
> Attachments: OFBIZ-11185.patch
>
>
> 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.4#803005)