IBM Support

Prevent Users From Closing Work Orders With Open PO

Question & Answer


Can Maximo be configured to prevent the user from closing a Work Order which has an open PO?


The default behavior of Maximo will allow a user to close a Work Order that has an open PO associated by clicking through the warning message.


The following workaround will not violate any coded Maximo business rules, and will prevent the end users from being able to Close the Work Orders from dismissing the pop-up dialog that warns the user of open POs. The summary is that you can remove the option to close the Work Order from the popup dialog message. When the message is displayed, the end user can only close the message box, and
the Work Order will not be closed.

The message box can be changed with a SQL update. Be aware that you are changing the text that appears in the message box with the following SQL update, so you can substitute any appropriate text that you want.

To view the text that is currently displayed in the message box:

select options,value from maxmessages where
msgkey='OpenPoExistsForClose' and msggroup='workorder';

To update the message box and remove the option to close the Work Order,
run the following update:

update maxmessages set OPTIONS=1, value='Open purchase orders exist here
or at some point below in the hierarchy. The status of this Work Order
will not be changed to Closed.' where msgkey='OpenPoExistsForClose'
and msggroup='workorder';


Log out of Maximo and stop/restart the server
Log back in to verify the change

The above can also be accomplished in the Messages dialog in Database Configuration.
-from any object, Select Action | Messages
-Filter for "workorder" in the Message Group field
-Click the New Row button and enter values for the fields:

Message Group: workorder
Message Key: OpenPoExistsForClose
Display Method: MSGBOX
Message ID Prefix: BMXAA
Message ID Suffix: W
Message ID: BMXAA4577W
Display ID: checked
Value: "Open purchase orders exist here or at some point below in the hierarchy. The status of this Work Order will not be changed to Closed.

Click OK and Save the record, then apply the Configuration Changes

[{"Product":{"code":"SSLKT6","label":"IBM Maximo Asset Management"},"Business Unit":{"code":"BU055","label":"Cognitive Applications"},"Component":"Work Order Tracking","Platform":[{"code":"PF033","label":"Windows"}],"Version":"Version Independent","Edition":"Enterprise","Line of Business":{"code":"LOB02","label":"AI Applications"}}]

Document Information

Modified date:
17 June 2018