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 spanning data on different tables) that we will always need 
to enforce them at the business layer: I don't see a big value in adding this 
constraint at the db layer.
We should instead, in my opinion, implement this constraint in the services 
that are responsible for the creation and update of the information in the 
ProductStore

Jacopo


On Nov 27, 2014, at 3:38 PM, Jacques Le Roux  
wrote:


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
<>
We could create a Jira and fill the gap when we get a chance, opinions?

Jacques

Le 27/11/2014 14:51, Hoan dang van a écrit :

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 
wrote:


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 = Y

Other warehouse settings for web store are given here:

http://www.hotwaxmedia.com/apache-ofbiz-blog/diy-configure-ofbiz-warehouse-management/



and for POS stores:

isImmediatelyFulfilled = Y

reserveInventory = N

requireInventory = System avoids this field when reserveInventory = "N". So
you can leave it empty or set it to N.

Items should be immediately issued, skipping reservation process of system.
So ideally, once order is placed it should be marked completed
automatically.


Thanks

--

Divesh Dutta.



On Thu, Nov 27, 2014 at 4:08 PM, Hoan dang van  wrote:


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, Rishi Solanki 
wrote:


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 Solanki
Manager, Enterprise Software Development
HotWax Media Pvt. Ltd.
Direct: +91-9893287847
http://www.hotwaxmedia.com

On Tue, Nov 25, 2014 at 1:01 PM, Hoan dang van 
wrote:


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, Nov 25, 2014 at 6:05 PM, Hoan dang van 

wrote:

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

quantity

that i bought in this order)

When i selected again  Is Immediately Fulfilled Tab is Y , Qty

Shipped

status is 2 and Ship Request status is 0. Then i create a order by

order

component , Order is created but ATP of product that i bought with

this

order, not automatic decrease (equal before i bought )

Can everybody tell me where i do wrong and how to fix it

Thanks





--
Ron Wheeler
President
Artifact Software Inc
email: rwhee...@artifact-software.com
skype: ronaldmwheeler
phone: 866-970-2435, ext 102



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 ideas, I will see later if I get a chance to implement it at 
the DB level.


Jacques

Le 27/11/2014 16:10, Jacopo Cappellato a écrit :

hmmm... in a complex system like OFBiz there are so many configuration 
constraints (even spanning data on different tables) that we will always need 
to enforce them at the business layer: I don't see a big value in adding this 
constraint at the db layer.
We should instead, in my opinion, implement this constraint in the services 
that are responsible for the creation and update of the information in the 
ProductStore

Jacopo


On Nov 27, 2014, at 3:38 PM, Jacques Le Roux  
wrote:


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
<>
We could create a Jira and fill the gap when we get a chance, opinions?

Jacques

Le 27/11/2014 14:51, Hoan dang van a écrit :

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 
wrote:


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 = Y

Other warehouse settings for web store are given here:

http://www.hotwaxmedia.com/apache-ofbiz-blog/diy-configure-ofbiz-warehouse-management/



and for POS stores:

isImmediatelyFulfilled = Y

reserveInventory = N

requireInventory = System avoids this field when reserveInventory = "N". So
you can leave it empty or set it to N.

Items should be immediately issued, skipping reservation process of system.
So ideally, once order is placed it should be marked completed
automatically.


Thanks

--

Divesh Dutta.



On Thu, Nov 27, 2014 at 4:08 PM, Hoan dang van  wrote:


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, Rishi Solanki 
wrote:


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 Solanki
Manager, Enterprise Software Development
HotWax Media Pvt. Ltd.
Direct: +91-9893287847
http://www.hotwaxmedia.com

On Tue, Nov 25, 2014 at 1:01 PM, Hoan dang van 
wrote:


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, Nov 25, 2014 at 6:05 PM, Hoan dang van 

wrote:

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

quantity

that i bought in this order)

When i selected again  Is Immediately Fulfilled Tab is Y , Qty

Shipped

status is 2 and Ship Request status is 0. Then i create a order by

order

component , Order is created but ATP of product that i bought with

this

order, not automatic decrease (equal before i bought )

Can everybody tell me where i do wrong and how to fix it

Thanks





Re: ATP not automatic decrease when a order is created

