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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

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

hans_bakker
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.

Reply | Threaded
Open this post in threaded view
|

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

Vikas Mayur-3
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.
>

Reply | Threaded
Open this post in threaded view
|

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

hans_bakker
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.