Service products and Order Statuses

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

Service products and Order Statuses

Shereen
Hello
I have a question related to the product and the order statuses
when I go and set up the product as a service does that affect the ordinary flow of the order statuses?
auto approval or auto completion or anything of that kind?
I've looked through the secas but I couldn't find it
I've already made some customization regarding the order statuses and their changes anhd all worked fine with me when I was using the finished good products but something very strange happened.
the odrer changes from approved to completed then to approved again
and this causes me a problem really in the subscriptions table because I've made products like Gizmo new letter and it seems the subscription records are created upon the approval or the order so when the order  passes two approval two records are created
any help please?
Reply | Threaded
Open this post in threaded view
|

Re: Service products and Order Statuses

Jacques Le Roux
Administrator
Did you read https://cwiki.apache.org/confluence/display/OFBIZ/Subscription ?

Jacques

From: "Shereen" <[hidden email]>

> Hello
> I have a question related to the product and the order statuses
> when I go and set up the product as a service does that affect the ordinary
> flow of the order statuses?
> auto approval or auto completion or anything of that kind?
> I've looked through the secas but I couldn't find it
> I've already made some customization regarding the order statuses and their
> changes anhd all worked fine with me when I was using the finished good
> products but something very strange happened.
> the odrer changes from approved to completed then to approved again
> and this causes me a problem really in the subscriptions table because I've
> made products like Gizmo new letter and it seems the subscription records
> are created upon the approval or the order so when the order  passes two
> approval two records are created
> any help please?
> --
> View this message in context: http://ofbiz.135035.n4.nabble.com/Service-products-and-Order-Statuses-tp3241751p3241751.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>

Reply | Threaded
Open this post in threaded view
|

Re: Service products and Order Statuses

Shereen
Thanks for your reply
And sorry for being late but this is due to unexpected conditions in Egypt

I've checked the url but unfortunately this doesn't have enough to help me
I'm talking about the order status flow
is there any listener or method that change the order status to approved or completed when the product type is a service product
The handling of the order statuses is different in case the product is service
Another important thing to mention is that I tried to go back to 9.04 and test it (make an order on Gizmo news letter which is linked to subscription resource and to its type is service
I created the order then tried to approve it,I faced an exception "Can't change from order completed to order approved"
does anyone have a clue what happens?
Reply | Threaded
Open this post in threaded view
|

Re: Service products and Order Statuses

Jacques Le Roux-3
Please Shereen, if you use Nabble (instead of a mail client), don't forget to quote the last message (or relevant part). Else we
don't have the context...

Look for <eca service="changeOrderStatus" in *eca* files
In R9.04 maybe a StatusValidChange entity was missing

Jacques

From: "Shereen" <[hidden email]>

> Thanks for your reply
> And sorry for being late but this is due to unexpected conditions in Egypt
>
> I've checked the url but unfortunately this doesn't have enough to help me
> I'm talking about the order status flow
> is there any listener or method that change the order status to approved or
> completed when the product type is a service product
> The handling of the order statuses is different in case the product is
> service
> Another important thing to mention is that I tried to go back to 9.04 and
> test it (make an order on Gizmo news letter which is linked to subscription
> resource and to its type is service
> I created the order then tried to approve it,I faced an exception "Can't
> change from order completed to order approved"
> does anyone have a clue what happens?
> --
> View this message in context: http://ofbiz.135035.n4.nabble.com/Service-products-and-Order-Statuses-tp3241751p3262640.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>


Reply | Threaded
Open this post in threaded view
|

Re: Service products and Order Statuses

BJ Freeman
In reply to this post by Shereen

since you did not include the URL I have no reference.
I answer to many to remember what was said. I depend on the history
being included.
there are no "listener" in ofbiz. the closest thing that come close in
functionality are ECA.
There has been some code changes from the original design, but I still
use the original.
there are entity with status in the name you can search through the web
tools.
check out how StatusValidChange entity is used.

=========================
BJ Freeman
Strategic Power Office with Supplier Automation  <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
Specialtymarket.com  <http://www.specialtymarket.com/>
Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man

Shereen sent the following on 2/6/2011 1:33 AM:

>
> Thanks for your reply
> And sorry for being late but this is due to unexpected conditions in Egypt
>
> I've checked the url but unfortunately this doesn't have enough to help me
> I'm talking about the order status flow
> is there any listener or method that change the order status to approved or
> completed when the product type is a service product
> The handling of the order statuses is different in case the product is
> service
> Another important thing to mention is that I tried to go back to 9.04 and
> test it (make an order on Gizmo news letter which is linked to subscription
> resource and to its type is service
> I created the order then tried to approve it,I faced an exception "Can't
> change from order completed to order approved"
> does anyone have a clue what happens?