508 WebSphere Business Integration Adapters
SET MaintInfo = MaintInfo ||
InputRoot.MRM.RM_Tenant:RM_Maintenance.RM_Maintenance:RM_Maintenance[C].RM_Maintenance:ProblemD
escription ;
END IF;
IF
InputRoot.MRM.RM_Tenant:RM_Maintenance.RM_Maintenance:RM_Maintenance[C].RM_Maintenance:StatusDe
scription IS NULL THEN
ELSE
SET MaintInfo = MaintInfo || ' CURRENT STATUS INFO: ' ||
InputRoot.MRM.RM_Tenant:RM_Maintenance.RM_Maintenance:RM_Maintenance[C].RM_Maintenance:StatusDe
scription ;
END IF;
IF
InputRoot.MRM.RM_Tenant:RM_Maintenance.RM_Maintenance:RM_Maintenance[C].RM_Maintenance:Expected
Completion IS NULL THEN
ELSE
SET MaintInfo = MaintInfo || ' EXPECTED COMPLETION DATE: ' ||
InputRoot.MRM.RM_Tenant:RM_Maintenance.RM_Maintenance:RM_Maintenance[C].RM_Maintenance:Expected
Completion ;
END IF;
IF
InputRoot.MRM.RM_Tenant:RM_Maintenance.RM_Maintenance:RM_Maintenance[C].RM_Maintenance:ActualCo
mpletion IS NULL THEN
ELSE
IF
InputRoot.MRM.RM_Tenant:RM_Maintenance.RM_Maintenance:RM_Maintenance[C].RM_Maintenance:Status =
'C' THEN
SET MaintInfo = MaintInfo || ' ACTUAL COMPLETION: ' ||
InputRoot.MRM.RM_Tenant:RM_Maintenance.RM_Maintenance:RM_Maintenance[C].RM_Maintenance:ActualCo
mpletion ;
END IF;
END IF;
SET
OutputRoot.MRM.Web_tenant:ROOT.Web_tenant_tenant:Web_tenant_tenant.Web_tenant_tenant:apartments
.Web_tenant_apartments:Web_tenant_apartments.Web_tenant_apartments:apartment.Web_tenant_apartme
nt:Web_tenant_apartment.Web_tenant_apartment:maintenances.Web_tenant_maintenances:Web_tenant_ma
intenances.Web_tenant_maintenances:maintenance.Web_tenant_maintenance:Web_tenant_maintenance[C]
.Web_tenant_maintenance:description
= MaintInfo;