The standard sales statistics report when selected the date 01-01-2015 ect. have a column for 'before', '01-01-15 - 31-01-15', '01-02-15 - 28-01-15', '01-03-15 - 31-03-15', 'After'.
I want to make it continue to show all the following 12 months. I know you can extend the periods range so it shows for a period of 3 months, but thats not what i want.
I have tired to change the following code and inserting the fields and the layout, but i had trouble running the report because of a error.
OnPreReport()
CustFilter := Customer.GETFILTERS;
FOR i := 2 TO 4 DO
PeriodStartDate[i + 1] := CALCDATE(PeriodLength,PeriodStartDate[i]);
PeriodStartDate[6] := 31129999D;
How should i change the code in report 112 to be able to show more date periods than the 3 from standard?
Thanks in advance.
*This post is locked for comments
I have the same question (0)