[jira] [Comment Edited] (OFBIZ-4953) Order item status change issue.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Comment Edited] (OFBIZ-4953) Order item status change issue.

Nicolas Malin (Jira)

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

Sumit Pandit edited comment on OFBIZ-4953 at 7/2/13 11:06 AM:
--------------------------------------------------------------

Hello Deepak,

Code in the patch is trying to control order item status changes.

BTW, status changes are kind of requirements which are defined as per business process. OFBiz system provide valid status changes for generic business processes. In OFBiz, the status valid changes are purposely maintained in separate entity to facilitate the business owner to decide the changes in status for custom requirements.

Therefore it is advised to not to validate the status changes at code level by hard coding, let StatusValidChange to decide the valid changes in status of any object.
               
      was (Author: sumitp):
    Hello Deepak,

Code in the patch is trying to control order item status changes.

BTW, status changes are kind of requirements which are defined as per business process. OFBiz system provide valid status changes for generic business processes. Here, The status valid changes are purposely maintained in separate entity to facilitate the business owner to decide the change in status for custom requirements.

Therefore it is advised to not to validate the status changes at code level by hard coding of status, let StatusValidChange to decide the valid changes in status of any object.
                 

> 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