2014-11-27 Thread Jacopo Cappellato
hmmm... in a complex system like OFBiz there are so many configuration 
constraints (even spanning data on different tables) that we will always need 
to enforce them at the business layer: I don't see a big value in adding this 
constraint at the db layer.
We should instead, in my opinion, implement this constraint in the services 
that are responsible for the creation and update of the information in the 
ProductStore

Jacopo


On Nov 27, 2014, at 3:38 PM, Jacques Le Roux  
wrote:

> 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
> < certain columns based on values in other columns in the row.>>
> We could create a Jira and fill the gap when we get a chance, opinions?
> 
> Jacques
> 
> Le 27/11/2014 14:51, Hoan dang van a écrit :
>> 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 
>> wrote:
>> 
>>> 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 = Y
>>> 
>>> Other warehouse settings for web store are given here:
>>> 
>>> http://www.hotwaxmedia.com/apache-ofbiz-blog/diy-configure-ofbiz-warehouse-management/
>>> 
>>> 
>>> 
>>> and for POS stores:
>>> 
>>> isImmediatelyFulfilled = Y
>>> 
>>> reserveInventory = N
>>> 
>>> requireInventory = System avoids this field when reserveInventory = "N". So
>>> you can leave it empty or set it to N.
>>> 
>>> Items should be immediately issued, skipping reservation process of system.
>>> So ideally, once order is placed it should be marked completed
>>> automatically.
>>> 
>>> 
>>> Thanks
>>> 
>>> --
>>> 
>>> Divesh Dutta.
>>> 
>>> 
>>> 
>>> On Thu, Nov 27, 2014 at 4:08 PM, Hoan dang van  wrote:
>>> 
 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, Rishi Solanki 
 wrote:
 
> 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 Solanki
> Manager, Enterprise Software Development
> HotWax Media Pvt. Ltd.
> Direct: +91-9893287847
> http://www.hotwaxmedia.com
> 
> On Tue, Nov 25, 2014 at 1:01 PM, Hoan dang van 
> wrote:
> 
>> 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, Nov 25, 2014 at 6:05 PM, Hoan dang van 
>> wrote:
 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
>> quantity
 that i bought in this order)
 
 When i selected again  Is Immediately Fulfilled Tab is Y , Qty
> Shipped
 status is 2 and Ship Request status is 0. Then i create a order by
>> order
 component , Order is created but ATP of product that i bought with
> this
 order, not automatic decrease (equal before i bought )
 
 Can everybody tell me where i do wrong and how to fix it
 
 Thanks
 



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
<>
We could create a Jira and fill the gap when we get a chance, opinions?

Jacques

Le 27/11/2014 14:51, Hoan dang van a écrit :

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 
wrote:


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 = Y

Other warehouse settings for web store are given here:

http://www.hotwaxmedia.com/apache-ofbiz-blog/diy-configure-ofbiz-warehouse-management/



and for POS stores:

isImmediatelyFulfilled = Y

reserveInventory = N

requireInventory = System avoids this field when reserveInventory = "N". So
you can leave it empty or set it to N.

Items should be immediately issued, skipping reservation process of system.
So ideally, once order is placed it should be marked completed
automatically.


Thanks

--

Divesh Dutta.



On Thu, Nov 27, 2014 at 4:08 PM, Hoan dang van  wrote:


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, Rishi Solanki 
wrote:


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 Solanki
Manager, Enterprise Software Development
HotWax Media Pvt. Ltd.
Direct: +91-9893287847
http://www.hotwaxmedia.com

On Tue, Nov 25, 2014 at 1:01 PM, Hoan dang van 
wrote:


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, Nov 25, 2014 at 6:05 PM, Hoan dang van 

wrote:

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

quantity

that i bought in this order)

When i selected again  Is Immediately Fulfilled Tab is Y , Qty

Shipped

status is 2 and Ship Request status is 0. Then i create a order by

order

component , Order is created but ATP of product that i bought with

this

order, not automatic decrease (equal before i bought )

Can everybody tell me where i do wrong and how to fix it

Thanks




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 
wrote:

