Question & Answer
Question
Is there a way to turn off asset auto population in Work Order Tracking while creating work orders against a location having only one asset associated?
Answer
Yes. It is possible to turn off Asset auto population using Automation Scripting as described below:
- Log into Maximo as maxadmin
- Go to Automation Scripts application
- Select Action > Script with Attribute Launch Point
- In Create Script with Attribute Launch Point dialog, enter the following:
Launch Point = WOASSETCLR
Object = WORKORDER
Attribute = LOCATION
- Click on New
- Click on Next button and enter the following:
Script = SCRIPT01
Script Language = jython
- From Variables table-window, click on New Row and enter the following:
Variable = v_assetnum
Binding Type = ATTRIBUTE
Variable Type = INOUT
Launch Point Attribute = WORKORDER.ASSETNUM
- Click on Next button
- In Source Code, enter the following:
if v_assetnum is not None:
v_assetnum=None
- Click on Create button
- From system message "BMXAA7989I - The launch point was created successfully", click on Close
- Change Script Status to ACTIVE
Was this topic helpful?
Document Information
Modified date:
17 June 2018
UID
swg21648027