Hello. I'm trying to create warning message box popup in Maximo 7.6.1.3 where after Labor entry is created and saved under Work Orders/ Actuals tab (Labtrans table), then a warning message box will come up to make sure to create a Log entry as well under Log tab.
Here is the script (automation script in python) I created below. It works but the issue is the same warning message pops up even if the update or new item was added in other areas of the Work Order and not just the Labor tab. I need to be able to display this pop up ONLY when adding or editing LABOR TAB under ACTUALS tab. Any one else out there ran into something similar? Thanks.
Franc
wo_mbo = mbo.getMboSet("WORKORDER")
if not wo_mbo.isEmpty():
wo_type = wo_mbo.getMbo(0).getString("WORKTYPE")
if wo_type != 'ADM':
errorgroup = "mygroup"
errorkey = "mykey1"
------------------------------
Francis D. Flores
------------------------------