Hi there Ü hoping to get some help-
I have a report I am developing where I need it to run M-F (actually will run BOE and dist via email) and I need my open orders to pull in 2 days ahead of the cusotmer requested delivery date i.e,
Ran on Mon pulls in Wed's orders due {VBAK.VDATU}
Ran on Tue pulls in Thur orders due {VBAK.VDATU}
Ran on Wed pulls in Friday orders due {VBAK.VDATU}
Ran on Thur pulls in Sat, Sun and Mon orders due {VBAK.VDATU}
Ran on Fri pulls in Tues orders due {VBAK.VDATU}
I've been messing around with a few different ideas but none will pullin the Sat, Sun. Mon range into Thursday's report, I only get Monday.
Here is what I currently have
Formula name = @Adj Current Date
IF DayOfWeek (currentdate)=5 THEN currentdate+4 ELSE
IF DayOfWeek (currentdate)=6 THEN currentdate+4 ELSE
IF DayOfWeek (currentdate)=7 THEN currentdate+3 ELSE currentdate+ 2
and then this Boolean
{@Adj Current Date}={VBAK.VDATU} is a True/False where it = True
If I were running adhoc I would just say where {VBAK.VDATU}= (date(s) I was trying to pullin), easypeasy.....but this needs to run via BOE so it needs to be published.
Any help would be greatly appreciated. I have been at this for days and think I am just over thinking this whole thing....uggggg
Thanks!! Ü
I have a report I am developing where I need it to run M-F (actually will run BOE and dist via email) and I need my open orders to pull in 2 days ahead of the cusotmer requested delivery date i.e,
Ran on Mon pulls in Wed's orders due {VBAK.VDATU}
Ran on Tue pulls in Thur orders due {VBAK.VDATU}
Ran on Wed pulls in Friday orders due {VBAK.VDATU}
Ran on Thur pulls in Sat, Sun and Mon orders due {VBAK.VDATU}
Ran on Fri pulls in Tues orders due {VBAK.VDATU}
I've been messing around with a few different ideas but none will pullin the Sat, Sun. Mon range into Thursday's report, I only get Monday.
Here is what I currently have
Formula name = @Adj Current Date
IF DayOfWeek (currentdate)=5 THEN currentdate+4 ELSE
IF DayOfWeek (currentdate)=6 THEN currentdate+4 ELSE
IF DayOfWeek (currentdate)=7 THEN currentdate+3 ELSE currentdate+ 2
and then this Boolean
{@Adj Current Date}={VBAK.VDATU} is a True/False where it = True
If I were running adhoc I would just say where {VBAK.VDATU}= (date(s) I was trying to pullin), easypeasy.....but this needs to run via BOE so it needs to be published.
Any help would be greatly appreciated. I have been at this for days and think I am just over thinking this whole thing....uggggg
Thanks!! Ü