Issue with SUM in sql template
This query works fine if the rows are available an produce the correct result.
But for conditions that the rows are 0,
boPending
and notLocked
result in null
I tried
but the result is same.
Is there any issue related to this that I can follow?
Are there any alteranitives using query builer instead of sql template?1 Reply
There is no such issue to my knowledge. Can you run the raw query and produces your expected results?