It’s been a while since the last post but here is a useful tip to improve your filtering in Dynamics AX 2009. Thanks to Filip Carnbäck.
If you need to set an advanced filter on an interval you can use the following:
dayRange
monthRange
yearRange
Use dayRange for example like this: (dayRange(-2,2)) This will filter out all transactions two days before today and two days from today. Use monthRange and yearRange in the same way. This feature is among other useful when you setup a report to print in batch and the filter on date must change for each printout.
Also try these features when you filter:
(greaterThanDate(-2))
(lessThanDate(0))