Maximo Open Forum

 View Only
  • 1.  Move/Modify Asset does not move Inspection Forms.

    Posted 06-03-2022 15:52
    Edited by Atish Jadhav 06-04-2022 13:25
    Hello Experts,

    I have inspection forms attached to the assets that are frequently moved from location to location under the same site and some assets move across other sites as well (under the same Org). In this case, I see that the inspection form is getting detached from the assets when we move. Could you please provide some advice/solution to overcome this issue?
    #WorkCenters

    ------------------------------
    AJ
    ESOL
    ------------------------------


  • 2.  RE: Move/Modify Asset does not move Inspection Forms.

    Posted 06-06-2022 08:29
    Edited by Danielle Shaw 06-06-2022 08:30

    I think it's getting detached because the asset > inspection result relationship is site based.

    You could create an automation script that is fired upon the move. One possibility is an object launch point on add of a new ASSETTRANS record when trans type is MOVED. Here is a rough idea for the code, note I have not tested this so it may need tweaking. The idea is that you get the asset from the previous site (ASSETTRANS.SITEID) and then get the set of inspection results for the asset in that old site. Then loop through update each inspection result's site ID to what's in ASSETTRANS.TOSITEID.


    if mbo.getString("TRANSTYPE")=="MOVED":
        # Get the asset
        assetMbo = mbo.getMboSet("ASSET").moveFirst()

        if assetMbo:
            inspResultSet = assetMbo.getMboSet("INSPECTIONRESULT")

            inspResultMbo = inspResultSet.moveFirst()

            # Loop through all inspection results tied to the old site
            while inspResultMbo:

                inspResultMbo.setValue("SITEID",mbo.getString("TOSITEID"),mbo.NOACCESSCHECK)

                inspResultMbo = inspResultSet.moveNext()



    ------------------------------
    Danielle Newhouse
    ------------------------------



  • 3.  RE: Move/Modify Asset does not move Inspection Forms.

    Posted 06-06-2022 21:33
    Thanks, Danielle :)

    ------------------------------
    AJ
    ESOL
    ------------------------------



  • 4.  RE: Move/Modify Asset does not move Inspection Forms.

    Posted 06-06-2022 09:14
    Hi AJ,

    The asset lives at the Site level, the associated form to the asset (INSPFORMUSEWITH) lives at the Site level, and the form lives at Org. When you move the asset to another Site, the information in the INSPFORMUSEWITH does not also get updated.  This makes sense as the associated inspection may be different when at another site or at least that's what I'm inferring from the design.

    So, I don't think there's much you can do other than raise an RFE.

    ------------------------------
    Regards,
    Craig Kokay
    ISW
    Maximo Practice Manager
    eMail: ckokay@isw.net.au
    Phone: +61-411-682-040

    #IBMChampion2022
    ------------------------------



  • 5.  RE: Move/Modify Asset does not move Inspection Forms.

    Posted 06-06-2022 21:33
    Thanks, Criag :)

    ------------------------------
    AJ
    ESOL
    ------------------------------