Ok, partially I solved the problem, but still have a question:
The difference between this two tools:
1. In QA: select * from CInventarioAFechaPaso7Agrupar ('01/01/06',1,10000,0,0,0)
2. In ADP: Report.ControlSource = CInventarioAFechaPaso7Agrupar
Report.InputParameters = @FechaInventario...