private String checkFieldAndReturnTransferType() {
        int fromProjectID = ((KeyValue) cmbFromProject.getSelectedItem()).getKey();
        int toProjectID = ((KeyValue) cmbToProject.getSelectedItem()).getKey();
        int fromDepartmentID = ((KeyValue) cmbFromDepartment.getSelectedItem()).getKey();
        int toDepartmentID = ((KeyValue) cmbToDepartment.getSelectedItem()).getKey();
        int fromLocationID = ((KeyValue) cmbFromLocation.getSelectedItem()).getKey();
        int toLocationID = ((KeyValue) cmbToLocation.getSelectedItem()).getKey();

        int[] check = {0, 0, 0};

        if (fromProjectID != toProjectID) {
            check[0] = 1;
        }
        if (fromDepartmentID != toDepartmentID) {
            check[1] = 1;
        }
        if (fromLocationID != toLocationID) {
            check[2] = 1;
        }

        int sum = 0;
        for (int i = 0; i < check.length; i++) {
            sum += check[i];
        }

        if (sum == 0) {
            //Error: No transfer ?
            return "";
        } else if (sum == 1) {
            //Transfer only one
            if (check[0] == 1) {
                //Project
                return "Project Transfer";
            }
            if (check[1] == 1) {
                //Department
                return "Department Transfer";
            }
            if (check[2] == 1) {
                //Location
                return "Location Transfer";
            }
            //Unexpected Error
            return "";
        } else {
            //Custom transfer
            return "Custom Transfer";
        }
    }