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
------------------------------
Original Message:
Sent: Tue June 07, 2022 09:00 AM
From: Steven Shull
Subject: Integer format without dot
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
------------------------------