extractEmployeePeriodShiftsByIDNum 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 calculated employee time card shift data for the specified pay period

Syntax

  • AeShiftLineSimpleAry = AeXMLBridge.extractEmployeePeriodShiftsByIDNum(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 payPeriod = TPayPeriodEnum.ppeNext;
// using the next pay period

TPayLineStateEnum plState = TPayLineStateEnum.plsAsSaved;
TCalcedDataTypeEnum calced = TCalcedDataTypeEnum.cdtScheduled;

try
{
TAeShiftLineSimple[] sl = ws.extractEmployeePeriodShiftsByIDNum(empID, payPeriod, plState, sl);
}
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
Dim empID As String = "1234"
' using employee 1234

Dim payPeriod As TPayPeriodEnum = TPayPeriodEnum.ppeNext
' using the next pay period

Dim plState As TPayLineStateEnum = TPayLineStateEnum.plsAsSaved
Dim calced As TCalcedDataTypeEnum = TCalcedDataTypeEnum.cdtScheduled

Try
Dim sl As TAeShiftLineSimple() = ws.extractEmployeePeriodShiftsByIDNum(empID, payPeriod, plState, sl)
Catch ex As Exception
MessageBox.Show(ex.Message)
End Try

Remarks

  • None

Possible Errors

  • Unable to locate employee with identifier

Alternate Method

extractEmployeePeriodShiftsByFilekey

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

Back to Top