extractEmployeeTransactionsByIDNum() 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

  • Returns an employee’s punch data for a specified pay period

Syntax

  • AeTransactionAry = AeXMLBridge.extractEmployeeTransactionsByIDNum(IDNum, PayPeriodEnum);

Parameters

Return Value

Sample Code

C#

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

TPayPeriodEnum payPeriod = TPayPeriodEnum.ppeCurrent;
// current pay period

try
{
TAeTransaction[] punches = ws.extractEmployeeTransactionsByIDNum(empID, payPeriod);
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}

Sample Code

VB.Net

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

Dim payPeriod As TPayPeriodEnum = TPayPeriodEnum.ppeCurrent
' current pay period

Try
Dim punches As TAeTransaction() = ws.extractEmployeeTransactionsByIDNum(empID, payPeriod)
Catch ex As Exception
MessageBox.Show(ex.Message)
End Try

Remarks

  • None

Possible Errors

  • Unable to locate employee with identifier

Alternate Method

extractEmployeeTransactionsByFilekey

extractAttendanceMultiFormActivityUsingHyperQuery
extractEmployeeDailySummsByIDNum
extractEmployeeDailySummsInPeriodByIDNum
extractEmployeeDurationTotalsByIDNum
extractEmployeeEditsByIDNum
extractEmployeePeriodFrameByIDNum
extractEmployeePeriodShiftDetailsByIDNum
extractEmployeePeriodShiftsByIDNum
extractEmployeePeriodShiftTransactionsByIDNum
extractEmployeePeriodSummsByIDNum
extractEmployeeSummsByIDNum
extractPayPeriodSummaries
extractRangedTransactionsUsingHyperQuery
getManuallySelectedCalculatedData

Back to Top