Failure Class is a hierarchy with Problem, Cause and Remedy for a specific category of failure, for example, PUMPS, ECIRCUIT etc.,
Failure Class can be associated with an Asset or Location. It will be copied to a Work Order if it is linked to this Asset or Location.
Failure codes are PB01, CA01, RY01 etc., failureclass --> PUMPS.
MXLoader:
PARENT column in the insert DML statement is retrieved using the SELECT subquery. The sql scripts for the entire hierarchy need to be prepared using the CONCAT formula in EXCEL
Create Problem with failure codes
insert into failurelist (failurelist,failurecode, type, orgid, parent) values (failurelistseq.nextval,'PB01','PROBLEM','EAGLENA', (select failurelist from failurelist where failurecode ='PUMPS' and orgid='EAGLENA'));
PB01 is the problem code ; PUMPS is the failure class under which the Problem-Cause-Remedy hierarchy is going to be formed
Create Cause with failure codes
insert into failurelist (failurelist,failurecode, type, orgid, parent) values (failurelistseq.nextval,'CA01','CAUSE', 'EAGLENA', (select failurelist from failurelist where type = 'PROBLEM' and failurecode ='PB01' and orgid='EAGLENA'));
PB01 is the problem code already created in step 2 ; CA01 is the cause under PB01 ; PB01 --> CA01
Create Remedy with failure codes
insert into failurelist (failurelist, failurecode,type, orgid, parent) values (failurelistseq.nextval,'RY01','REMEDY','EAGLENA', (select failurelist from failurelist where failurecode ='CA01' and type = 'CAUSE' and orgid = 'EAGLENA' and parent = (select failurelist from failurelist where orgid = ' EAGLENA' and type = 'PROBLEM' and failurecode = 'PB01')));
PB01 is the problem code already created in step 2 ; CA01 is the cause already created in step 3
RY01 is remedy created for PB01 -> CA01 -> RY01
To form the insert scripts, we would use excel =CONCAT formula in the worksheet.
Use sql to verify the data loaded into Maximo
Reference: