i'm trying to build a report to sum the invoiced quantities and revenues by customer PER YEAR.
I created this CAL Globals (for year 2016)
Date2016_Start := 010116D;
Date2016_End := 311216D;
//WP2.SETRANGE("Source No.", Customer."No.");
//WP2.CALCSUMS("Sales Amount (Actual)");
//Umsatz_2016 :=WP2."Sales Amount (Actual)";
//Menge_2016 :=WP2."Invoiced Quantity";
I don't get an errormessage when I compile the report, but the report shows the wrong values.
PAGE.RUNMODAL on value entry table shows, that the datefilter isn't set.