[
https://issues.apache.org/jira/browse/OFBIZ-4953?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13699778#comment-13699778 ]
Deepak Dixit commented on OFBIZ-4953:
-------------------------------------
Hi Sumit,
Thanks for your input.
But we cant removed status valid change for ITEM_COMPLETED to ITEM_APPROVED as this is valid status change. As we have feature to cancel the received item and cancelReceivedItems service mark completed item as approved.
So it is fine to add check in change order item status service to exclude the CANCELLED and COMPLETED item, I'll test the cancelReceivedItems flow and will update patch if needed.
> Order item status change issue.
> -------------------------------
>
> Key: OFBIZ-4953
> URL:
https://issues.apache.org/jira/browse/OFBIZ-4953> Project: OFBiz
> Issue Type: Bug
> Components: order
> Reporter: Deepak Dixit
> Fix For: Release 10.04, Release Branch 11.04, SVN trunk, Release Branch 12.04
>
> Attachments: OFBIZ-4953-R10.04.patch, OFBIZ-4953-R11.04-R12.04.patch, OFBIZ-4953-Trunk.patch
>
>
> Steps to regenerate issue:
> - Crate an SO/PO with more then one line item.
> - Partially ship/received any one order item.
> - After partial ship/receive order should be in approve status, one order item in in completed status and another one is in Approved status.
> - Change order status to hold.
> - Now again approve order.
> - After approve all order order except Completed/cancelled item should go in Approved status.
> But as per the current behavior completed order item also change to approved status.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira