[ 
https://issues.apache.org/jira/browse/OFBIZ-4954?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14099780#comment-14099780
 ] 

HotWax Media OFBiz Team commented on OFBIZ-4954:
------------------------------------------------

Test Case:
1. Create an SO/PO.
2. Partially ship/received order item quantity.
3. Edit order and cancel the order item.
Actual Result: System cancel the ordered quantity and ignore the 
shipped/received order item quantity and marked order item as cancelled.
Expected: System cancel the remaining order item quantity instead of canceling 
total order item quantity and mark order item as completed.

Here is the patch for trunk and RB1307.

> Order item quantity cancel issue.
> ---------------------------------
>
>                 Key: OFBIZ-4954
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4954
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: Release Branch 13.07, Release Branch 12.04, Release 
> Branch 11.04, Trunk
>            Reporter: Deepak Dixit
>
> If user partially received an order and then cancel order item, system cancel 
> all the order item quantity.System does not check for shipped/received order 
> item quantity.
> Expected behavior: Only remaining order item quantity should be cancelled and 
> order item should marked as complete with partial received/shipped quantity.
> Steps to regenerate:
> - Crate an SO/PO .
> - Partially ship/received order item quantity.
> - Edit order and cancel the order item.
> - System should cancel the remaining quantity not ordered quantity and should 
> mark order item as Complete because partial order item quantity has been 
> shipped/received.
> But as per the current behavior system cancel the ordered quantity and ignore 
> the shipped/received order item quantity and marked order item as cancelled.
> Thoughts required.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to