In Dynamics AX it is possible to enter dynamic date ranges for queries e.g. currentDate, day(-1) etc. which can be useful for running a daily report via a scheduled batch job.
The following example uses day(-1) to select Customer tax invoice journal records for yesterday
There are a number of dynamic data query values available in AX 2012, which can be found in the
SysQueryRangeUtil class
No comments:
Post a Comment