getEmployeeDetailByFilekey() Method

Table of Contents

  1. Function
  2. Syntax
  3. Parameters
  4. Return Value
  5. Sample Code
  6. Remarks
  7. Possible Errors
  8. Preferred Method
  9. Alternate Methods
  10. Related Methods

Function

  • Returns detail level information about the selected employee

Syntax

  • AeEmployeeDetail = AeXMLBridge.getEmployeeDetailByFilekey(filekey);

Parameters

  • Integer - employee filekey

Return Value

Sample Code

C#

1
2
3
4
5
6
7
8
9
10
11
int filekey = 1234;                                                          
// using employee with filekey# 1234

try
{
TAeEmployeeDetail empDetail = ws.getEmployeeDetailByFilekey(filekey);
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}

VB.Net

1
2
3
4
5
6
7
8
Dim filekey As Integer = 1234
' using employee with filekey# 1234

Try
Dim empDetail As TAeEmployeeDetail = ws.getEmployeeDetailByFilekey(filekey)
Catch ex As Exception
MessageBox.Show(ex.Message)
End Try

Remarks

  • None

Possible Errors

  • No employee with filekey found

Preferred Method

getEmployeeDetail2ByIDNum

Alternate Methods

getEmployeeDetailByBadge
getEmployeeDetailByIDNum
getEmployeeDetailBySSN

getEmployeesListDetail2FromHyperQuery
getEmployeesListDetail2FromHyperQueryWorkgroupFilter
getEmployeesSearchListDetail2
getEmptyEmployeeDetail2

Back to Top