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

Jacopo Cappellato closed OFBIZ-774.
-----------------------------------

    Resolution: Fixed

Ray,

I did more tests and research and now I can confirm you that the issue you are 
reporting was already there before my last change.
In fact, the balance service selects only the items with ATP < 0; for this 
reason, as soon as you have manually changed the ATP to be greater than zero 
(during the second variance) the service was no more considering the current 
item.

However rev. 537119 will fix the issue: please help with tests!!!

Jacopo


> 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