Maximo Open Forum

 View Only

 Mark Rows in List Tab as Modified

  •   Automationscript
  • Customizations
Jared Schrag's profile image
Jared Schrag posted 06-13-2023 16:31

I'm using Maximo 7.6.1.2. When I query up a couple of Work Orders in the Work Order Tracking app, navigate to each one and modify the Duration field and hit save on each record, when I navigate back to the list tab, I see that the rows I changed/saved were modified because the app is making them italicized (see image).

Out of the box marking rows as having been modified

I've created a custom Select Action (see "Calculate Estimated Duration (All)" Select Action in screenshot above) that launches an Automation Script that will recalculate all of the selected Work Orders' Duration values. When the script executes, it calls Save on the MboSet (I've also tried Save on the ResultsBean), it is saving the changes; however, it is not showing/marking any of the records as having been modified in the List tab. Does anybody know what AppInstance or ResultsBean or DataBean or other class method I would need to call from within the Automation Script to make it mark those rows which have been modified (like it does out of the box when I navigate to each row manually and modify/save)?

#Automationscript 

Subhransu Sekhar Sahoo's profile image
Subhransu Sekhar Sahoo

Hi Jared,

Call the below 

public void setListTableModified(boolean inChange) of DataBean class.Used in conjunction with public void setListTableRetain(boolean inRetain) method of same class.

Try it and verify. check the JavaDocs if needed.
Jared Schrag's profile image
Jared Schrag

@Subhransu Sekhar Sahoo Unfortunately, trying to use DataBean.setListTableModified(True) did not help. I did confirm with getListTableRetain() that it was enabled.