BF [ 1989090 ] Incorrect HRProcess.getConceptGroup behaviour

This commit is contained in:
teo_sarca 2008-06-27 15:34:38 +00:00
parent d4d6fea6fb
commit d990073486
1 changed files with 1 additions and 1 deletions

View File

@ -662,7 +662,7 @@ public class MHRProcess extends X_HR_Process implements DocAction {
public static double getConceptGroup (String pconcept) public static double getConceptGroup (String pconcept)
{ {
String sqlConcept = "SELECT MAX(HR_Concept_Category_ID) From HR_Concept WHERE TRIM(VALUE) = '" + pconcept.trim() +"'"; String sqlConcept = "SELECT MAX(HR_Concept_Category_ID) From HR_Concept_Category WHERE TRIM(VALUE) = '" + pconcept.trim() +"'";
int HR_Concept_Category_ID = DB.getSQLValue(null, sqlConcept); int HR_Concept_Category_ID = DB.getSQLValue(null, sqlConcept);
if(HR_Concept_Category_ID < 0) if(HR_Concept_Category_ID < 0)
return 0; return 0;