Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
YornLookupList and Y/N Lookup
onthemove
According to Maximo documentation the YornLookupList lookup should work much the same as the DateLookup in that no attribute is required. However, when used for a parameter in Maximo Report Admin the user popup for selection does NOT display. I'm now using an attribute of yorn type and setting attribute in (0,1), do to the fact that it is a bound parameter, as part of the select statement. My problem now is that I'm unable to determine what values is being passed back to my birt parameter. I defined a parameter "A" in BIRT as string type. Then on the Maximo side I assign the parameter an attribute that is of Yorn type and use the YornLookupList. On the BIRT side I try to determine the value of BIRT parameter "A" with NO success. I've tried to evaluate it as 1, "1", "Y" and "TRUE" but it isn't any of those values. Does anyone have any ideas?
Find more posts tagged with
Comments
AbbyNL
YORN fields are stored in the database as numbers (0 and 1) but are presented in V7 as
localized text. The getBooleanString(String attributeName) method will perform both tasks:
retrieve the numeric value and translate it to the appropriate text. You also can obtain the
translated value from the integer using getBooleanString(int intValue).
wwilliams
I believe you do need an attribute INDEPENDENT for the yornlookup.
-W