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 several add-on products for Maximo that mobilize the work force, simplifies assignments, provides ad-hoc reporting capabilities and facilitates the seamless integration of Service Requests into Maximo.

Check out our products by clicking on the following links: EZMaxMobile, EZMaxPlanner and EZMaxRequest.

Find Out More

Leave a Reply