INFORMATION:
Helping a friend who is using a client side scheduler to run a crystal report of rentals initiated to his field sales team. The scheduler emails the report each day at 3:00 pm. Their end of business is at 5:00 pm.
THE PROBLEM:
There have been rentals initiated between 3:00 and 5:00 pm that are not captured by the report. Currently the report selects data as follows:
if {@DayOfTheWeek} = "Monday" then {SO_Detail.CreationDate} in DateAdd("d", -2, CurrentDate) to CurrentDate
and {SO_Detail.PRTNUM_28} like "RENTHFV*"
and {SO_Detail.STATUS_28} = "3"
and isNull ({SO_Detail.SHPDTE_28})
else {SO_Detail.CreationDate} = CurrentDate
and {SO_Detail.PRTNUM_28} like "RENTHFV*"
and {SO_Detail.STATUS_28} = "3"
and isNull ({SO_Detail.SHPDTE_28})
THE SOLUTION:
How does one select 3:00 pm from the previous day to "now"?
Helping a friend who is using a client side scheduler to run a crystal report of rentals initiated to his field sales team. The scheduler emails the report each day at 3:00 pm. Their end of business is at 5:00 pm.
THE PROBLEM:
There have been rentals initiated between 3:00 and 5:00 pm that are not captured by the report. Currently the report selects data as follows:
if {@DayOfTheWeek} = "Monday" then {SO_Detail.CreationDate} in DateAdd("d", -2, CurrentDate) to CurrentDate
and {SO_Detail.PRTNUM_28} like "RENTHFV*"
and {SO_Detail.STATUS_28} = "3"
and isNull ({SO_Detail.SHPDTE_28})
else {SO_Detail.CreationDate} = CurrentDate
and {SO_Detail.PRTNUM_28} like "RENTHFV*"
and {SO_Detail.STATUS_28} = "3"
and isNull ({SO_Detail.SHPDTE_28})
THE SOLUTION:
How does one select 3:00 pm from the previous day to "now"?