$trans_no = add_stock_adjustment($_SESSION['adj_items']->line_items,
$_POST['StockLocation'], $_POST['AdjDate'], $_POST['type'], $_POST['Increase'],
$_POST['ref'], $_POST['memo_']);
$trans_no = add_stock_adjustment($_SESSION['adj_items']->line_items,
$_POST['StockLocation'], $_POST['AdjDate'], $_POST['type'], $_POST['Increase'],
$_POST['ref'], $_POST['memo_']);