Find “Open” workorder records thru Java MBO code snippet

Just a reminder to myself that I found this nice little code snippet that we can use to find “OPEN” records through Java MBO’s.  “OPEN” in this case, I would assume, is something along the lines of a workorder with at status that is in WAPPR, APPR, INPRG, WMATL, WSCH and WPCOND.  Here is the code snippet:

SqlFormat sqf = new SqlFormat(getUserInfo(), “(reportedby = :1 and ” + ((WOService)getMboServer()).getCriteria(“OPEN”) + “)”);

Did You Know...

As Maximo Experts, we have developed Maximo adds on products to make Maximo work assignment simple, reporting easy, and facilitating service requests seamless. Check out our additional products EZPlanner, EZInsight, and EZRequest.

Find Out More

Leave a Reply

Your email address will not be published. Required fields are marked *