public static string GetCompanyName(int EmployeeID) // 'Gets the company name based on the companyID for the staff
 {
     string result;
     result = new RobotStandardTableAdapters.QueriesTableAdapter().SmartGetCompanyName(EmployeeID).ToString();
     return result;
 }
 public static string GetActivityPath() // 'this function returns the approvalstage based on supervisor type of the designation
 {
     string result;
     result = new RobotStandardTableAdapters.QueriesTableAdapter().SmartValidateActivityPath(GetEmployeeID()).ToString();
     return result;
 }
	public static string GetSupervisorEmail()	//'this function returns the employees present supervisor email
	{
	    string result;
        result = new RobotStandardTableAdapters.QueriesTableAdapter().SmartGetSupervisorEmail(GetSupervisorID()).ToString();
        return result;	
	}
	public static string GetProperEmployeeName(int EmployeeID) 
	{
		string result;
        result = new RobotStandardTableAdapters.QueriesTableAdapter().SmartGetProperEmployeeName(EmployeeID).ToString();
        return result;	
	}
 public static string GetUnitName(int EmployeeID)	// 'this function returns the employees UnitName
 {
     string result;
     result = new RobotStandardTableAdapters.QueriesTableAdapter().SmartGetUnitName(GetEmployeeID()).ToString();
     return result;
 }
    public static string GetDepartmentName(int EmployeeID) //'this function returns the department name
    {
        string result;
        result = new RobotStandardTableAdapters.QueriesTableAdapter().SmartGetDepartmentName(EmployeeID).ToString();
        return result;

    }
    public static string Getcostcentername(int EmployeeID) //'this function returns the cost centre name
    {
        string result;
        result = new RobotStandardTableAdapters.QueriesTableAdapter().SmartGetcostcenterID(EmployeeID).ToString();
        return result;

    }
 public static string GetDesignationName(int EmployeeID) //this function returns the employees designation Name
 {
     string result;
     result = new RobotStandardTableAdapters.QueriesTableAdapter().SmartGetDesignationName(EmployeeID).ToString();
     return result;
 }
	public static String GetEmployeeName(int intEmployeeID)  //'this function returns the users employeename
	{  
        String EmployName;
        EmployName = new RobotStandardTableAdapters.QueriesTableAdapter().SmartGetEmployeeName(intEmployeeID).ToString();
	    return EmployName;
	}