getEmployeeTransferRate() 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 an employee’s single transfer rate information

Syntax

  • AeEmpTranRate = AeXMLBridge.getEmployeeTransferRate(UniqueID);

Parameters

  • Integer - UniqueID

Return Value

Sample Code

C#

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
int empID = "1234";                                                        
// using employee with id# 1234

TAeEmpTranRate[] rates = ws.getEmployeeTransferRatesByIDNum(empID);
// retrieve transfer history for employee. Each record will
// contain the UniqueID we need as a parameter

try
{
TAeEmpTranRate rate = ws.getEmployeeTransferRate(rates[0].UniqueID);
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}

VB.Net

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

Dim rates As TAeEmpTranRate() = ws.getEmployeeTransferRatesByIDNum(empID)
' retrieve transfer history for employee. Each record will contain the UniqueID we need as a parameter

Try
Dim rate As TAeEmpTranRate = ws.getEmployeeTransferRate(rates(0).UniqueID)
Catch ex As Exception
MessageBox.Show(ex.Message)
End Try

Remarks

Possible Errors

  • No such employee with transfer rate ID

addEmployeeTransferRate
appendEmployeeTransferByIDNum
getEmployeeTransferRatesByIDNum
removeEmployeeTransferRate
transferEmployeeNowBYIDNum
updateEmployeeTransferRate

Back to Top