I found the error
It should have stated without the parentheses since it is a stored procedure and not a function
exec stProc 1010,'04-01-2010','04-30-2010',100002
works ok
therefore
create table #TempTable (Item char(30), desc char(30),fDate date,fDate date,Qty int,Location int)
insert into...