reportId = reportLocal.getReportId();
ArrayList selectedFields = reportVO.getSelectedFields();
n = selectedFields.size();
for (int i = 0; i < n; i++) {
field = (ReportContentVO) selectedFields.get(i);
reportContentLocal = reportContentHome.create(field.getFieldId(), field.getTableId(), reportId, ++seqNumber, field.getSortOrder(), field
.getSortSeq(), this.dataSource);
}
return reportId;
} catch (Exception e) {
throw new EJBException(e);