$trans_no = add_stock_transfer($_SESSION['transfer_items']->line_items,
$_POST['FromStockLocation'], $_POST['ToStockLocation'],
$_POST['AdjDate'], $_POST['type'], $_POST['ref'], $_POST['memo_']);
$trans_no = add_stock_transfer($_SESSION['transfer_items']->line_items,
$_POST['FromStockLocation'], $_POST['ToStockLocation'],
$_POST['AdjDate'], $_POST['type'], $_POST['ref'], $_POST['memo_']);