We have a quick report that outputs different results when it is sent via a scheduled data base task compared to when it is run manually.
These sums are done using simple “select sum() from table where X” and are listed in rows using union.
As you can see in the table. Only sum 7 and sum 8 are inorrect when using the scheduled quick report. The others are correct.
Any ideas why this might be happening?
Manual output:
sum1 | 1263584 |
sum2 | 8608567 |
sum3 | 4872151 |
sum4 | 55863 |
sum5 | 6525876 |
sum6 | 3413890 |
sum7 | 4532101 |
sum8 | 9021000 |
sum9 | 7553101 |
Scheduled Quick Report:
sum1 | 1263584 |
sum2 | 8608567 |
sum3 | 4872151 |
sum4 | 55863 |
sum5 | 6525876 |
sum6 | 3413890 |
sum7 | 8428850,52 |
sum8 | 9021000 |
sum9 | 11449850,52 |