[ 
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)

Reply via email to