Issue fetching correct data
I am trying to fetch data from a database using parameters, but can't seem to figure out the data the parameters hold and how to call them. Basically, when executing the script in JSReport I get a:
"TypeError: Cannot read property 'parameter-name' of undefined", but when executing the script from the database side, the values are shown.
Does anyone have a solution or an idea?
(For security reasons, I don't think I am able to display the code here sadly.)
@hazvick hi! i'm afraid that we won't be able to help so much if we don't see the code that fetch the data, and how it works with the response, according to the error you are describing it seems like a mistake of not using the right variable, this is my best guess without seeing the code