{
/*Now need to check that the order details are the same as they were when they were read
into the Items array. If they've changed then someone else must have altered them */
{
/*Now need to check that the order details are the same as they were when they were read
into the Items array. If they've changed then someone else must have altered them */
// Otherwise if you try to fullfill item quantities separately will give error.
$result = get_po_items($_SESSION['PO']->order_no);
// Otherwise if you try to fullfill item quantities separately will give error.
$result = get_po_items($_SESSION['PO']->order_no);
create_new_po(ST_PURCHORDER, $_GET['PONumber']);
$_SESSION['PO']->trans_type = ST_SUPPRECEIVE;
$_SESSION['PO']->reference = $Refs->get_next(ST_SUPPRECEIVE,
create_new_po(ST_PURCHORDER, $_GET['PONumber']);
$_SESSION['PO']->trans_type = ST_SUPPRECEIVE;
$_SESSION['PO']->reference = $Refs->get_next(ST_SUPPRECEIVE,