Enable AutoKey when inserting new assets in Maximo 7

In Maximo 4.1.1, you could enter a new asset with an auto number by default.  In Maximo 7,  with the default configuration, you aren’t able to generate an auto number when inserting new assets.  The functionality is there for you to use an auto key scheme, you just have to enable it.

First, you can check the Organization level for all the autokey values.  Go to the Organizations module and select your org, then Select Action -> Autonumber Setup -> Organization Level.  You will see a dialog like this:

Autonumber Dialog
Autonumber Dialog

You can set the seed values here and prefix values if you want.  As you can see, the assetnum autokey is already there and ready to use.

So to enable the autokey for an asset, all we need to do is change some configuration settings.  Go to Database Configuration module and find the Asset object.  Click on the attribute tab and find the ASSETNUM field.  Expand it.  If you look for the field “Autonumber”, you will see that it is already populated with the right autokey.  Now we just need it so that this field uses that autokey by setting the default value.  So enter &AUTOKEY& for the “Default Value” field like so:

setnum Autokey
Assetnum Autokey

Save your changes.  Now you just need to enable Admin Mode and apply your configuration changes.  Now you should be able to enter a new asset with an auto number!

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

12 thoughts on “Enable AutoKey when inserting new assets in Maximo 7

  1. Can this autokey works with MIF? For example, I have a list of Assets without ASSETNUM and I want them to be auto generated when inserting into MAXIMO DB using MIF. Can it work like this? I tried but it didn’t work that way.

      1. Hi Chon,
        I have tried this with contracts, but it didn’t work.
        When I send a message I receive an error about the required field CONTRACTNUM can’t be null.
        Do you have any idea?
        Thanks in advance

        1. Hi Chon,

          I figured out the solution, I need to remove the tag from the XML, now my problem is: how to do this without a user exit class? I’m using IFACETABLE and I can’t exclude this field.


  2. Hi Chon, I have try to insert &AUTOKEY& in the assetnum of my flatfile but didn’t work.
    The new created asset have the assetnum equal to &AUTOKEY&.
    The autonumbering of asset is just enable in maximo but he didn’t work with MIF.

    Any idea?

Leave a Reply