APAR status
Closed as program error.
Error description
The problem : when running pmwogen, PM gen failes with the error "BMXAA4512E - The job plan for Job Plan JP5771 cannot be copied. - BMXAA4146E - Not a valid GL account. Either the required components are not filled or the component values are not valid. Make sure the GL account value is entered in the appropriate format as defined in the GL Account application." Version: 7605 with Scheduler 763 Steps to replicate. 0. Given that there are mulitple organzation. 1. set maxadmin user's default insert site as TESTORG1 org's TESTS1 site. 2. Go to the Jobplan Applicattion - create TESTJP1 jobplan in Task, add one task. save activate it - Create TESTNJP1 jobplan in task, add one task having the nested jobplan(TESTJP1) which is created in the step 1. save activate it 3. Go to the PM applicaiton. - create a PM ( 0PM1) in TESTS1. location : BR400 in Jobplan : TESTNJP1 Work order status : WSCH. save change status to active - Generate work orders manually. no problem. 4. Change maxadmin user's default insert site as BEDFORD. 5. Go to the Cron Task Setup application. - Find PMWoGenCronTask - Add a new instance ( TEST1) with 5 mins frequency. Run as user : MAXADMIN Save. When this cron ran for OPM1 pm, unexpectedly wrong site's Organization was referenced to validate GLCOMPOENTS. But. when generating work orders by pmgen cron, got error. The problem : when running pmwogen, PM gen failes with the error "BMXAA4512E - The job plan for Job Plan TESTNJP1 cannot be copied. - BMXAA4146E - Not a valid GL account. Either the required components are not filled or the component values are not valid. Make sure the GL account value is entered in the appropriate format as defined in the GL Account application." IN) SPID = (10.10.100.128.58314.161222172939) app (null) object (CHARTOFACCOUNTS) : select * from chartofaccounts where (glaccount like '1111-111-111%' and orgid = 'EAGLENA' ) fetch first 1000 rows only for read only [12/23/16 14:26:44:338 EST] 00000184 SystemOut O 23 Dec 2016 14:26:44:338 [INFO] [MAXIMO] [CID-CRON-533569] BMXAA6719I - USER = (MAXADMIN) SPID = (10.10.100.128.58314.161222172939) app (null) object (CHARTOFACCOUNTS) : select * from chartofaccounts where (glaccount like '1111-111-111%' and orgid = 'EAGLENA' ) fetch first 1000 rows only for read only [12/23/16 14:26:44:338 EST] 00000184 SystemOut O 23 Dec 2016 14:26:44:338 [INFO] [MAXIMO] [CID-CRON-533569] BMXAA6719I - USER = (MAXADMIN) SPID = (10.10.100.128.58314.161222172939) app (null) object (WORELEASE) : select * from worelease where parent= '11420' and siteid= 'TESTS1' order by wosequence, taskid for read only [12/23/16 14:26:44:338 EST] 00000184 SystemOut O 23 Dec 2016 14:26:44:338 [INFO] [MAXIMO] [CID-CRON-533569] BMXAA6719I - USER = (MAXADMIN) SPID = (10.10.100.128.58314.161222172939) app (null) object (WORELEASE) : select * from worelease where parent= '11420' and siteid= 'TESTS1' order by wosequence, taskid for read only [12/23/16 14:26:44:338 EST] 00000184 SystemOut O 23 Dec 2016 14:26:44:338 [INFO] [MAXIMO] [CID-CRON-533569] BMXAA6719I - USER = (MAXADMIN) SPID = (10.10.100.128.58314.161222172939) app (null) object (WOCHANGE) : select * from wochange where parent= '11420' and siteid= 'TESTS1' order by wosequence, taskid for read only [12/23/16 14:26:44:338 EST] 00000184 SystemOut O 23 Dec 2016 14:26:44:338 [INFO] [MAXIMO] [CID-CRON-533569] BMXAA6719I - USER = (MAXADMIN) SPID = (10.10.100.128.58314.161222172939) app (null) object (WOCHANGE) : select * from wochange where parent= '11420' and siteid= 'TESTS1' order by wosequence, taskid for read only [12/23/16 14:26:44:338 EST] 00000184 SystemOut O 23 Dec 2016 14:26:44:338 [INFO] [MAXIMO] [CID-CRON-533569] BMXAA6719I - USER = (MAXADMIN) SPID = (10.10.100.128.58314.161222172939) app (null) object (WORKORDER) : select * from workorder where parent= '11420' and siteid= 'TESTS1' and woclass in ( 'WORKORDER' ) order by wosequence, taskid for read only [12/23/16 14:26:44:338 EST] 00000184 SystemOut O 23 Dec 2016 14:26:44:338 [INFO] [MAXIMO] [CID-CRON-533569] BMXAA6719I - USER = (MAXADMIN) SPID = (10.10.100.128.58314.161222172939) app (null) object (WORKORDER) : select * from workorder where parent= '11420' and siteid= 'TESTS1' and woclass in ( 'WORKORDER' ) order by wosequence, taskid for read only [12/23/16 14:26:44:338 EST] 00000184 SystemOut O 23 Dec 2016 14:26:44:338 [ERROR] [MAXIMO] [CID-CRON-533569] BMXAA4512E - The job plan for Job Plan TESTNJP1 cannot be copied. BMXAA4146E - Not a valid GL account. Either the required components are not filled or the component values are not valid. Make sure the GL account value is entered in the appropriate format as defined in the GL Account application. psdi.util.MXApplicationException: BMXAA4512E - The job plan for Job Plan TESTNJP1 cannot be copied. BMXAA4146E - Not a valid GL account. Either the required components are not filled or the component values are not valid. Make sure the GL account value is entered in the appropriate format as defined in the GL Account application. at psdi.app.workorder.WO.copyJobPlanToWorkPlan(WO.java:2928) at psdi.app.workorder.FldWOJobPlan.action(FldWOJobPlan.java:191) at psdi.mbo.MboValue.validate(MboValue.java:1734) at psdi.mbo.MboValue.setValue(MboValue.java:900) at psdi.mbo.MboValue._setValue(MboValue.java:1255) at psdi.mbo.MboValue.setValue(MboValue.java:1151) at psdi.mbo.Mbo.setValue(Mbo.java:2359) at psdi.app.workorder.WO.setAttrFromWoGen(WO.java:9072) at psdi.app.pm.PM.generateWorkOrderInformation(PM.java:2496) at psdi.app.pm.PM.wogen(PM.java:2040) at psdi.app.pm.PM.generateWork(PM.java:1691) at psdi.app.pm.PMSet.generateWork(PMSet.java:186) at psdi.app.pm.PMWoGenCronTask.cronAction(PMWoGenCronTask.java:220) at psdi.app.pm.PMWoGenCronTask.cronAction(PMWoGenCronTask.java:120) at psdi.server.CronTaskManager.callCronMethod(CronTaskManager.java: 2413) at psdi.server.CronTaskManager.access$1100(CronTaskManager.java:104 ) at psdi.server.CronTaskManager$CronThread.run(CronTaskManager.java: 3290) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.ja va:482) at java.util.concurrent.FutureTask.run(FutureTask.java:273) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFuture Task.acc ess$201(ScheduledThreadPoolExecutor.java:193) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFuture Task.run (ScheduledThreadPoolExecutor.java:307) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExec utor.jav a:1176) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExe cutor.ja va:641) at java.lang.Thread.run(Thread.java:853) Caused by: psdi.util.MXApplicationException: BMXAA4146E - Not a valid GL account. Either the required components are not filled or the component values are not valid. Make sure the GL account value is entered in the appropriate format as defined in the GL Account application. at psdi.mbo.MAXTableDomain.validate(MAXTableDomain.java:166) at psdi.app.financial.FldPartialGLAccount.validate(FldPartialGLAcco unt.java :103) at psdi.mbo.MboValue.validate(MboValue.java:1708) at psdi.mbo.MboValue.setValue(MboValue.java:900) at psdi.mbo.MboValue._setValue(MboValue.java:1255) at psdi.mbo.MboGLValue._setValue(MboGLValue.java:83) at psdi.mbo.MboValue.setValue(MboValue.java:1151) at psdi.mbo.Mbo.setValue(Mbo.java:2359) at psdi.app.workorder.WO.setParentValuesForNestedjpWO(WO.java:4280) at psdi.app.workorder.WO.createOperations(WO.java:3905) at psdi.app.workorder.WO.createOperations(WO.java:3667) at psdi.app.workorder.WO.copyJobPlan(WO.java:3435) at psdi.app.workorder.WO.copyJobPlan(WO.java:3175) at psdi.app.workorder.WO.copyJobPlanToWorkPlan(WO.java:2913) ... 23 more
Local fix
N/A
Problem summary
**************************************************************** * USERS AFFECTED: * * Users generating WOs for multiple sites using PMs with * * nested job plans. * **************************************************************** * PROBLEM DESCRIPTION: * * When using PMWOGen to generate WOs for multiple sites across * * multiple organizations, child WOs belonging to nested * * hierarchies are incorrectly generated into the run-by user's * * default insert site, instead of the owning PM's site. * **************************************************************** * RECOMMENDATION: * ****************************************************************
Problem conclusion
The fix for this APAR is included in the following package: | Release 7.6.0.8 of Base Services.
Temporary fix
Comments
APAR Information
APAR number
IV92976
Reported component name
PREVENTIVE MAIN
Reported component ID
5724R46PM
Reported release
760
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2017-01-31
Closed date
2017-03-27
Last modified date
2017-03-27
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
PREVENTIVE MAIN
Fixed component ID
5724R46PM
Applicable component levels
R760 PSY
UP
R750 PSY
UP
[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCHPN7","label":"Prev Maint"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"760","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
27 March 2017