supplier.create(s);
supplier.refresh(s);
}
}
Classification c = new Classification();
if(!fCkey.getValue().isEmpty() &&
!fClass.getValue().isEmpty()) {
c.getByClassification(conn, classification,
fCkey.getValue(), fClass.getValue());
Integer class_id = c.getId();
if(class_id != 0 && class_id != null) {
if(!c.getDescription().equalsIgnoreCase(fClass.getValue())) {
classification.update(c);
}
if(!c.getCkey().equalsIgnoreCase(fCkey.getValue())) {
classification.update(c);
}
classification.refresh(c);
} else {
c = new Classification(fCkey.getValue(), fClass.getValue());
classification.create(c);
classification.refresh(c);
}
}