extractEmployeeDailySummsInPeriodByFilekey() Method

Table of Contents

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

Function

  • Returns employee’s day by day work summaries for the selected pay period

Syntax

  • AePayLineAry = AeXMLBridge.extractEmployeeDailySummariesInPeriodByFilekey(Filekey, 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
18

int filekey = 1234;
// using employee# 1234

TPayPeriodEnum payPeriod = TPayPeriodEnum.ppePrevious;
// using the previous pay period

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

try
{
TAePayLine[] payLines = ws.extractEmployeeDailySummsInPeriodByFilekey(filekey, payPeriod, plState, calced);
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}

VB.Net

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

Dim filekey As Integer = 1234
' using employee# 1234

Dim payPeriod As TPayPeriodEnum = TPayPeriodEnum.ppePrevious
' using the previous pay period

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

Try
Dim payLines As TAePayLine() = ws.extractEmployeeDailySummsInPeriodByFilekey(filekey, payPeriod, plState, calced)
Catch ex As Exception
MessageBox.Show(ex.Message)
End Try

Remarks

  • None

Possible Errors

  • No Such Employee with Filekey

Preferred Method

extractEmployeeDailySummsInPeriodByIDNum

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

Back to Top