webERP Forum

Full Version: Purchase Order line items disappear
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
In some instances when Purchase Order has been modify, the original order line items disappears.
example:
New Purchase order created with:
Line item1
Line item2
Print Purchase order.

The Purchase order is modified:
Line item1
Line item2
Line item3
Print Purchase order all 3 Line item

Receive the purchase order or modify again, only line item3 is visible
Line item3

I track this down to purchorderdetails.completed field, for some reason, flipped from 0 to 1.
The file PO_Items.php somehow updated purchorderdetails.completed to 1.

This happens randomly. I have this problem for a long time, always blame to person who is entering data....
Is this known issue, or just me?
weberp 4.15.1
Thanks
Srdjan
Thanks for the report and details, will need to investigate.
I cannot replicate this.

PO_Items.php is set to only update the completed field when the following conditions evaluate to TRUE:

($POLine->Quantity==$POLine->QtyReceived)

so when the quantity on order equals the quantity received. Are either of these quantity fields getting updated wrongly?

Tim