Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0024236Openbravo ERP03. Procurement managementpublic2013-07-01 16:552013-07-01 16:56
RenateNieuwkoop 
dmiguelez 
normalmajorhave not tried
newopen 
5
3.0MP24.1 
 
Core
No
0024236: Purchase Invoice: Purchase Order reference is incorrectly reflected when lines are for different purchase orders
I have the situation for a return that on a purchase invoice three different lines are reflected:
- the first line from the original PO line
- the second line (negative) from the Return to Vendor order line
- the third line from the replacement PO line
In this case for one purchase invoice, the lines are created from different documents. This means that the purchase order reference field on the purchase invoice header should be blank, since there are 3 different reference document number. What happened was:
- After the first line was added the PO reference of that number was reflected in the header of the purchase invoice
- After adding the second line, the PO reference was set to blank on the purchase invoice (= correct)
- After adding the third line, the PO reference of that third line was reflected in the header of the purchase invoice.

This is incorrect and confusing.
Add a purchase order for a product and a BP. Create the goods receipt.
Add the Return to Vendor for the same product and BP. Create the return to vendor shipment.
Add the replacement purchase order for the same product and BP. Create the goods receipt.
Now enter a purchase invoice header for the BP. Use Create Lines From to add:
- first PO
- return to vendor order
- second PO
see that the reference number is filled out, despite the different numbers on the lines.
Set the field to blank.
No tags attached.
related to defect 0034332 closed rqueralta Purchase Order field is empty in Purchase Invoice header when selecting the Goods Receipt in Create Lines From process 
png POnumberPinv.png (116,357) 2013-07-01 16:55
https://issues.openbravo.com/file_download.php?file_id=6236&type=bug
png

png POnoPOInv2.png (116,433) 2013-07-01 16:56
https://issues.openbravo.com/file_download.php?file_id=6237&type=bug
png
Issue History
2013-07-01 16:55RenateNieuwkoopNew Issue
2013-07-01 16:55RenateNieuwkoopAssigned To => dmiguelez
2013-07-01 16:55RenateNieuwkoopFile Added: POnumberPinv.png
2013-07-01 16:55RenateNieuwkoopModules => Core
2013-07-01 16:55RenateNieuwkoopTriggers an Emergency Pack => No
2013-07-01 16:56RenateNieuwkoopFile Added: POnoPOInv2.png
2016-10-28 11:16ngarciaRelationship addedrelated to 0034332

There are no notes attached to this issue.