{
private ExpenseFormVO objExpenseFormVO = null;
public ExpenseFormVOX(UserObject objUserObject, ActionForm AexpenseForm)
{
HrExpenseForm expenseForm = (HrExpenseForm)AexpenseForm;
this.setExpenseFormID(expenseForm.getExpenseFormID());
this.setReportingId(expenseForm.getReporttoID());
this.setReportingTo(expenseForm.getReportingTo());
this.setEmployeeId(expenseForm.getEmployeeID());
this.setEmployee(expenseForm.getEmployee());
int individualId = objUserObject.getIndividualID();
this.setCreatedBy(individualId);
this.setModifiedBy(individualId);
this.setStatus(expenseForm.getStatus());
String sCreatedDate = expenseForm.getCreatedDate();
java.sql.Date fromDate = new java.sql.Date(Integer.parseInt(expenseForm.getFromyear()), Integer.parseInt(expenseForm.getFrommonth())-1, Integer.parseInt(expenseForm.getFromday()));
this.setFrom(fromDate);
java.sql.Date toDate = new java.sql.Date(Integer.parseInt(expenseForm.getToyear()), Integer.parseInt(expenseForm.getTomonth())-1, Integer.parseInt(expenseForm.getToday()));
this.setTo(toDate);
this.setDescription(expenseForm.getFormDescription());
this.setAmount(expenseForm.getAmount());
this.setNotes(expenseForm.getNotes());
this.setHrExpenseLines(expenseForm.getItemLines());
} // end ExpenseFormVOX(UserObject,ActionForm) method