setManuallySelectedSetupData() Method

Table of Contents

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

Function

  • Upload client configuration data to Attendance on Demand

Syntax

  • AeExchangeStruct := AeXMLBridge.setManuallySelectedSetupData(AeExchangeStruct);

Parameters

  • [TAeExchangeStruct] Structure designed to pass a single string that represents an X-Y (spreadsheet-like) matrix.

Return Value

  • Returns a [TAeExchangeStruct] structure.

Remarks

  • setManuallySelectedSetupData() is designed to accept a series of “system setup” commands, each identifying a data item that is not native to the system.

  • These values are passed using the structure defined in the TAeExchangeStruct definition. For visual clarity, they are rendered as field,field[cr,lf] within these pages.

  • These commands are not case sensitive.

  • Please see [TAeExchangeStruct] for packaging up this data and un-packaging return data.

Example

  • WGORG PAYGROUP

Remarks

  • Upload WGOrg List

    • WGORG,9185604962280,1000,Administration,1,2, 91856452462280

    • WGORG,68691165223657,1,Payroll,1,1, 9185604923230

    • WGORG,68691165223661,100,Seattle Location,1,2, 91232204962280

Field Positioning

Unique Identifier Code Name/Descr (Required) Number (OrgLevel) Aux1 (OrgParent) Aux2 (OrgParentUID)

| WGORG | 9185604962280 | 1000 | Administration | 1 | 2 | 91856452462280 |

Data represents one line for each Organization Entity using data native to the payroll application. Note: If OrgParent is 1, no OrgParentUID is expected.

Example

  • PAYGROUP (sample)

    • PAYGROUP,91856049622,Weekly Employees,W,12/13/1999,12/20/1999,0,0

    • PAYGROUP,91928249622,BiWeekly Employees,B,12/13/1999,12/27/1999,0,0

Field Positioning

Unique Identifier Label (Required) Duration Indicator (W,B,S,C) Start Date End Date Aux1 Aux2

| PAYGROUP | 9185604962280 | Weekly Employees | W | 12/13/1999 | 12/20/1999 | 0 | 0 |

Sample Code

C#

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

## Sample Code

C#
```CSharp

try
{
TAeClientVendorOp vendorOp = ws.getEmptyClientVendorOp();
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}

VB.Net

1
2
3
4
5
6

Try
Dim vendorOp As TAeClientVendorOp = ws.getEmptyClientVendorOp()
Catch ex As Exception
MessageBox.Show(ex.Message)
End Try

Notes

  • When sending WGORG entries, all WGORG entries must be included as the AoD system will interpret the data sent to represent all the data available.

  • When sending PAYGROUP entries, all PAYGROUP entries must be included as the AoD system will interpret the data sent to represent all the data available.

The purpose of this operation is to feed Org information to AoD so AoD service technicians can create AoD Workgroups and map the 3rd party OrgUID to the AoD Workgroups. Once this has been done, employee data can be synchronized by passing the OrgUID in the WGDescr field instead of populating the 7 integers required for each workgroup level. Alternatively, employee data retrieved from AoD will contain the WGDescr field populated with the OrgUID.