Maximo

Maximo

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

 View Only
  • 1.  Integer format without dot

    Posted 06/06/22 09:15 AM
    Hi everyone, 

    I have a question about field METERREADING.METERREADINGID which type is BIGINT.



    Is there any chance to display this values in Maximo without dots?

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

    #Maximo
    #AssetandFacilitiesManagement


  • 2.  RE: Integer format without dot

    Posted 06/07/22 09:01 AM
    I don't believe this is possible today without creating a separate ALN attribute that you set via an automation script. All the UI elements (table columns, text boxes, etc.) utilizes the getString method on the MBO which adds formatting based on your localization settings for numeric fields (AMOUNT, INTEGER, DECIMAL, etc.) and date fields. If you had an ALN attribute we wouldn't attempt to localize which is why you'd be able to set that without any formatting. 

    If this is important for you, I'd suggest opening an Idea to be evaluated for future enhancement in the product. You can do that here: https://ibm-ai-apps.ideas.ibm.com/ideas/

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



  • 3.  RE: Integer format without dot

    Posted 06/08/22 10:06 AM
    I agree with Steven. Your new, non-persistent ALN attribute would have an Attribute, Initialize Value launch point on it that sets its value by casting meterreadingid to a string, like this in Python: custommeterreadingid = str(meterreadingid) Again, note that you can't use mbo.getString() because that will format it and leave you in your original situation.

    ------------------------------
    Blessings,
    Jason Uppenborn
    Sr. Technical Maximo Consultant
    Cohesive Ontracks
    ------------------------------