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

Divesh Dutta commented on OFBIZ-5427:
-------------------------------------

As Christian mentioned, I also found that, commenting the call to 
positionItemToGroup() prevents the tax adjustments and inventory associations 
from being removed for ship group 1

Need to research more that why this code was introduced. 

> Tax adjustments and inventory association for first ship group removed from 
> existing items when item added to order with more than one ship group
> -------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-5427
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5427
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: Trunk
>            Reporter: Christian Carlow
>
> Adding a new order item to an order with more than one ship group causes the 
> first ship group tax adjustments of existing order items to be removed.  The 
> inventory association for the first ship group of existing order items is 
> also removed
> To reproduce:
> 1.  Create an order for DemoCustCompany
> 2.  Add GZ-1000 and GZ-1001 with a quantity of 6
> 3.  Click "Finalize Order"
> 4.  Add two more ship groups
> 5.  Assign a quantity of 2 to the second ship group and 3 with the third ship 
> group for GZ-1000 and GZ-1001
> 6.  Finalize and complete the order.  Review the order items and notice that 
> there are three sets of sales tax adjustments applied to GZ-1000 and GZ-1001 
> and that the Ordered and Ship Request quantities are set to 6.
> 7.  Click "Edit Items" on the order view page
> 8.  Add GZ-1004 with a quantity of 1 to the order for ship group 00002.  
> After performing this step, review the order items again and notice that the 
> tax adjustments that previously existed for ship group one for GZ-1000 and 
> GZ-1001 are now missing and the Ship Request quantity is now set to 5.
> Once step 8 is complete



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

Reply via email to