> 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 = Y
>
> Other warehouse settings for web store are given here:
>
> http://www.hotwaxmedia.com/apache-ofbiz-blog/diy-configure-ofbiz-warehouse-management/
>
>
>
> and for POS stores:
>
> isImmediatelyFulfilled = Y
>
> reserveInventory = N
>
> requireInventory = System avoids this field when reserveInventory = "N". So
> you can leave it empty or set it to N.
>
> Items should be immediately issued, skipping reservation process of system.
> So ideally, once order is placed it should be marked completed
> automatically.
>
>
> Thanks
>
> --
>
> Divesh Dutta.
>
>
>
> On Thu, Nov 27, 2014 at 4:08 PM, Hoan dang van  wrote:
>
> > 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, Rishi Solanki 
> > wrote:
> >
> >> 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 Solanki
> >> Manager, Enterprise Software Development
> >> HotWax Media Pvt. Ltd.
> >> Direct: +91-9893287847
> >> http://www.hotwaxmedia.com
> >>
> >> On Tue, Nov 25, 2014 at 1:01 PM, Hoan dang van 
> >> wrote:
> >>
> >> > 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, Nov 25, 2014 at 6:05 PM, Hoan dang van 
> >> > wrote:
> >> > > > 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
> >> > quantity
> >> > > > that i bought in this order)
> >> > > >
> >> > > > When i selected again  Is Immediately Fulfilled Tab is Y , Qty
> >> Shipped
> >> > > > status is 2 and Ship Request status is 0. Then i create a order by
> >> > order
> >> > > > component , Order is created but ATP of product that i bought with
> >> this
> >> > > > order, not automatic decrease (equal before i bought )
> >> > > >
> >> > > > Can everybody tell me where i do wrong and how to fix it
> >> > > >
> >> > > > Thanks
> >> > >
> >> >
> >>
> >
> >
>


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 = Y

Other warehouse settings for web store are given here:
http://www.hotwaxmedia.com/apache-ofbiz-blog/diy-configure-ofbiz-warehouse-management/



and for POS stores:

isImmediatelyFulfilled = Y

reserveInventory = N

requireInventory = System avoids this field when reserveInventory = "N". So
you can leave it empty or set it to N.

Items should be immediately issued, skipping reservation process of system.
So ideally, once order is placed it should be marked completed
automatically.


Thanks

--

Divesh Dutta.



On Thu, Nov 27, 2014 at 4:08 PM, Hoan dang van  wrote:

> 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, Rishi Solanki 
> wrote:
>
>> 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 Solanki
>> Manager, Enterprise Software Development
>> HotWax Media Pvt. Ltd.
>> Direct: +91-9893287847
>> http://www.hotwaxmedia.com
>>
>> On Tue, Nov 25, 2014 at 1:01 PM, Hoan dang van 
>> wrote:
>>
>> > Hi Scott Gray!
>> > I have set up reserve inventory is Y.
>> >
>> >
>> >
>> > On Tue, Nov 25, 2014 at 1:23 PM, Scott Gray > >
>> > 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, Nov 25, 2014 at 6:05 PM, Hoan dang van 
>> > wrote:
>> > > > 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
>> > quantity
>> > > > that i bought in this order)
>> > > >
>> > > > When i selected again  Is Immediately Fulfilled Tab is Y , Qty
>> Shipped
>> > > > status is 2 and Ship Request status is 0. Then i create a order by
>> > order
>> > > > component , Order is created but ATP of product that i bought with
>> this
>> > > > order, not automatic decrease (equal before i bought )
>> > > >
>> > > > Can everybody tell me where i do wrong and how to fix it
>> > > >
>> > > > Thanks
>> > >
>> >
>>
>
>


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, Rishi Solanki 
wrote:

> 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 Solanki
> Manager, Enterprise Software Development
> HotWax Media Pvt. Ltd.
> Direct: +91-9893287847
> http://www.hotwaxmedia.com
>
> On Tue, Nov 25, 2014 at 1:01 PM, Hoan dang van  wrote:
>
> > Hi Scott Gray!
> > I have set up reserve inventory is Y.
> >
> >
> >
> > On Tue, Nov 25, 2014 at 1:23 PM, Scott Gray 
> > 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, Nov 25, 2014 at 6:05 PM, Hoan dang van 
> > wrote:
> > > > 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
> > quantity
> > > > that i bought in this order)
> > > >
> > > > When i selected again  Is Immediately Fulfilled Tab is Y , Qty
> Shipped
> > > > status is 2 and Ship Request status is 0. Then i create a order by
> > order
> > > > component , Order is created but ATP of product that i bought with
> this
> > > > order, not automatic decrease (equal before i bought )
> > > >
> > > > Can everybody tell me where i do wrong and how to fix it
> > > >
> > > > Thanks
> > >
> >
>








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 Solanki
Manager, Enterprise Software Development
HotWax Media Pvt. Ltd.
Direct: +91-9893287847
http://www.hotwaxmedia.com

