Hello Mr. Arnoud Buzing,
When I evaluate $InstallationDirectory from Wolframscript, I get
"C:\Program Files\Wolfram Research\Wolfram Finance Platform\3.0"
I was told by Wolfram that WolframScript does not support TextGrid. It only supports Grid. However, if the grid is a bit more elaborate, with multiple columns and rows, it fails when invoked by the WolframScript.
This report template has a grid that is filled with random numbers. When you execute the code in myTest.wls by WolframScript, it will not show up correctly. The file reportFromNotebook.cdf is a CDF generated from a notebook. The same code, when executed via WolframScript results in reportFromScript.cdf. You can see that it is not correct.
Attachments: