Hmmm, that's interesting, I thought I had seen some way to handle excess/overages, when received? I'll double-check, but I could be thinking about some other "receive-related overage" setting, or likely another system.
Tim/Phil, any thoughts on the proposed handling change? The change seems plausible, as the handling that sets 'Completed' at GoodReceived.php, line 483, is:
PHP Code:
if ($OrderLine->ReceiveQty >= ($OrderLine->Quantity - $OrderLine->QtyReceived)){
$SQL = "UPDATE purchorderdetails SET quantityrecd = quantityrecd + '" . $OrderLine->ReceiveQty . "',
stdcostunit='" . $_SESSION['PO'.$identifier]->LineItems[$OrderLine->LineNo]->StandardCost . "',
completed=1
WHERE podetailitem = '" . $OrderLine->PODetailRec . "'";
}
...or could there be some other aspect to this "picture" that I might not be aware?