IBM Maximo: Analisando a crontask PMWoGenCronTask: Difference between revisions

From Wiki
(Created page with " Verificando se esta sendo gerando 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 = Ver também = * Artigos sobre IBM Maximo * Mais Artigos sobre Cloud / WebDev / Tecnologias Category:IBM Maximo Category:ibm-maximo-performance Category:ibm-maximo-properties")
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:


Verificando se esta sendo gerando PMs
Verificando se esta sendo Work Orders de PMs


  SELECT WONUM,STATUS,WORKTYPE,DESCRIPTION,LOCATION,JPNUM,PMNUM,ROUTE,REPORTDATE,REPORTEDBY
  SELECT WONUM,STATUS,WORKTYPE,DESCRIPTION,LOCATION,JPNUM,PMNUM,ROUTE,REPORTDATE,REPORTEDBY
Line 6: Line 6:
  WHERE pmnum IS NOT NULL
  WHERE pmnum IS NOT NULL
  AND istask = 0
  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
  order by reportdate desc



Latest revision as of 17:28, 17 October 2023

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