getClockGroupStationsSimple() Method

Table of Contents

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

Function

  • Returns a list of Stations for a selected Clock Group available within the system

Syntax

  • AeBasicDataItemsAry = AeXMLBridge.getClockGroupStationsSimple(ClockGroupNum);

Parameters

  • integer - clock group number

Return Value

Sample Code

C#

1
2
3
4
5
6
7
8
9
10
11
TAeBasicDataItems[] groups = ws.getClockGroupsSimple();   
// retrieve a list of clock groups

try
{
TAeBasicDataItems[] stations = ws.getClockGroupStationsSimple(groups[0].Num);
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}

VB.Net

1
2
3
4
5
6
7
8
Dim groups As TAeBasicDataItems() = ws.getClockGroupsSimple()
' retrieve a list of clock groups

Try
Dim stations As TAeBasicDataItems() = ws.getClockGroupStationsSimple(groups(0).Num)
Catch ex As Exception
MessageBox.Show(ex.Message)
End Try

Remarks

  • if the clock group parameter is not known you can use getClockGroupsSimple to retrieve a list of clock groups and their corresponding values

Possible Errors

  • Invalid Clock Group

ClientServerDateTime
extractNewDBElements
getActiveStatusConditions
getBaseClientData
getClockGroupsSimple
getClustersSimple
getClusterStationsSimple
getCompanyName
getCurrentBrowserProfileMenuItems
getHourlyStatusTypesSimple
getInactiveStatusConditions
getManuallySelectedSetupData
getPayClassesSimple
getPayDesignationsSimple
getPayPeriodClassData
getPayPeriodClasses
getPayTypes
getReasonCodesSimple
getSiteEnvironment
ServerUTCDateTime
setBaseClientData
updateNewDBElement

Back to Top