String dataSource = Settings.getInstance().getSiteInfo(CVUtility.getHostName(super.getServlet().getServletContext())).getDataSource();
ExpenseFormVOX expenseFormVOX = new ExpenseFormVOX(userobject, dynaform);
ExpenseFormVO expenseFormVO = expenseFormVOX.getExpenseFormVO();
// //ProjectFacadeHome pfh = (ProjectFacadeHome)CVUtility.getHomeObject("com.centraview.projects.projectfacade.ProjectFacadeHome","ProjectFacade");
HrFacadeHome hfh = (HrFacadeHome)
CVUtility.getHomeObject("com.centraview.hr.hrfacade.HrFacadeHome", "HrFacade");
try
{
HrFacade remote = (HrFacade) hfh.create();
remote.setDataSource(dataSource);
remote.createExpense(expenseFormVO, indvID);
ListGenerator lg = ListGenerator.getListGenerator(dataSource);
lg.makeListDirty("hr");