HELP: Job Scheduling - checking start date as Weekday

I have never seen that, but do you have one outsource resource or many?  I can look at the resource scheduling board and see what dates everything is scheduled.  Can you pull the info from the schedule board and analyze?  Instead of looking to compare to a Week day can you look for a Work day

We have come across an epicor bug where some jobs are allowed to be scheduled on Weekends.

I've been trying to come up with a Row Rule, Event Rule, BPM that checks the Job Start Date to see if it is a weekday but everything is failing.

 For BPM's I've tried both Data and Method Directives but it gets stuck after the ttJobHead.StartDate and says it can't understand anything after that - trying to do : In Changed Row ttJobHead.StartDate is not equal to WeekDay()

 Same for the RowRule. If StartDate not equal to Constant: Weekday - highlight row

 same for OnRowChanged Event.

 Nothing seems to be able to see a change in the StartDate and compare it to WeekDay().


Any Ideas?

If your calendar is set with the weekends as non work days, nothing should schedule.  I have seen it start a job on Sunday at midnight (before I figured out how to tweak working hours).  I have not seen any jobs running through the weekend.

I already double checked our Calendar. Epicor says its a bug with some subcontract jobs ignoring the calendar when you use the Back Date scheduling.

Just trying to find a way to do a Message Box to warn people when the date is a weekend.

Why not just set the calendars behind the resource to work through weekly times? That way it will not schedule where you state work cannot be completed.

Sent from Yahoo Mail on Android

From:"khilborn@... [vantage]" <vantage@yahoogroups.com>
Date:Tue, 30 Sep, 2014 at 18:54
Subject:[Vantage] HELP: Job Scheduling - checking start date as Weekday

Â
<div id="ygrps-yiv-1322867825ygrp-text">
  
  
  <p></p><p><span>We have come across an epicor bug where some jobs are allowed to be scheduled on Weekends.</span></p><p><span>I&#39;ve been trying to come up with a Row Rule, Event Rule, BPM that checks the Job Start Date to see if it is a weekday but everything is failing.</span></p><p><span>Â For BPM&#39;s I&#39;ve tried both Data and Method Directives but it gets stuck after the ttJobHead.StartDate and says it can&#39;t understand anything after that - trying to do : In Changed Row ttJobHead.StartDate is not equal to WeekDay()</span></p><p><span>Â Same for the RowRule. If StartDate not equal to Constant: Weekday - highlight row</span></p><p><span>Â same for OnRowChanged Event.</span></p><p><span>Â Nothing seems to be able to see a change in the StartDate and compare it to WeekDay().</span></p><p><span><br clear="none"></span></p><p><span>Any Ideas?</span></p>

</div>
 


<div style="color:#fff;height:0;"></div></div>
John - I already verified that all resources are using the same calendar that has availability set for M-F.