Hi All,
I ran into an issue with the Order Register report specifically (tested in other reports and they act accordingly).
The $TotalAmount in the Footer does not pick up Return orders as negative values.
Even after modifying the Line level (Header of Group 1) Section, the values were represented as negative on the line level but are not reflected in the $TotalAmount column. (I created an If statement and multiplied these values by -1:
=IIf([SOOrder.OrderType]='RC',[SOOrder.CuryOrderTotal]*-1, [SOOrder.CuryOrderTotal])
(just an example of the logic behind it.)
The same goes for $TotalLinesAmount and $TotalQTY.
Messing around with the footer level and trying to apply the logic from above just led to the same result or completely overstated amounts.
The logic works in Generic Inquiries and their Totals Aggregate functions.
Am I missing something here?
Did somebody encounter a similar issue before?