Could not initialize process : Incorrect type for parameter
Posted: Fri Mar 18, 2022 11:56 am
Hi,
I got stuck with this little problem and would appreciate any kind of help or advice.
I am executing a subprocess through another process. The master process supplies the subprocess with parameters from data source (cube) variables.
The subprocess then executes CellInctrementN function into different cube.
ExecuteProcessLine:
CellIncremenetN line
I am getting this error:
"Could not initialize process : Incorrect type for parameter 9 ("pnValue") of process "L_OO_JN_6MK_zadavaci_JN_6MK_Vkladaci", string expected"
All the measure elements in TargetCube are numeric. The data source value from the first cube is set as numeric (viz pic1). The parameter in the second cube is set as numeric (viz pic1). I am using CellIncrementN. I have no idea why he would require string value?
Any help or advice?
Data source (First cube, first process): Parameters in subprocess:
I got stuck with this little problem and would appreciate any kind of help or advice.
I am executing a subprocess through another process. The master process supplies the subprocess with parameters from data source (cube) variables.
The subprocess then executes CellInctrementN function into different cube.
ExecuteProcessLine:
Code: Select all
ExecuteProcess('L_OO_JN_6MK_zadavaci_JN_6MK_Vkladaci', 'psVerze', psVerze, 'psMaska', sMaska, 'psRozlozenost', sRozlozenost, 'psZavod', sZavod, 'psDruhyVozu', sDruhy_Vozu, 'psTemata', sTemata, 'psMesic', vsMetrika, 'psMetrika', vsG_OO_JN_6MK, 'pnValue', vnValue);
CellIncremenetN line
Code: Select all
CellIncrementN(pnValue, sTargetCube, vsH_Zeme, vsH_Rozlozenost, vsH_Vozy_6MK, vsG_Zavod, vsG_Druhy_Vozu, vsG_Temata, psMesic, psverze, vsMetrika);
"Could not initialize process : Incorrect type for parameter 9 ("pnValue") of process "L_OO_JN_6MK_zadavaci_JN_6MK_Vkladaci", string expected"
All the measure elements in TargetCube are numeric. The data source value from the first cube is set as numeric (viz pic1). The parameter in the second cube is set as numeric (viz pic1). I am using CellIncrementN. I have no idea why he would require string value?
Any help or advice?
Data source (First cube, first process): Parameters in subprocess: