[
https://issues.apache.org/jira/browse/OFBIZ-5427?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13853958#comment-13853958
]
Jacques Le Roux commented on OFBIZ-5427:
----------------------------------------
This block of code was introduced with OFBIZ-2109, I have not enough time to
review at the moment
> 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
> Affects Versions: SVN 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.1.4#6159)