Maximo Open Forum

 Setting for auto assign asset to WO?

  • Assets
  • Customizations
  • Work Management
Rob Radcliff's profile image
Rob Radcliff posted 07-14-2022 13:14
Hi All,

Is there a setting in Maximo that says an asset should automatically assigned to a WO when there is only one asset in the room? This auto assignment of an asset doesn't happen if there are zero or two or more assets in a room.

We've gotten around this by creating 'Non-Asset Placeholders'. Due to some changes in our work process, this would be a good time for us to stop this practice if possible.

Thanks.

Rob
Steven Shull's profile image
Steven Shull
Defaulting an asset when a location is selected and the location only has a single asset is unfortunately still a thing. There have been multiple requests for enhancements (two of the more recent https://ibm-ai-apps.ideas.ibm.com/ideas/MASM-I-451 & https://ibm-ai-apps.ideas.ibm.com/ideas/MASM-I-828) and it's something being planned to be setup as an option to disable but there is no ETA on when yet.

There are some examples of people who have tried to suppress this via automation scripts. Having not thoroughly tested them myself, I don't want to directly link to any but you should be able to find them with some google searches.
Travis Herron's profile image
Travis Herron
It's not a "setting" -- not a Property you can switch off.  It's core functionality that's existed for the 20 years I've been working with Maximo, that if the Location has one and only one Asset, Maximo automatically populates the Asset field with that Assetnum.

There have been other posts here in this forum and in the IBM community for Scripts that can be used to make it stop doing that.  One such example: MaximoDev - Disable automatic asset/location population in Work Order and Ticket applications (bportaluri.com)
Steven Phayre's profile image
Steven Phayre
I believe if the other assets in the same location are child assets to the one you want to auto populate, it will chose the parent asset when the location is used on a work order. There can only be one parent asset in a location for this to work. Hope this helps
justin haley's profile image
justin haley
Another option using an automation script: 

Turning off Asset Auto Population Using Automation Scripting (ibm.com)

- 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