APAR status
Closed as program error.
Error description
ERROR DESCRIPTION: Unable to set the ?default value? on the dialogs based on the MultiselectDataBean. PROBLEM: Unable to set the ?default value? on the dialogs based on the MultiselectDataBean. PERFORMANCE ISSUE: No. STEPS TO REPRODUCE: Example: Specific example of being unable to set the 'default value' on the dialog for 'Select Labor' from the WOTRACK application. 1. Export the Library .xml and open it for editing. 2. Search for id="selectlaboronactuals". 3. Add the following line (defaultvalue tag) to specify the default value for the Craft attribute: <dialog beanclass="psdi.webclient.beans.workorder .SelectLaborOnActualsBean"id="selectlaboronactuals" label="Selec mboname="LABORCRAFTRATE"> <table id="selectlaboronactuals_select_table" inputmode="readonly" label="Labor" selectmode="multiple" width="700"> <defaultvalue dataattribute="craft" value="TEST" defaulttype="query" id="selectlaboronactuals_select_table_defaultcraft"/> <tablebody displayrowsperpage="15" filterable="true" filterexpanded="true" id="selectlaboronactuals_select_table_tablebody"> <tablecol filterable="false" hidden="false" id="selectlaboronactuals_select_table_tablebody_1" mxevent="toggleselectrow" sortable="false" type="event"/> <tablecol dataattribute="laborcode" id="selectlaboronactuals_select_table_tablebody_2"/> <tablecol dataattribute="labor.person.displayname" id="selectlaboronactuals_select_table_tablebody_3"/> <tablecol dataattribute="craft" id="selectlaboronactuals_select_table_tablebody_4"/> <tablecol dataattribute="skilllevel" id="selectlaboronactuals_select_table_tablebody_5"/> <tablecol dataattribute="vendor" id="selectlaboronactuals_select_table_tablebody_6"/> <tablecol dataattribute="contractnum" id="selectlaboronactuals_select_table_tablebody_7"/> </tablebody> </table> <buttongroup id="selectlaboronactuals_2"> <pushbutton default="true" id="selectlaboronactuals_2_1" label="OK" mxevent="dialogok" value="copyLaborToLabTransSet"/> <pushbutton id="selectlaboronactuals_2_2" label="Cancel" mxevent="dialogcancel"/> </buttongroup> </dialog> 4. Import the Library.xml 5. Go to the WOTRACK application, Actuals tab. 6. Scroll down to the Labor tab and click the button for [Select Labor]. 7. Click the ?Filter? button. Notice that there is not a default value in the Craft column and that the data is not filtered by Craft. NOTE: The same issue appears to happen for all dialogs that uses or extends the psdi.webclient.system.beans.MultiselectDataBean Java bean class. CURRENT ERRONEOUS RESULT: Issues setting the default value on many dialogs in various applications in Maximo. EXPECTED RESULT: Require this capability in order to filter the data based on the user requirement. ENVIRONMENT (SYSTEM INFO): Tivoli's process automation engine 7.6.1.2-IFIX20210819-1713 Build 20200715-0100 DB Build V7612-284 HFDB Build HF7612-46
Local fix
N/A
Problem summary
**************************************************************** * USERS AFFECTED: * * Maximo users * **************************************************************** * PROBLEM DESCRIPTION: * * Unable to set a default value on the dialogs based on the * * MultiselectDataBean. * **************************************************************** Example: Specific example of being unable to set the 'default value' on the dialog for 'Select Labor' from the WOTRACK application. 1. Export the Library .xml and open it for editing. 2. Search for id="selectlaboronactuals". 3. Add the following line (defaultvalue tag) to specify the default value for the Craft attribute: <dialog beanclass="psdi.webclient.beans.workorder .SelectLaborOnActualsBean"id="selectlaboronactuals" label="Selec mboname="LABORCRAFTRATE"> <table id="selectlaboronactuals_select_table" inputmode="readonly" label="Labor" selectmode="multiple" width="700"> <defaultvalue dataattribute="craft" value="TEST" defaulttype="query" id="selectlaboronactuals_select_table_defaultcraft"/> <tablebody displayrowsperpage="15" filterable="true" filterexpanded="true" id="selectlaboronactuals_select_table_tablebody"> <tablecol filterable="false" hidden="false" id="selectlaboronactuals_select_table_tablebody_1" mxevent="toggleselectrow" sortable="false" type="event"/> <tablecol dataattribute="laborcode" id="selectlaboronactuals_select_table_tablebody_2"/> <tablecol dataattribute="labor.person.displayname" id="selectlaboronactuals_select_table_tablebody_3"/> <tablecol dataattribute="craft" id="selectlaboronactuals_select_table_tablebody_4"/> <tablecol dataattribute="skilllevel" id="selectlaboronactuals_select_table_tablebody_5"/> <tablecol dataattribute="vendor" id="selectlaboronactuals_select_table_tablebody_6"/> <tablecol dataattribute="contractnum" id="selectlaboronactuals_select_table_tablebody_7"/> </tablebody> </table> <buttongroup id="selectlaboronactuals_2"> <pushbutton default="true" id="selectlaboronactuals_2_1" label="OK" mxevent="dialogok" value="copyLaborToLabTransSet"/> <pushbutton id="selectlaboronactuals_2_2" label="Cancel" mxevent="dialogcancel"/> </buttongroup> </dialog> 4. Import the Library.xml 5. Go to the WOTRACK application, Actuals tab. 6. Scroll down to the Labor tab and click the button for [Select Labor]. 7. Click the ?Filter? button. Notice that there is not a default value in the Craft column and that the data is not filtered by Craft. NOTE: The same issue appears to happen for all dialogs that uses or extends the psdi.webclient.system.beans.MultiselectDataBean Java bean class. CURRENT ERRONEOUS RESULT: Issues setting the default value on many dialogs in various applications in Maximo. EXPECTED RESULT: Require this capability in order to filter the data based on the user requirement.
Problem conclusion
The fix for this APAR will be contained in a future release.
Temporary fix
Comments
APAR Information
APAR number
IJ40846
Reported component name
SYSTEM CONFIG
Reported component ID
5724R46S1
Reported release
761
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2022-06-24
Closed date
2022-09-16
Last modified date
2022-09-16
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
SYSTEM CONFIG
Fixed component ID
5724R46S1
Applicable component levels
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSLKT6","label":"Maximo Asset Management"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"761","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]
Document Information
Modified date:
16 September 2022