APAR status
Closed as program error.
Error description
The BMXAA7837E - An error occurred that prevented the OSACTION.MXAPIINSPRESULT.CREATEWO script error fixed in APAR IJ45854 in 7.6.1.3 IF007, but has is appeared again when IF017 is applied. After following the steps in APAR IJ45854, you get the system error 'BMXAA7837E - An error occurred that prevented the OSACTION.MXAPIINSPRESULT.CREATEWO script for the null launch point from running. AttributeError: 'NoneType' object has no attribute 'createWorkorder' in script at line number 33' when you try to generate a work order. STEPS TO REPRODUCE: 1) Go to Manage Inspection forms and create a new one . Response Fields: Single Choice Options 1 : YES Required Action: checked Options 2: NO Required Action: unchecked Done . Save . Click on gear icon (Form Settings) Select the script and click ADD Done Active this form 2) Go to Work Order Tracking application and create a new wo . Inform an asset (location will be filled automatically) . Inspection Form: The inspection # created above . Save . Inspection Result is filled automatically -> Click on Detail Menu > Conduct an Inspection 3) A new tab will open in the Conduct an Inspection WC . Start . Choose YES . Click on Complete . Take Action > Generate Work Order for items RESULTS: BMXAA7837E - An error occurred that prevented the OSACTION.MXAPIINSPRESULT.CREATEWO script for the null launch point from running. AttributeError: 'NoneType' object has no attribute 'createWorkorder' in script at line number 33 EXPECTED RESULTS: Work Order should be created.
Local fix
The Development team provided: 1) Go to the application Automation Scripts and open the script OSACTION.MXAPIINSPRESULT.CREATEWO. 2) From More Actions in the left hand side menu, click on Duplicate Script. 3) Provide the name as OSACTION.MXAPIINSPRESULT.CREATEWO2 and description as Create WO2 for items that require action to the duplicated script. 4) In the script code, change this line if mbo.getString("PARENT") is not None: to this line if len(mbo.getString("PARENT")) != 0: and make sure to not modify the indentation of the changed line. 5) Save the script. 6) Add the newly created script to the inspection form, create a new work order, attach the inspection form to the work order and then conduct an inspection on the form.
Problem summary
Problem conclusion
A fix for this APAR will be included in a future release.
Temporary fix
Comments
APAR Information
APAR number
IJ51199
Reported component name
MAXIMO ASST MGM
Reported component ID
5724R46AM
Reported release
761
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2024-05-14
Closed date
2024-06-03
Last modified date
2024-06-03
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
MAXIMO ASST MGM
Fixed component ID
5724R46AM
Applicable component levels
[{"Business Unit":{"code":"BU048","label":"IBM Software"},"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:
03 June 2024