Basic query to return all Work Order records not in 'COMP' status. 29 day duration for schedule, not a rolling schedule, include Work Orders without Dates, Refresh when opening Gantt View.
((woclass = 'WORKORDER' or woclass = 'ACTIVITY') and historyflag = 0 and istask = 0 and status not in ('COMP'))
Should return 130 records 48 of which should be worktype = 'PM'. It returns only 2 PM WO, and 40 non-PM WO's.
Anybody?