Indeed, the more you discover OFBiz the more it fascinates :)

Yes Rajesh, it has a general applicability.

Thanks and Regards,

*Aditya Sharma* | Enterprise Software Engineer
HotWax Commerce <http://www.hotwax.co/> by HotWax Systems
<http://www.hotwaxsystems.com/>

<https://www.linkedin.com/in/aditya-sharma-78291810a/>


On Mon, May 14, 2018 at 10:26 AM Rajesh Mallah <[email protected]>
wrote:

> Sorry for the  noise , its already there in the said article. thanks.
>
> On Mon, May 14, 2018 at 10:14 AM, Rajesh Mallah <[email protected]>
> wrote:
>
> >
> > Please suggest if everything goes well what could be a valid sequence
> > of status changes from placement of an order to its fulfillment.
> > the name of (some of) the statuses leaves scope for speculation ,
> >
> > i think we may  add one liners expanding each status meaning in the
> article
> >
> https://cwiki.apache.org/confluence/display/OFBIZ/Sales+Order+Management+
> > Process+Overview
> >
> > regds
> > mallah.
> >
> >
> >
> >
> >
> > On Mon, May 14, 2018 at 10:08 AM, Rajesh Mallah <[email protected]
> >
> > wrote:
> >
> >>
> >> Thanks Aditya ,
> >>
> >> OFbiz keeps exceeding my expectations on every respect !
> >>
> >> I could figure out the other valid status changes too. I hope the status
> >> changes have a general applicability and can be borrowed in most
> >> use cases.
> >>
> >>
> >>
> >>
> >> select status_id,status_id_to, transition_name   from
> >> ofbiz.status_valid_change where status_id ilike 'order%'
> >> order by status_id ;
> >>
> >>
> >>     status_id     |   status_id_to   | transition_name
> >> ------------------+------------------+-----------------
> >>  ORDER_APPROVED   | ORDER_SENT       | Send Order
> >>  ORDER_APPROVED   | ORDER_HOLD       | Hold Order
> >>  ORDER_APPROVED   | ORDER_CANCELLED  | Cancel Order
> >>  ORDER_APPROVED   | ORDER_COMPLETED  | Complete Order
> >>  ORDER_APPROVED   | ORDER_PROCESSING | Process Order
> >>  ORDER_COMPLETED  | ORDER_APPROVED   | Approve Order
> >>  ORDER_CREATED    | ORDER_PROCESSING | Process Order
> >>  ORDER_CREATED    | ORDER_CANCELLED  | Cancel Order
> >>  ORDER_CREATED    | ORDER_REJECTED   | Reject Order
> >>  ORDER_CREATED    | ORDER_HOLD       | Hold Order
> >>  ORDER_CREATED    | ORDER_APPROVED   | Approve Order
> >>  ORDER_HOLD       | ORDER_CANCELLED  | Cancel Order
> >>  ORDER_HOLD       | ORDER_PROCESSING | Process Order
> >>  ORDER_HOLD       | ORDER_APPROVED   | Approve Order
> >>  ORDER_PROCESSING | ORDER_HOLD       | Hold Order
> >>  ORDER_PROCESSING | ORDER_REJECTED   | Reject Order
> >>  ORDER_PROCESSING | ORDER_CANCELLED  | Cancel Order
> >>  ORDER_PROCESSING | ORDER_APPROVED   | Approve Order
> >>  ORDER_SENT       | ORDER_COMPLETED  | Order Completed
> >>  ORDER_SENT       | ORDER_CANCELLED  | Order Cancelled
> >> (20 rows)
> >>
> >>
> >>
> >> On Mon, May 14, 2018 at 9:56 AM, Aditya Sharma <
> >> [email protected]> wrote:
> >>
> >>> Hi Rajesh,
> >>>
> >>> In OFBiz valid status changes are handled using StatusValidChange
> entity.
> >>> You can refer applications/datamodel/data/seed/OrderSeedData.xml for
> the
> >>> valid status change data of order.
> >>>
> >>> Currently, ORDER_HOLD, ORDER_APPROVED, ORDER_REJECTED and
> ORDER_CANCELLED
> >>> are the valid status changes available from ORDER_PROCESSING
> >>>
> >>> HTH
> >>> Thanks and Regards,
> >>>
> >>> *Aditya Sharma* | Enterprise Software Engineer
> >>> HotWax Commerce <http://www.hotwax.co/> by HotWax Systems
> >>> <http://www.hotwaxsystems.com/>
> >>>
> >>> <https://www.linkedin.com/in/aditya-sharma-78291810a/>
> >>>
> >>>
> >>> On Mon, May 14, 2018 at 9:35 AM Rajesh Mallah <[email protected]
> >
> >>> wrote:
> >>>
> >>> > Hi ,
> >>> >
> >>> > I am not able to change status of a order , the service
> >>> *changeOrderStatus
> >>> > *
> >>> > says:
> >>> >
> >>> >
> >>> > Could not change order status; status is not a valid change.:
> >>> > [ORDER_PROCESSING] -> [ORDER_SENT]"
> >>> >
> >>> >
> >>> > As per the  Sales Order Management Process Overview
> >>> >
> >>> > https://cwiki.apache.org/confluence/display/OFBIZ/Sales+Orde
> >>> r+Management+
> >>> > Process+Overview
> >>> >
> >>> > Order Status
> >>> > An Order Status is an easy visual indication to alert business about
> >>> the
> >>> > orders requiring actions or not.
> >>> >
> >>> > An Order can have the following status:
> >>> >
> >>> >     Created
> >>> >     Approved
> >>> >     Processing
> >>> >     Sent
> >>> >     Held
> >>> >     Rejected
> >>> >     Completed
> >>> >     Cancelled
> >>> >
> >>> >
> >>> > Can any one pls guide what are the allowed status changes if current
> >>> status
> >>> > is ORDER_PROCESSING
> >>> >
> >>> > regds
> >>> > mallah
> >>> >
> >>>
> >>
> >>
> >
>

Reply via email to