X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=purchasing%2Fincludes%2Fpurchasing_db.inc;h=86a8418152495d99fe828b55c56c36559fbd853a;hb=e9ad9e87f5eb2682d2e91c93134250fd8a8d2ad9;hp=983085769894f972b327eda71eae97da4fc9dc34;hpb=a2ae0e35302270ae811db2e6acb44c16b186a970;p=fa-stable.git diff --git a/purchasing/includes/purchasing_db.inc b/purchasing/includes/purchasing_db.inc index 98308576..86a84181 100644 --- a/purchasing/includes/purchasing_db.inc +++ b/purchasing/includes/purchasing_db.inc @@ -130,7 +130,7 @@ function get_po_prepayments($supp_trans) FROM ".TB_PREF."supp_allocations allocs LEFT JOIN ".TB_PREF."purch_order_details line ON line.order_no=allocs.trans_no_to AND trans_type_to=".ST_PURCHORDER." WHERE line.po_detail_item IN(".implode(',', array_values($line_ids)).")"; -//_vd($sql); + $result = db_query($sql, "Cannot retrieve po prepayments"); while($dat = db_fetch($result))