You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Hans Bakker <ma...@antwebsystems.com> on 2010/05/03 08:49:54 UTC

if purchase shipment received is more then ordered no invoice created.

For the purchase order specialist.

When a purchase order is created and approved and the related shipment
is sent to the appropriate warehouse there is a problem when the
quantities are more than was ordered: no invoice is generated.

In the ShipmentServices.java when the quantities are not the same in the
service updatePurchaseShipmentFromReceipt in line 916 the service will
successfully return and but will not update the shipment status and no
invoice will be created.

Removing the lines 916 and 917 will fix the invoice creation problem,
however why are these 2 lines in here?

Any specialist in this area can help me out on this?

Thanks in advance,

regards,
Hans

-- 
Ofbiz on twitter: http://twitter.com/apache_ofbiz
Myself on twitter: http://twitter.com/hansbak
Antwebsystems.com: Quality services for competitive rates.


Re: if purchase shipment received is more then ordered no invoice created.

Posted by Hans Bakker <ma...@antwebsystems.com>.
Thank you Vikas for your reply and pointing to this solution.

Regards,
Hans

On Tue, 2010-05-04 at 13:26 +0530, Vikas Mayur wrote:
> Hans,
> 
> In this particular case you just need to force the system to set the  
> shipment status to Received i.e PURCH_SHIP_RECEIVED
> 
> You can do this by selecting the checkbox "Set Shipment as Received"  
> on Receive Inventory screen.
> 
> This will change the quantity on OrderItem and ShipmentItem to the  
> quantity received and will create the invoice for the actual quantity  
> received.
> 
> Regards
> Vikas
> 
> On May 3, 2010, at 12:19 PM, Hans Bakker wrote:
> 
> > For the purchase order specialist.
> >
> > When a purchase order is created and approved and the related shipment
> > is sent to the appropriate warehouse there is a problem when the
> > quantities are more than was ordered: no invoice is generated.
> >
> > In the ShipmentServices.java when the quantities are not the same in  
> > the
> > service updatePurchaseShipmentFromReceipt in line 916 the service will
> > successfully return and but will not update the shipment status and no
> > invoice will be created.
> >
> > Removing the lines 916 and 917 will fix the invoice creation problem,
> > however why are these 2 lines in here?
> >
> > Any specialist in this area can help me out on this?
> >
> > Thanks in advance,
> >
> > regards,
> > Hans
> >
> > -- 
> > Ofbiz on twitter: http://twitter.com/apache_ofbiz
> > Myself on twitter: http://twitter.com/hansbak
> > Antwebsystems.com: Quality services for competitive rates.
> >
> 

-- 
Ofbiz on twitter: http://twitter.com/apache_ofbiz
Myself on twitter: http://twitter.com/hansbak
Antwebsystems.com: Quality services for competitive rates.


Re: if purchase shipment received is more then ordered no invoice created.

Posted by Vikas Mayur <vi...@hotwaxmedia.com>.
Hans,

In this particular case you just need to force the system to set the  
shipment status to Received i.e PURCH_SHIP_RECEIVED

You can do this by selecting the checkbox "Set Shipment as Received"  
on Receive Inventory screen.

This will change the quantity on OrderItem and ShipmentItem to the  
quantity received and will create the invoice for the actual quantity  
received.

Regards
Vikas

On May 3, 2010, at 12:19 PM, Hans Bakker wrote:

> For the purchase order specialist.
>
> When a purchase order is created and approved and the related shipment
> is sent to the appropriate warehouse there is a problem when the
> quantities are more than was ordered: no invoice is generated.
>
> In the ShipmentServices.java when the quantities are not the same in  
> the
> service updatePurchaseShipmentFromReceipt in line 916 the service will
> successfully return and but will not update the shipment status and no
> invoice will be created.
>
> Removing the lines 916 and 917 will fix the invoice creation problem,
> however why are these 2 lines in here?
>
> Any specialist in this area can help me out on this?
>
> Thanks in advance,
>
> regards,
> Hans
>
> -- 
> Ofbiz on twitter: http://twitter.com/apache_ofbiz
> Myself on twitter: http://twitter.com/hansbak
> Antwebsystems.com: Quality services for competitive rates.
>