setBaseClientData() 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

  • Sets (updates) information about the current client.

Syntax

  • AeXMLBridge.setBaseClientData(AeClientData);

Parameters

Return Value

  • None

Sample Code

C#

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
TAeClientData clientData = ws.getBaseClientData();                         
// get our current client data information

try
// updating some of the fields
{
clientData.CompanyAddr1 = "123 Main St.";
clientData.CompanyAddr2 = "Suite 100A";
clientData.CompanyCity = "Groveton";
clientData.CompanyName = "Sample Company";
clientData.CompanyStateProv = "IL";
clientData.CompanyZIPPC = "49100";

ws.setBaseClientData(clientData);
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}

VB.Net

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Dim clientData As TAeClientData = ws.getBaseClientData()
' get our current client data information

Try
clientData.CompanyAddr1 = "123 Main St."
' updating some of the fields

clientData.CompanyAddr2 = "Suite 100A"
clientData.CompanyCity = "Groveton"
clientData.CompanyName = "Sample Company"
clientData.CompanyStateProv = "IL"
clientData.CompanyZIPPC = "49100"

ws.setBaseClientData(clientData)

Catch ex As Exception
MessageBox.Show(ex.Message)
End Try

Remarks

  • You can retrieve the current client data using getBaseClientData for further information

Possible Errors

  • Invalid data entered

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

Back to Top