I think you can achieve this by introducing a non-persistent field with a Formula in the Object. Then you can use that field to the Lookup.xml file.
Original Message:
Sent: 03-12-2025 12:08
From: Ryan Medernach
Subject: Maximo default values in lookup - (Current date - 60) - is it possible ?
Dejan - No that did not work it just essentially added the text to the filter and didn't do what was expected .
Quoc - We are trying to prevent having the user to enter the filter and that's why we are looking to get the default to work with this.
Still need some more votes on https://ibm-ai-apps.ideas.ibm.com/ideas/MASM-I-1292 if anyone is interested in this functionality in future releases.
------------------------------
Ryan Medernach
MEG ENERGY
Original Message:
Sent: 03-05-2025 17:12
From: Dejan Matijas
Subject: Maximo default values in lookup - (Current date - 60) - is it possible ?
Hi Ryan
That is correct. Filter displays that and those 1900 records on your screenshot should fall into that time period for the reportdate field i.e. last 60 days.
Change 60 to 600 and your result set will be different.
Wasn't that what you were trying to achieve?
Cheers
------------------------------
Dejan Matijas
COSOL
Original Message:
Sent: 03-05-2025 10:18
From: Ryan Medernach
Subject: Maximo default values in lookup - (Current date - 60) - is it possible ?
Thanks for the suggestion Dejan but when I add this to the defaultvalue in the lookup I see the following in the filter

As well I have submitted an IDEA that everyone can vote on top get this functionally added into Maximo.
https://ibm-ai-apps.ideas.ibm.com/ideas/MASM-I-1292
------------------------------
Ryan Medernach
MEG ENERGY
Original Message:
Sent: 03-05-2025 00:52
From: Dejan Matijas
Subject: Maximo default values in lookup - (Current date - 60) - is it possible ?
Hi Ryan,
try <defaultvalue dataattribute="reportdate" defaulttype="query" id="123456a" value=">:today-60"/>
Will give you records in last 60 days from the current date.
Cheers
------------------------------
Dejan Matijas
COSOL
Original Message:
Sent: 07-30-2024 09:58
From: Ryan Medernach
Subject: Maximo default values in lookup - (Current date - 60) - is it possible ?
I'm looking to see if anyone knows of a way to default a value example last 60 days from the current date in the lookup.xml ?
Example. This will set the default filter for 4/1/2024
<defaultvalue dataattribute="reportdate" defaulttype="query" id="123456a" value=">4/1/2024"/>
I don't think we can use bind variables or anything like that. Anyone have any thoughts on this ?
Thanks
#Administration
#Architecture
#Customizations
#EverythingMaximo
#MaximoApplicationSuite
------------------------------
Ryan Medernach
MEG ENERGY
------------------------------