On Tue, Nov 25, 2014 at 1:01 PM, Hoan dang van  wrote:

> Hi Scott Gray!
> I have set up reserve inventory is Y.
>
>
>
> On Tue, Nov 25, 2014 at 1:23 PM, Scott Gray 
> 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, Nov 25, 2014 at 6:05 PM, Hoan dang van 
> wrote:
> > > 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
> quantity
> > > that i bought in this order)
> > >
> > > When i selected again  Is Immediately Fulfilled Tab is Y , Qty Shipped
> > > status is 2 and Ship Request status is 0. Then i create a order by
> order
> > > component , Order is created but ATP of product that i bought with this
> > > order, not automatic decrease (equal before i bought )
> > >
> > > Can everybody tell me where i do wrong and how to fix it
> > >
> > > Thanks
> >
>


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 
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, Nov 25, 2014 at 6:05 PM, Hoan dang van  wrote:
> > 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 quantity
> > that i bought in this order)
> >
> > When i selected again  Is Immediately Fulfilled Tab is Y , Qty Shipped
> > status is 2 and Ship Request status is 0. Then i create a order by order
> > component , Order is created but ATP of product that i bought with this
> > order, not automatic decrease (equal before i bought )
> >
> > Can everybody tell me where i do wrong and how to fix it
> >
> > Thanks
>


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  wrote:
> 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 quantity
> that i bought in this order)
>
> When i selected again  Is Immediately Fulfilled Tab is Y , Qty Shipped
> status is 2 and Ship Request status is 0. Then i create a order by order
> component , Order is created but ATP of product that i bought with this
> order, not automatic decrease (equal before i bought )
>
> Can everybody tell me where i do wrong and how to fix it
>
> Thanks


[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 
> ---
>
> Key: OFBIZ-5794
> URL: https://issues.apache.org/jira/browse/OFBIZ-5794
> Project: OFBiz
>  Issue Type: Bug
>  Components: order, product, specialpurpose/webpos
>Affects Versions: Trunk
> Environment: Fedora 20
>Reporter: 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 quantity that 
> i bought in this order) 
> When i selected again  Is Immediately Fulfilled Tab is Y , Qty Shipped status 
> is 2 and Ship Request status is 0. Then i create a order by order component , 
> Order is created but ATP of product that i bought with this order, not 
> automatic decrease (equal before i bought )
> Can everybody tell me where i do wrong and how to fix it
> Thanks 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[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 
> ---
>
> Key: OFBIZ-5794
> URL: https://issues.apache.org/jira/browse/OFBIZ-5794
> Project: OFBiz
>  Issue Type: Bug
>  Components: order, product, specialpurpose/webpos
>Affects Versions: Trunk
> Environment: Fedora 20
>Reporter: 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 quantity that 
> i bought in this order) 
> When i selected again  Is Immediately Fulfilled Tab is Y , Qty Shipped status 
> is 2 and Ship Request status is 0. Then i create a order by order component , 
> Order is created but ATP of product that i bought with this order, not 
> automatic decrease (equal before i bought )
> Can everybody tell me where i do wrong and how to fix it
> Thanks 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[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 
> ---
>
> Key: OFBIZ-5794
> URL: https://issues.apache.org/jira/browse/OFBIZ-5794
> Project: OFBiz
>  Issue Type: Bug
>  Components: order, product, specialpurpose/webpos
>Affects Versions: Trunk
> Environment: Fedora 20
>Reporter: 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 quantity that 
> i bought in this order) 
> When i selected again  Is Immediately Fulfilled Tab is Y , Qty Shipped status 
> is 2 and Ship Request status is 0. Then i create a order by order component , 
> Order is created but ATP of product that i bought with this order, not 
> automatic decrease (equal before i bought )
> Can everybody tell me where i do wrong and how to fix it
> Thanks 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


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 quantity
that i bought in this order)

