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

Christian Carlow updated OFBIZ-5346:
------------------------------------

    Description: 
Shipments are currently able to have ship groups with different destination 
issued to them.  This seems like a bug.  Taxes and shipping costs are applied 
incorrectly when invoicing such shipments.

For example, I was able to issue quantity from an OrderItem ShipGroup destined 
to Utah to a Shipment destined for California and when it was invoiced, Utah 
taxes were incorrectly applied.

Is it safe to assume such cases should not occur?

  was:
The "Order Items" page of Shipments allows for ship groups with to be issued to 
the a shipment that doesn't share the same destination contactMechId.

Can anyone think of a reason why ship groups should be allowed to be issued to 
shipments with different destination contactMechIds?

If the two are able to be related without sharing destination contactMechIds 
then invoice item creation code will have to be corrected to account for these 
scenarios because adjustments population is too general and doesn't account for 
the shipGroupSeqId of the adjustment so they are applied incorrectly.

In other words, I had a shipment with a destination to California but was able 
to issue items from a ship group destined for Utah and when the Invoice Items 
were created upon packing the shipment, California tax was applied incorrectly 
to the Utah destined item.


        Summary: Shipments should not be issued ship groups with different 
destinations  (was: Should order item ship groups be issued to shipments with 
different destination contactMechIds?)

> Shipments should not be issued ship groups with different destinations
> ----------------------------------------------------------------------
>
>                 Key: OFBIZ-5346
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5346
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: Release Branch 12.04
>            Reporter: Christian Carlow
>
> Shipments are currently able to have ship groups with different destination 
> issued to them.  This seems like a bug.  Taxes and shipping costs are applied 
> incorrectly when invoicing such shipments.
> For example, I was able to issue quantity from an OrderItem ShipGroup 
> destined to Utah to a Shipment destined for California and when it was 
> invoiced, Utah taxes were incorrectly applied.
> Is it safe to assume such cases should not occur?



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to