if (irmtabRef > 0) {
msgLogged = Boolean.TRUE;
}
EntDbServiceRequest edpiod = new EntDbServiceRequest();
ServiceRequestPK serviceRequestPK = new ServiceRequestPK();
edpiod.setIntSystem("MACS");
// check as it's a mandatory field
if (fctDetails.getFCTID() != null
&& !fctDetails.getFCTID().isEmpty()) {
edpiod.setIntId(fctDetails.getFCTID());
} else {
LOG.info("Mandatory field FCT_ID is null or empty, Fact Message is rejected");
sendErroNotification(EnumExceptionCodes.EMAND,irmtabRef);
return null;
}
// check as it's a mandatory field
if (fctDetails.getMFLID() != null
&& !fctDetails.getMFLID().isEmpty()) {
// edpiod.setIntFlId(fctDetails.getMFLID());
serviceRequestPK.setIntFlId(fctDetails.getMFLID());
} else {
LOG.info("Mandatory field MFL_ID is null or empty, Fact Message is rejected");
sendErroNotification(EnumExceptionCodes.EMAND,irmtabRef);
return null;
}
// check as it's a mandatory field
if (fctDetails.getREFERENCENUMBER() != null
&& !fctDetails.getREFERENCENUMBER().isEmpty()) {
// edpiod.setIntRefNumber(fctDetails.getREFERENCENUMBER());
serviceRequestPK.setIntRefNumber(fctDetails.getREFERENCENUMBER());
} else {
LOG.info("Mandatory field REFERENCENUMBER is null or empty, Fact Message is rejected");
sendErroNotification(EnumExceptionCodes.EMAND,irmtabRef);
return null;
}