Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Purchase Order line items disappear
04-29-2021, 06:37 AM, (This post was last modified: 04-29-2021, 06:47 AM by srdjanm.)
#1
Purchase Order line items disappear
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
Reply
04-29-2021, 01:01 PM,
#2
RE: Purchase Order line items disappear
Thanks for the report and details, will need to investigate.
Reply
05-04-2021, 12:09 AM,
#3
RE: Purchase Order line items disappear
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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)