Re: ATP not automatic decrease when a order is created

2014-11-27 Thread Hoan dang van
Hi Rishi Solanki Yes, I'm using OFBIZ trunk. This is my product store xml However, when I completed order form webpos component (status of order is completed), the quantity of items which I had bought before is imported into Ordered, instead of Ship request. On Wed, Nov 26, 2014 at 5:34 PM,

Re: ATP not automatic decrease when a order is created

2014-11-27 Thread Divesh Dutta
Hi Hoan dang van, isImmediatelyFulfilled and reserveInvetory flags are mutually exclusive, i.e if isImmediatelyFulfilled is set to Y then reserveInventory should always set to N and vice versa. So for web stores/e-commerce stores settings should be : isImmediatelyFulfilled = N reserveInventory

Re: ATP not automatic decrease when a order is created

2014-11-27 Thread Hoan dang van
Thanks Divesh Dutta very much I have just done follow you and system run as I like On Thu, Nov 27, 2014 at 7:39 PM, Divesh Dutta divesh.du...@hotwaxmedia.com wrote: Hi Hoan dang van, isImmediatelyFulfilled and reserveInvetory flags are mutually exclusive, i.e if isImmediatelyFulfilled is

Re: ATP not automatic decrease when a order is created

2014-11-27 Thread Jacques Le Roux
Even though it makes sense, we could maybe add a constraint for that in DB. Unfortunately I don't think this possibility already exists in OFBiz and it depends on DBMS http://www.w3schools.com/sql/sql_check.asp If you define a CHECK constraint on a table it can limit the values in certain

Re: ATP not automatic decrease when a order is created

2014-11-27 Thread Jacques Le Roux
Yes, that's another good solution (though less general, I always prefer to cut issues at their roots. But I must admit I have, at the moment, no time to contribute a change at the Entity Engine level :/ ) I will create a Jira for both solutions (2 Jira issues I mean). Better to keep track of

Re: ATP not automatic decrease when a order is created

2014-11-27 Thread Ron Wheeler
+1 database technology changes but business level constraints are permanent (most of the time) and are usually tied to the real world not technology. On 27/11/2014 10:10 AM, Jacopo Cappellato wrote: hmmm... in a complex system like OFBiz there are so many configuration constraints (even

Re: ATP not automatic decrease when a order is created

2014-11-26 Thread Rishi Solanki
Hoan dang van, As requested on original ticket where you shared this problem, could you please share the complete product store xml data you have setup. It will help us to diagnose the problem you are facing. I'm assuming you are using 13.07 or trunk to setup your store. Best Regards, Rishi

[jira] [Commented] (OFBIZ-5794) ATP not automatic decrease when a order is created

2014-11-24 Thread Rishi Solanki (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-5794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14222812#comment-14222812 ] Rishi Solanki commented on OFBIZ-5794: -- [~hoandv]: I'm not very much clear on the

[jira] [Commented] (OFBIZ-5794) ATP not automatic decrease when a order is created

2014-11-24 Thread Jacques Le Roux (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-5794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14222849#comment-14222849 ] Jacques Le Roux commented on OFBIZ-5794: It seems to me that this is not a bug but

[jira] [Commented] (OFBIZ-5794) ATP not automatic decrease when a order is created

2014-11-24 Thread Rishi Solanki (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-5794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14222852#comment-14222852 ] Rishi Solanki commented on OFBIZ-5794: -- Thanks Jacques for quick feedback, on further

[jira] [Commented] (OFBIZ-5794) ATP not automatic decrease when a order is created

2014-11-24 Thread Jacques Le Roux (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-5794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14222857#comment-14222857 ] Jacques Le Roux commented on OFBIZ-5794: Rishi, Hoan Dang Van, If you feel it's

Re: [jira] [Commented] (OFBIZ-5794) ATP not automatic decrease when a order is created

2014-11-24 Thread Hoan dang van
Thank for your feedback,Rishi. I have done like what you said; however, the result was unchanged On Mon, Nov 24, 2014 at 5:20 PM, Jacques Le Roux (JIRA) j...@apache.org wrote: [

Re: [jira] [Commented] (OFBIZ-5794) ATP not automatic decrease when a order is created

2014-11-24 Thread Hoan dang van
Thank Jacques,Rishi. I agree with your idea about changing the type of this issue from bug to feature. I will create ML about this issue On Tue, Nov 25, 2014 at 11:59 AM, Hoan dang van hoand...@gmail.com wrote: Thank for your feedback,Rishi. I have done like what you said; however, the result

[jira] [Closed] (OFBIZ-5794) ATP not automatic decrease when a order is created

2014-11-24 Thread Hoan Dang Van (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-5794?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hoan Dang Van closed OFBIZ-5794. Resolution: Fixed ATP not automatic decrease when a order is created

ATP not automatic decrease when a order is created

2014-11-24 Thread Hoan dang van
When I configure store in catalog component and i selected Is Immediately Fulfilled Tab is N then i create a order by webpos. The order is completed but when i check this order in order, i appear that the product that i buy, have Qty Shipped status is 0 and Ship Request status is 2 (2 is

[jira] [Reopened] (OFBIZ-5794) ATP not automatic decrease when a order is created

2014-11-24 Thread Hoan Dang Van (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-5794?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hoan Dang Van reopened OFBIZ-5794: -- ATP not automatic decrease when a order is created

[jira] [Closed] (OFBIZ-5794) ATP not automatic decrease when a order is created

2014-11-24 Thread Hoan Dang Van (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-5794?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hoan Dang Van closed OFBIZ-5794. Resolution: Not a Problem ATP not automatic decrease when a order is created

Re: ATP not automatic decrease when a order is created

2014-11-24 Thread Scott Gray
Is your store configured to reserve inventory? It's that setting that causes reservations to be created which in turn to decreases ATP Regards Scott On Tue, Nov 25, 2014 at 6:05 PM, Hoan dang van hoand...@gmail.com wrote: When I configure store in catalog component and i selected Is

Re: ATP not automatic decrease when a order is created

2014-11-24 Thread Hoan dang van
Hi Scott Gray! I have set up reserve inventory is Y. On Tue, Nov 25, 2014 at 1:23 PM, Scott Gray scott.g...@hotwaxmedia.com wrote: Is your store configured to reserve inventory? It's that setting that causes reservations to be created which in turn to decreases ATP Regards Scott On Tue,

[jira] [Created] (OFBIZ-5794) ATP not automatic decrease when a order is created

2014-10-01 Thread Hoan Dang Van (JIRA)
Hoan Dang Van created OFBIZ-5794: Summary: ATP not automatic decrease when a order is created Key: OFBIZ-5794 URL: https://issues.apache.org/jira/browse/OFBIZ-5794 Project: OFBiz Issue