IBM Maximo: Analisando a crontask PMWoGenCronTask

From Wiki
Revision as of 17:28, 17 October 2023 by Ebasso (talk | contribs) (Ebasso moved page IBM Maximo: Analisando a crontask PMWoGen to IBM Maximo: Analisando a crontask PMWoGenCronTask)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Verificando se esta sendo Work Orders de PMs

SELECT WONUM,STATUS,WORKTYPE,DESCRIPTION,LOCATION,JPNUM,PMNUM,ROUTE,REPORTDATE,REPORTEDBY
FROM workorder w
WHERE pmnum IS NOT NULL
AND istask = 0
order by reportdate desc

Contando a quantidade

SELECT REPORTDATE,REPORTEDBY,count(1) as CNT
FROM workorder w
WHERE pmnum IS NOT NULL
AND istask = 0
group by  REPORTDATE,REPORTEDBY
order by reportdate desc

Ver também