When i selected again  Is Immediately Fulfilled Tab is Y , Qty Shipped
status is 2 and Ship Request status is 0. Then i create a order by order
component , Order is created but ATP of product that i bought with this
order, not automatic decrease (equal before i bought )

Can everybody tell me where i do wrong and how to fix it

Thanks


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  wrote:

> 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) 
> wrote:
>
>>
>> [
>> https://issues.apache.org/jira/browse/OFBIZ-5794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14222857#comment-14222857
>> ]
>>
>> Jacques Le Roux commented on OFBIZ-5794:
>> 
>>
>> Rishi, Hoan Dang Van,
>>
>> If you feel it's ok to change the type of this issue from bug to feature
>> we could change the type and continue here rather than closing and
>> reopening this issue, as you prefer... ;)
>>
>> > ATP not automatic decrease when a order is created
>> > ---
>> >
>> > Key: OFBIZ-5794
>> > URL: https://issues.apache.org/jira/browse/OFBIZ-5794
>> > Project: OFBiz
>> >  Issue Type: Bug
>> >  Components: order, product, specialpurpose/webpos
>> >Affects Versions: Trunk
>> > Environment: Fedora 20
>> >Reporter: 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 quantity that i bought in this order)
>> > When i selected again  Is Immediately Fulfilled Tab is Y , Qty Shipped
>> status is 2 and Ship Request status is 0. Then i create a order by order
>> component , Order is created but ATP of product that i bought with this
>> order, not automatic decrease (equal before i bought )
>> > Can everybody tell me where i do wrong and how to fix it
>> > Thanks
>>
>>
>>
>> --
>> This message was sent by Atlassian JIRA
>> (v6.3.4#6332)
>>
>
>


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) 
wrote:

>
> [
> https://issues.apache.org/jira/browse/OFBIZ-5794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14222857#comment-14222857
> ]
>
> Jacques Le Roux commented on OFBIZ-5794:
> 
>
> Rishi, Hoan Dang Van,
>
> If you feel it's ok to change the type of this issue from bug to feature
> we could change the type and continue here rather than closing and
> reopening this issue, as you prefer... ;)
>
> > ATP not automatic decrease when a order is created
> > ---
> >
> > Key: OFBIZ-5794
> > URL: https://issues.apache.org/jira/browse/OFBIZ-5794
> > Project: OFBiz
> >  Issue Type: Bug
> >  Components: order, product, specialpurpose/webpos
> >Affects Versions: Trunk
> > Environment: Fedora 20
> >Reporter: 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 quantity that i bought in this order)
> > When i selected again  Is Immediately Fulfilled Tab is Y , Qty Shipped
> status is 2 and Ship Request status is 0. Then i create a order by order
> component , Order is created but ATP of product that i bought with this
> order, not automatic decrease (equal before i bought )
> > Can everybody tell me where i do wrong and how to fix it
> > Thanks
>
>
>
> --
> This message was sent by Atlassian JIRA
> (v6.3.4#6332)
>


[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-tabpanel&focusedCommentId=14222857#comment-14222857
 ] 

Jacques Le Roux commented on OFBIZ-5794:


Rishi, Hoan Dang Van,

If you feel it's ok to change the type of this issue from bug to feature we 
could change the type and continue here rather than closing and reopening this 
issue, as you prefer... ;)

> ATP not automatic decrease when a order is created 
> ---
>
> Key: OFBIZ-5794
> URL: https://issues.apache.org/jira/browse/OFBIZ-5794
> Project: OFBiz
>  Issue Type: Bug
>  Components: order, product, specialpurpose/webpos
>Affects Versions: Trunk
> Environment: Fedora 20
>Reporter: 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 quantity that 
> i bought in this order) 
> When i selected again  Is Immediately Fulfilled Tab is Y , Qty Shipped status 
> is 2 and Ship Request status is 0. Then i create a order by order component , 
> Order is created but ATP of product that i bought with this order, not 
> automatic decrease (equal before i bought )
> Can everybody tell me where i do wrong and how to fix it
> Thanks 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[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-tabpanel&focusedCommentId=14222852#comment-14222852
 ] 

