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

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

Yes this is good point. By reading description it seems that in this particular 
use case, any received (Purchase Order) or partially shipped(Sales Order) ends 
up receiving & shipping items respectively. And possibly it ends up invoicing 
as well. So for all practical purpose (and also based on previous experience 
with few customer engagements), such orders even if cancelled has completed 
certain transaction with supplier/customers and hence business generally might 
not like to consider them as cancelled. 

As far as reporting is concerned, we can definitely bring up all fully 
cancelled orders(which are fully un-received/un-shipped) and if i am getting 
the specified  expected behavior correctly then could also use 
OrderItem.cancelQuantity vis-a-vis OrderItem.quantity to arrive at actual 
cancellation per order(line) item.

> 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