Hi,
unfortunately, there's no native way to do so in ube processing options.
But if what you need is to modify a data selection to use a dynamic date, you can easily insert code to your ube to do so. You can, for instance :
- add a numeric processing option to set a number of days to add or substract to current date,
Then, in the initialize event of your main ube section (where data selection is set)
- use the system function :
<font class="small">Code:</font><hr /><pre> Set Selection Append Flag( <Yes>) </pre><hr /> , so you can add a criteria
- if you want to substract days, multiply your processing option by -1 :
<font class="small">Code:</font><hr /><pre>PO mnNumDays_MATH01 = [PO mnNumDays_MATH01*-1 </pre><hr />
- create a date variable, and set it using the function «add_days» :
<font class="small">Code:</font><hr /><pre> rpt_jdDate_URDT= add_days([SL DateToday],[PO mnNumDays_MATH01])</pre><hr />
- add your date criteria to the data selection, using the system function Set User Selection :
<font class="small">Code:</font><hr /><pre>Set User Selection(BC User Reserved Date (F4801), <Greater Than or Equal To>, VA rpt_jdDate_URDT, <And>)</pre><hr />
It works fine, we often use it.