Rishi Solanki commented on OFBIZ-5794:
--

Thanks Jacques for quick feedback, on further research I found this may be new 
feature. So I will share the details on user list and proceed accordingly. 
Thanks again!

> ATP not automatic decrease when a order is created 
> ---
>
> Key: OFBIZ-5794
> URL: https://issues.apache.org/jira/browse/OFBIZ-5794
> Project: OFBiz
>  Issue Type: Bug
>  Components: order, product, specialpurpose/webpos
>Affects Versions: Trunk
> Environment: Fedora 20
>Reporter: 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 quantity that 
> i bought in this order) 
> When i selected again  Is Immediately Fulfilled Tab is Y , Qty Shipped status 
> is 2 and Ship Request status is 0. Then i create a order by order component , 
> Order is created but ATP of product that i bought with this order, not 
> automatic decrease (equal before i bought )
> Can everybody tell me where i do wrong and how to fix it
> Thanks 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[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-tabpanel&focusedCommentId=14222849#comment-14222849
 ] 

Jacques Le Roux commented on OFBIZ-5794:


It seems to me that this is not a bug but a feature. If you agree please move 
your question to the user ML http://ofbiz.apache.org/mailing-lists.html and ask 
new questions there. Then close this issue as not a problem, thanks!

> ATP not automatic decrease when a order is created 
> ---
>
> Key: OFBIZ-5794
> URL: https://issues.apache.org/jira/browse/OFBIZ-5794
> Project: OFBiz
>  Issue Type: Bug
>  Components: order, product, specialpurpose/webpos
>Affects Versions: Trunk
> Environment: Fedora 20
>Reporter: 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 quantity that 
> i bought in this order) 
> When i selected again  Is Immediately Fulfilled Tab is Y , Qty Shipped status 
> is 2 and Ship Request status is 0. Then i create a order by order component , 
> Order is created but ATP of product that i bought with this order, not 
> automatic decrease (equal before i bought )
> Can everybody tell me where i do wrong and how to fix it
> Thanks 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[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-tabpanel&focusedCommentId=14222812#comment-14222812
 ] 

Rishi Solanki commented on OFBIZ-5794:
--

[~hoandv]: I'm not very much clear on the flag you have used 
ProductStore.isImmediatelyFulfilled and expecting on order creation a decreased 
atp. Below is some general details which should help you to and then we can 
resolve this ticket if other community members agreed.
- After digging into code, it looks like isImmediatelyFulfilled flag is used in 
production run and if atp is not sufficient and flag is Y, then system run the 
production run to create task so that more products in the system get created. 
System start fulfill the demand asap.
- The atp decrease when system give reservation against order and if the 
isImmediatelyFulfilled  flag is Y then system won't run the reservations. So to 
get the reservation always and decreased atp isImmediatelyFulfilled must be N 
and also ProductStore.reserveInventory flag as Y.

Please set mentioned setting and let us know it works at your end. Better if 
you can share the ProductStore data to better understand the setup and also 
share if your store also do manufacturing on demand.

> ATP not automatic decrease when a order is created 
> ---
>
> Key: OFBIZ-5794
> URL: https://issues.apache.org/jira/browse/OFBIZ-5794
> Project: OFBiz
>  Issue Type: Bug
>  Components: order, product, specialpurpose/webpos
>Affects Versions: Trunk
> Environment: Fedora 20
>Reporter: 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 quantity that 
> i bought in this order) 
> When i selected again  Is Immediately Fulfilled Tab is Y , Qty Shipped status 
> is 2 and Ship Request status is 0. Then i create a order by order component , 
> Order is created but ATP of product that i bought with this order, not 
> automatic decrease (equal before i bought )
> Can everybody tell me where i do wrong and how to fix it
> Thanks 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[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 Type: Bug
  Components: order, product, specialpurpose/webpos
Affects Versions: Trunk
 Environment: Fedora 20
Reporter: 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 quantity that i 
bought in this order) 

When i selected again  Is Immediately Fulfilled Tab is Y , Qty Shipped status 
is 2 and Ship Request status is 0. Then i create a order by order component , 
Order is created but ATP of product that i bought with this order, not 
automatic decrease (equal before i bought )

Can everybody tell me where i do wrong and how to fix it

Thanks 




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)