Maximo

 View Only
  • 1.  Configuring MAXLOOKUPMAP for INSPECTIONRESULT

    Posted Wed April 03, 2024 04:47 AM

    In ASSET application there is table with related workorders.

    We added there column with attribute INSPECTIONRESULT.RESULTNUM. It shows correct resultnum. Then I added Go to (applink) for that column INSPECTOR.

    That applink open inspection result application, but there is passes workorder uid, not relevant inspection result id.

    I found out, that I would need to configure something in MAXLOOKUPMAP , but I'm not shure, in which exactly table and for which attribute I need to configure that lookup. Is it for WORKORDER -> WORKORDERID, and then somehow set source INSPECTIONRESULT? Or du I need to set somethinng in INSPECTIONRESULT table for attribute REFERENCEOBJECTID?



    ------------------------------
    Juris Flugins
    ------------------------------


  • 2.  RE: Configuring MAXLOOKUPMAP for INSPECTIONRESULT

    Posted Thu April 04, 2024 04:29 AM
    Edited by Sankar Ganesh Thu April 04, 2024 04:31 AM

    I could not clearly understand. I guess you are using a relationship from WORKORDER to INSPECTIONRESULT  in the Asset application to display some Inpector column?
    If the key attribute of the lookup column and 'Inspection result application'  are same ('REFERENCEOBJECTID' ?), then it should already. 

    Other wise need to configure maxlookupmap in Target table. (I guess it is workorder)

    Target Attribute: <InspectorID or Relevant File>

    Source Object: INSPECTIONRESULT

    Source Attribute: REFERENCEOBJECTID


    It may require JVM restart to effect the changes.


    Regards
    ------------------------------
    Sankar Ganesh
    ------------------------------



  • 3.  RE: Configuring MAXLOOKUPMAP for INSPECTIONRESULT

    Posted Thu April 04, 2024 08:24 AM

    You would not need to do anything with the MAXLOOKUPMAP for this scenario. MAXLOOKUPMAP is when you're trying to set a value in a field and the framework isn't able to match the record correctly automatically.

    You'll need to export the ASSET application and add applinkrel="inspectionresult.resultnum" to your application like we do in the WOTRACK application. This overrides how the link is established between applications. 



    ------------------------------
    Steven Shull
    ------------------------------



  • 4.  RE: Configuring MAXLOOKUPMAP for INSPECTIONRESULT

    Posted Thu April 04, 2024 08:41 AM

    Thank You Steven, this works!

    Thank You also Sankar for responsiveness!



    ------------------------------
    Juris Flugins
    ------------------------------