[ 
https://issues.apache.org/jira/browse/OFBIZ-774?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12494925
 ] 

Ray Barlow commented on OFBIZ-774:
----------------------------------

I'm not sure if these changes are the cause but it does seem likely. The 
problem is the back order quantity is no longer getting updated properly under 
some conditions.

A simple test is to order more than you have in stock of an item thus placing 
it on backorder. I did this on order:
  https://demo.hotwaxmedia.com/ordermgr/control/orderview?orderId=WSCO10250
initial order qty was 15 with ATP and QOH 10/10 so 5 on back order which was 
shown correctly.

A few simple changes to the inventory item and we get into trouble:
  
https://demo.hotwaxmedia.com/facility/control/EditInventoryItem?inventoryItemId=9012

The first variance change of "Found 2" worked ok and the order was updated to 3 
on backorder, but the second change of "Found 5" left the order item on back 
order 3. Has there been a little to much optimisation on filtering out 
candidates for update?

> balance inventory supports serialized inventory
> -----------------------------------------------
>
>                 Key: OFBIZ-774
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-774
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Improvement
>          Components: product
>            Reporter: Si Chen
>         Assigned To: Jacopo Cappellato
>
> Balance inventory currently does not do anything if the inventory just 
> received is serialized.
> Instead, what should happen is that if a unit of serialized inventory is 
> received and there are non-serialized items with ATP < 0, then it should 
> change the serialized item to Promised and use it to offset the first unit 
> (1.0) of the non-serialized inventory item.
> For example, if we had 5 units on back order (created as a non-serialized 
> inventory item with ATP = -5 and QOH = -5), and 1 unit of serialized 
> inventory comes in, then we should change ATP and QOH of non-serialized item 
> to -4 and the status of serailized inventory item to Promised, and reserve 
> this serialized item against the first order item reserved against the 
> non-serialized inventory item with a quantity of 1.0

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to