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

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

I have been testing and would have continued to test and narrow down but I 
needed some sleep! :-)

Sorry I didn't mean to suggest it was the very last commit of this issue that 
caused the problem more something along the way since it started, the first one 
being r514929. Although this jira issue is for serialized inventory 
enhancements some of the changes have been to the balance routine as a whole 
(like the entity queries for negative ATP items) so I thought this issue was 
the best place to start digging.

Anyway thanks for your change I will pull it down and test asap.

> 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