Page 2 of 2

Re: Calculated column PHP

Posted: Fri Aug 09, 2019 11:19 am
by Lech Kulikowski
Hello,

We need some time to investigate the issue.

Thank you.

Re: Calculated column PHP

Posted: Tue Jan 14, 2020 10:13 am
by mrossi
Hi, is there any news? Because in the meantime we bought the PHP license and now we need this bug to be fixed...

Re: Calculated column PHP

Posted: Tue Jan 14, 2020 12:12 pm
by Andrew
Hello Mario,

My team says this will not be possible. In JS it is very complicated task to implement. Since there is no compilation, this won't work.

Thank you for understanding.

Re: Calculated column PHP

Posted: Thu Jan 16, 2020 3:07 pm
by mrossi
Hi Andrew,

thanks for the reply. If the PHP version is a "porting" of the .NET version, I can understand the problem in rewriting it. Given the answer, I tried to rewrite the in line if with assignment on the fly in all possible ways that came to mind and in the end I found one that is interpreted.

rendTempY == - 9999999999? rendTempY = 100: rendTempY = rendTempY * Exp (this.ptfRetY.PtfPerf)

can be written as...

rendTempY = (rendTempY == - 9999999999? 100: Exp (this.ptfRetY.PtfPerf) * rendTempY)

...and it works

There is a further strange thing that should be mentioned ... if I invert the multiplication factors in the second case, the validator gives an error.

Example:
Exp (this.ptfRetY.PtfPerf) * rendTempY) // OK
rendTempY * Exp (this.ptfRetY.PtfPerf) // KO

and validation seems to give error in all cases where there is any mathematical function as the second factor, not only Exp()...

However, I don't need this but I just wanted to let you know ;)

Re: Calculated column PHP

Posted: Sun Jan 19, 2020 9:59 pm
by Lech Kulikowski
Hello,

Thank you for the provided information.

Thank you.