Is this a bug?
If I generate a report and take the "Selling Price" column from the report and sum it, the result is not the same as the "Total selling prices" reported at the top.
It's off by a few euros for about 100 assets.
Does not seem like a rounding error, but I could not figure out where the discrepancy comes from.
Only difference I could figure out is that the report prints the selling price for each closed lot separately, but internally the code takes the selling price only from the trade row, not using closed lot information.
Still why this produces the difference, I couldn't figure out.
Is this a bug?
If I generate a report and take the "Selling Price" column from the report and sum it, the result is not the same as the "Total selling prices" reported at the top.
It's off by a few euros for about 100 assets.
Does not seem like a rounding error, but I could not figure out where the discrepancy comes from.
Only difference I could figure out is that the report prints the selling price for each closed lot separately, but internally the code takes the selling price only from the trade row, not using closed lot information.
Still why this produces the difference, I couldn't figure out.