getPayrollEmployee() Method

Table of Contents

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

Function

  • Returns employee payroll information

Syntax

  • AePayrollEmployee = AeXMLBridge.getPayrollEmployee(IDNum);

Parameters

  • String - employee ID

Return Value

Sample Code

C#

1
2
3
4
5
6
7
8
9
10
11
string empID = "1234";
// using employee with ID "1234"

try
{
TAePayrollEmployee payrollEmployee = ws.getPayrollEmployee(empID);
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}

VB.Net

1
2
3
4
5
6
7
8
Dim empID As String = "1234"
' using employee with ID# 1234

Try
Dim payrollEmployee As TAePayrollEmployee = ws.getPayrollEmployee(IDNum)
Catch ex As Exception
MessageBox.Show(ex.Message)
End Try

Remarks

  • none

Possible Errors

  • No employee with ID number found

getEmptyPayrollEmployee
getPayPeriodClosureEmployees
getPayPeriodClosureStats
getPayrollEmployeesList
maintainPayrollEmployee
submitPayrollEmployees

Back to Top