FROM ".TB_PREF."stock_moves
WHERE stock_id='$stockid'
AND loc_code ='$location'
FROM ".TB_PREF."stock_moves
WHERE stock_id='$stockid'
AND loc_code ='$location'
$TransResult = db_query($sql,"No transactions were returned");
return db_fetch($TransResult);
$TransResult = db_query($sql,"No transactions were returned");
return db_fetch($TransResult);
$rep = new FrontReport(_('Inventory Planning Report'), "InventoryPlanning", user_pagesize(), 9, $orientation);
if ($orientation == 'L')
$rep = new FrontReport(_('Inventory Planning Report'), "InventoryPlanning", user_pagesize(), 9, $orientation);
if ($orientation == 'L')
$rep->Font();
$rep->Info($params, $cols, $headers, $aligns);
$rep->Font();
$rep->Info($params, $cols, $headers, $aligns);