atLeastOne = true;
if ((processVO.getFileFormatSYS23().equals("XLS") ||
processVO.getFileFormatSYS23().equals("CSV1") ||
processVO.getFileFormatSYS23().equals("CSV2")) &&
vo.getField().getPosSYS24()==null)
return new ErrorResponse("A mandatory column is empty.");
if (processVO.getFileFormatSYS23().equals("TXT") &&
(vo.getField().getStartPosSYS24()==null ||
vo.getField().getEndPosSYS24()==null))
return new ErrorResponse("A mandatory column is empty.");
}
}
if (!atLeastOne)
return new ErrorResponse("you must select at least one column");
Response res = ClientUtils.getData("insertETLProcess",new Object[]{processVO,frame.getGrid().getVOListTableModel().getDataVector()});
if (!res.isError()) {
frame.getGrid().setMode(Consts.READONLY);
frame.getButtonExecNow().setEnabled(true);