recomputeEmployeeByIDNum() Method

Table of Contents

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

Function

  • Recomputes an employee’s pay data for a selected pay period

Syntax

  • AeXMLBridge.recomputeEmployeeByIDNum(IDNum, PayPeriodEnum);

Parameters

Return Value

  • None

Sample Code

C#

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

string empID = "1234";
// using employee with ID 1234

TPayPeriodEnum payPeriod = TPayPeriodEnum.ppeCurrent;
// lets use the current pay period

try
{
ws.recomputeEmployeeByIDNum(IDNum, payPeriod);
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}

VB.Net

1
2
3
4
5
6
7
8
9
10
11
12

Dim empID as String = "1234"
' using employee with ID 1234

Dim payPeriod As TPayPeriodEnum = TPayPeriodEnum.ppeCurrent
' lets use the current pay period

Try
ws.recomputeEmployeeByIDNum(empID, payPeriod)
Catch ex As Exception
MessageBox.Show(ex.Message)
End Try

Remarks

  • None

Possible Errors

  • No such employee with identifier

Alternate Method

recomputeEmployeeByFilekey

recomputeEmployeeAccrualsByIDNum
recomputeEmployeeIncidentsByIDNum

Back to Top