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

Swapnil Shah commented on OFBIZ-7300:
-------------------------------------

Yes we can do that but i am not too sure it would fully resolve the issue. For 
instance, if an order has a line item itself partially received i.e. say out of 
5 units ordered, only 2 units are received. And if now user is attempting to 
cancel the order then this order line item (should) still be moved to Completed 
state as it has been already invoiced by vendor. So possibly, at that point of 
time only way to know how many were cancelled is by looking up cancel quantity.

Secondly, if few line themselves (or some of the ordered qty from any specific 
order line) were already cancelled even before first receipt for order then 
also would we call it Partially Completed as in such scenario user would be 
actually expecting to see the order as 'Completed'.

Apart from it from UX perspective as well, i reckon button label 'Cancel Order' 
is also somewhat misleading. We can try renaming the 'Cancel Order' button to 
'Cancel Remaining Order' if order is partially received. And same rule could be 
applied for Sales Order as well if order is partially shipped (as in all these 
sense i think this ticket has lot of similarity with OFBIZ-7299)


> partial received orders are getting cancelled using cancel option over order 
> header 
> ------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-7300
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-7300
>             Project: OFBiz
>          Issue Type: Bug
>            Reporter: Ankush Upadhyay
>
> Steps to reproduce:
> 1. Place purchase order with some quantities.
> 2. Receive few quantities.
> 3. Now cancel the order.
> Actual Behaviour:
> Order gets cancelled, status in OrderHeader change to ORDER_CANCELLED and in 
> OrderItem change to ITEM_CANCELLED.
> Expected result:
> Order should mark to ORDER_COMPLETED and item should mark to ITEM_COMPLETED,
> Remaining quantity (unreceived) should be set in OrderItem.cancelQuantity.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to