extractEmployeePeriodShiftDetailsByIDNum 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

  • Extracts an employee’s shift details for a selected pay period

Syntax

  • AeShiftLineDetailAry = AeXMLBridge.extractEmployeePeriodShiftDetailsByIDNum(IDNum, PayPeriodEnum, PayLineStateEnum, CalcedDataTypeEnum);

Parameters

Return Value

Sample Code

C#

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

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

TPayLineStateEnum plState = TPayLineStateEnum.plsCalculated;
TCalcedDataTypeEnum calced = TCalcedDataTypeEnum.cdtNormal;

try
{
TAeShiftLineDetail[] details = ws.extractEmployeePeriodShiftDetailsByIDNum(empID, period, plState, calced);
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}

Sample Code VB.Net

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

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

Dim plState As TPayLineStateEnum = TPayLineStateEnum.plsCalculated
' default settings
Dim calced As TCalcedDataTypeEnum = TCalcedDataTypeEnum.cdtNormal

Try
Dim details As TAeShiftLineDetail() = ws.extractEmployeePeriodShiftDetailsByIDNum(empID, period, plState, calced)
Catch ex As Exception
MessageBox.Show(ex.Message)
End Try

Remarks

Possible Errors

  • Unable to locate employee with identifier

Alternate Method

extractEmployeePeriodShiftDetailsByFilekey

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

Back to Top