I want to customize the report like this: I want to retrieve the data from the filter before the report say 16 - 30 and so on. How to accomplish it from the request form?
If I select the option of the 16 - 30, all the data except zero are retrieved. If I select the option of the 31 - 46, those records are retrieved, so it is with the rest of the number? Some experts should know how to and please lead me in a right direction. Thanks!
0
Comments
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
The standard aging report has logic to split the values up into the columns, and it includes a section where it sets start and end dates for filtering. What you need to do is translate the selected option to the right start and end dates, and make sure they are pushed to the right column.
RIS Plus, LLC
MVP - Business Apps
The following code is the changes on Report - onprereport()
IF AgingMethod = AgingMethod::"Due Date" THEN BEGIN
PeriodEndingDate[1] := PeriodEndingDate[1] -15;
PeriodEndingDate[2] := PeriodEndingDate[1];
PeriodEndingDate[2] := PeriodEndingDate[1] -1;
PeriodEndingDate[3] := PeriodEndingDate[2] -29;
PeriodEndingDate[4] := PeriodEndingDate[3] -15;
PeriodEndingDate[5] := PeriodEndingDate[4] -15;
END ELSE BEGIN
PeriodEndingDate[1] := PeriodEndingDate[1] -15;
PeriodEndingDate[2] := PeriodEndingDate[1];
PeriodEndingDate[2] := PeriodEndingDate[1] -1;
PeriodEndingDate[3] := PeriodEndingDate[2] -29;
PeriodEndingDate[4] := PeriodEndingDate[3] -15;
PeriodEndingDate[5] := PeriodEndingDate[4] -15;
Please let me know how to do this! Thanks!
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
When someone in the office says, "can I just see what we have over 60"
without having to run the entire report then searching thru 100's of pages to find a value in the "over 60" field.
So I think he want just to see what's open depending on some "days overdue" range.
Is this correct?
http://www.BiloBeauty.com
http://www.autismspeaks.org