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.