Initialize parameter value in store procedure by Report.js
Posted: Sat Jun 13, 2020 3:44 am
Hi,
How do we add a parameter for a store procedure in JS report, I have tried using the variable
in which I have added the variable and initialized the variable to parameter in MRT report
and used below code
report.dictionary.variables.getByName("MAWBnumber").valueObject = "14141411";
but I am getting following error in console
"Procedure or function 'StimulusTest' expects parameter '@MAWBNumber', which was not supplied."
There is no sample/example available for JS report with parameter.
I have tried referring Programming manual
and referred github source code as well but I didn't got any solution
Thank You,
Sumit
How do we add a parameter for a store procedure in JS report, I have tried using the variable
in which I have added the variable and initialized the variable to parameter in MRT report
and used below code
report.dictionary.variables.getByName("MAWBnumber").valueObject = "14141411";
but I am getting following error in console
"Procedure or function 'StimulusTest' expects parameter '@MAWBNumber', which was not supplied."
There is no sample/example available for JS report with parameter.
I have tried referring Programming manual
and referred github source code as well but I didn't got any solution
Thank You,
Sumit