Hi Stephen,
Here is my SQL Query :
SELECT wonum,
description,
status,
workorderid
FROM workorder
WHERE workorderid IN (SELECT ownerid FROM doclinks WHERE ownertable = 'WORKORDER')
AND workorder.status IN ('ASSIGNÉ', 'ENCOURS')
That query was converted to a Where Clause, based on your previous post (thanks!) :
workorderid in (select ownerid from doclinks where ownertable='WORKORDER') and status in ('ASSIGNÉ','ENCOURS')
I will now save my query and make it available for my supervisors.
Thanks guys for your help!!
Danny
------------------------------
Danny Cordeau
Universite de Sherbrooke
------------------------------
Original Message:
Sent: 11-20-2023 09:29
From: Stephen Hume
Subject: Generate a list of workorders that contain attachments directly in Maximo
workorderid in (select ownerid from doclinks where ownertable='WORKORDER')
You can also limit it to only open work orders by adding "and historyflag = 0" to the query.
------------------------------
Stephen Hume
Sheffield Scientific LLC
Original Message:
Sent: 11-20-2023 08:57
From: Stephen Hume
Subject: Generate a list of workorders that contain attachments directly in Maximo
Hello Danny, can you convert your sql clause to a Maximo Where Clause and then save it as a query for the users to run themselves. Once it is saved as a query in the work order application, you could also put a resultset on their start center. (Work Orders with Attachments).
------------------------------
Stephen Hume
Sheffield Scientific LLC
Original Message:
Sent: 11-17-2023 15:03
From: Danny Cordeau
Subject: Generate a list of workorders that contain attachments directly in Maximo
Hello guys!
Maximo 7.6.1.3 here. Supervisors want to be able to generate a list of workorders that contain attachments. They want to be able to generate that list as part of the workorder application or directly through their own start center. SQL query is pretty simple and it gives me the expected result but according to you experience what is the simpliest way to deploy that feature? Automation Script?
Thanks in advance.
Danny
#Administration
#Customizations
#MaximoUserGroups
------------------------------
Danny Cordeau
Universite de Sherbrooke
------------------------------