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().
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.