Maximo

Maximo

Come for answers, stay for best practices. All we're missing is you.

 View Only
  • 1.  Maximo sort by values Inventory applications

    Posted Thu January 07, 2021 07:46 PM
    Hello,

    Anybody know why sort not working in Inventory list. Here I have number values and Sortable checkbox is checked. But here at second image, I cannot sort by values I dont know why? Main Object at these 3 values is INVBALANCES. I know its because I cant sort because main object is INVBALANCES, but is there any option to do that?

    Opis slike ni na voljo.

    Opis slike ni na voljo.


    ------------------------------
    Blaz Rakar
    ------------------------------

    #Maximo
    #AssetandFacilitiesManagement


  • 2.  RE: Maximo sort by values Inventory applications

    Posted Fri January 08, 2021 09:08 AM

    Hi Blaz,

    A few questions to help narrow this down:
    What version of Maximo is your system? Is this Production or Test? What is your database type?
    How are these new fields defined in Database Configuration and are you using a domain? Are you using a relationship?
    Have you added sort type in the lookup.xml for these fields?

    Here is an example of adding lookup functionality to a field using a table domain. 
    https://www.ibm.com/support/pages/adding-lookup-functionality-field-maximo-using-table-domain


    Regards,




    ------------------------------
    Roger Vallee
    Support Consultant
    Interloc Solutions
    ON
    ------------------------------



  • 3.  RE: Maximo sort by values Inventory applications

    Posted Mon January 11, 2021 05:45 AM
    Hi, Thanks for your response.

    - Maximo version is 7.6.

    - This is production.

    I have add 3 RELATIONSHIPS to main Object INVENTORY, child object is INVBALANCES --> attribute here is CURBAL.

    Where Clause for 1-NOV for example is:

    itemnum = :itemnum and location = :location and siteid = :siteid and itemsetid = :itemsetid and conditioncode ='1-NOV'

    - In XML file I just add sortable=true, but is not working.

    Any idea why?

    ------------------------------
    Blaz Rakar
    ------------------------------



  • 4.  RE: Maximo sort by values Inventory applications

    Posted Fri January 08, 2021 12:24 PM
    Hi Blaz,

    is this field persistent? If not, then out-of-the-box it is not possible. I remember that some years ago, someone has posted a workaround solution to use a button and Java class.

    Best regards,

    R. Zientara

    ------------------------------
    Robert Zientara
    Solution Expert
    Rodias GmbH
    Weinheim
    ------------------------------



  • 5.  RE: Maximo sort by values Inventory applications

    Posted Mon January 11, 2021 05:57 AM
    Hello, thanks for response.

    I think this is persistent but I dont know exactly. I have add 3 RELATIONSHIPS to main Object INVENTORY, child object is INVBALANCES --> attribute here is CURBAL.

    Where Clause for 1-NOV for example is:

    itemnum = :itemnum and location = :location and siteid = :siteid and itemsetid = :itemsetid and conditioncode ='1-NOV'

    So I think this is persistent or I am wrong?

    Do you might remember where I could find this solution in JAVA?

    B.Rakar

    ------------------------------
    Blaz Rakar
    ------------------------------



  • 6.  RE: Maximo sort by values Inventory applications

    Posted Mon January 11, 2021 11:21 AM
    Hi Blaz,

    the relationships have nothing to do here, you must check the field properties in the Database Designer application.
    Here is the link to the workaround: Querying Using Non-Persistent Fields
    Thatmaximoguy remove preview
    Querying Using Non-Persistent Fields
    I recently ran into a situation where I wanted to make a non-persistent field searchable in a table filter. The requirement was to make a table searchable based on whether a complex condition was true or false. First, I created a non-persistent field on the table through Database Configuration.
    View this on Thatmaximoguy >

    However, I have never tested it, please check if it works.

    Best regards,


    ------------------------------
    Robert Zientara
    Solution Expert
    Rodias GmbH
    Weinheim Germany
    ------------------------------



  • 7.  RE: Maximo sort by values Inventory applications

    Posted Tue January 12, 2021 08:15 AM
    I had sent this in the MORE Maximo community post but the main issue is Maximo has never supported sorting through relationships. I requested this as a RFE in 2013 (https://www.ibm.com/developerworks/rfe/execute?use_case=viewRfe&CR_ID=37940) and it was supposedly delivered in 7.6.1.2. 

    However, we've not yet been able to get it to work. Even using a simple 1:1 relationship (like INVENTORY->ITEM) we still couldn't sort even though the attributes have a search type and are persistent. We hadn't opened a case with IBM to determine if there is something special we need to do to make it work but I opened a case this morning to try and get their feedback.

    ------------------------------
    Steven Shull
    Director of Development
    Projetech Inc
    Cincinnati OH
    ------------------------------



  • 8.  RE: Maximo sort by values Inventory applications

    Posted Mon June 21, 2021 01:52 PM
    From your case Development says the 7612 enhancement only applies to REST API, not the UI.  
    You may want to re-open your RFE as it really was not delivered as your request was for UI.

    ------------------------------
    Rick Koertje
    ------------------------------



  • 9.  RE: Maximo sort by values Inventory applications

    Posted Mon June 21, 2021 01:53 PM
    I have confirmed with development that for 7612 , the only enhancement was for REST API sorting only. There is no plan for it on the UI side at this time.
    Not sure why the RFE was closed as that RFE appears to be requesting it for UI. You may want to re-open your RFE.

    ------------------------------
    Rick Koertje
    ------------------------------