You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Deepak Agarwal <da...@gmail.com> on 2013/02/05 19:41:08 UTC

Shouldn't issueOrderItemShipGrpInvResToShipment always update the invoice ?

I have a scenario:

An Order has 2 order item. I packed one of them and clicked on 'complete
pack'. It creates the shipment and invoice (and rest of the stuff).

Now, I want to add the remaining order item to this shipment which I can do
from "facility/control/AddItemsFromOrder?shipmentId=<id>"(It triggers
issueOrderItemShipGrpInvResToShipment )  but this only modifies the
shipment. My invoice still shows one product (though this shipment has 2
products).

-- 
Thanks,
Deepak Agarwal,

Mobile: +91 9501190044

Re: Shouldn't issueOrderItemShipGrpInvResToShipment always update the invoice ?

Posted by Vikas Mayur <vi...@gmail.com>.
You won't be able to issue items to the shipment that is already in packed status. There is a service that check the status of shipment which is called inline in the method you indicated.

The right way would be create another shipment for the ship group, issue item to the new shipment which will generate a new invoice for the other item on your order.

Regards
Vikas

On Feb 6, 2013, at 12:11 AM, Deepak Agarwal wrote:

> I have a scenario:
> 
> An Order has 2 order item. I packed one of them and clicked on 'complete
> pack'. It creates the shipment and invoice (and rest of the stuff).
> 
> Now, I want to add the remaining order item to this shipment which I can do
> from "facility/control/AddItemsFromOrder?shipmentId=<id>"(It triggers
> issueOrderItemShipGrpInvResToShipment )  but this only modifies the
> shipment. My invoice still shows one product (though this shipment has 2
> products).
> 
> -- 
> Thanks,
> Deepak Agarwal,
> 
> Mobile: +91 9501190044


Re: Shouldn't issueOrderItemShipGrpInvResToShipment always update the invoice ?

Posted by Jacques Le Roux <ja...@les7arts.com>.
If you can reproduce on trunk demo (or if you use a not modified version) please open a Jira with all the detailled steps (products ordered, etc.)

Thanks

Jacques

From: "Deepak Agarwal" <da...@gmail.com>
>I have a scenario:
> 
> An Order has 2 order item. I packed one of them and clicked on 'complete
> pack'. It creates the shipment and invoice (and rest of the stuff).
> 
> Now, I want to add the remaining order item to this shipment which I can do
> from "facility/control/AddItemsFromOrder?shipmentId=<id>"(It triggers
> issueOrderItemShipGrpInvResToShipment )  but this only modifies the
> shipment. My invoice still shows one product (though this shipment has 2
> products).
> 
> -- 
> Thanks,
> Deepak Agarwal,
> 
> Mobile: +91 9501190044
>