Package com.centraview.hr.expenses

Examples of com.centraview.hr.expenses.HrExpenseForm


{
  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
View Full Code Here

TOP

Related Classes of com.centraview.hr.expenses.HrExpenseForm

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.