setEmployeeACA 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) an employee’s ACA (Affordable Care Act) data

Syntax

  • AeXMLBridge.setEmployeeACA(AeEmployeeACA);

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
20
21
22
nt filekey = 1234;                                                        
// working with employee with filekey 1234

TAeEmployeeACA empACA = ws.getEmployeeACAByFilekey(filekey);
// get the current employee ACA data

empACA.AutoApply = TAeEmpACAAutoApplyACAOptions.eaaEnabledOnFullTime;
empACA.ControlGroupID = 1;
empACA.FullTimeStatusID = 0;
empACA.MPeriodMode = TAeEmpACAMPeriodMode.eampControlGroup;
empACA.NoReview = TAeEmpACANoReviewOptions.eanrPermFT;
empACA.Seasonal = TAeEmpACASeasonalOptions.easNormal;
// update a few of the fields

try
{
ws.setEmployeACA(empACA);
}
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
15
16
17
18
Dim filekey As Integer = 1234
' working with employee with filekey 1234

Dim empACA As TAeEmployeeACA = ws.getEmployeeACAByFilekey(filekey)
' get the current employee ACA data

empACA.AutoApply = TAeEmpACAAutoApplyACAOptions.eaaEnabledOnFullTime
empACA.ControlGroupID = 1
empACA.FullTimeStatusID = 0
empACA.MPeriodMode = TAeEmpACAMPeriodMode.eampControlGroup
empACA.NoReview = TAeEmpACANoReviewOptions.eanrPermFT
empACA.Seasonal = TAeEmpACASeasonalOptions.easNormal

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

Remarks

  • You can update some or all of the fields in the TAeEmployeeACA structure

changeEmployeeACAFullTimeStatus
closeEmployeeMeasurementPeriod
extractACAEmployeesFTStatusAsOf
extractACALEDSummaries
getClosedEmployeeMeasurementPeriods
getControlGroups
getEmployeeACAByIDNum
getEmployeeACADateRange
getEmployeeACAPeriods
getEmployeeEarliestStabilityPeriodStart
getEmployeeMeasurementPeriodRecommendation
getEmployeeMeasurementPeriodWasClosed
getEmptyEmployeeACA
getExpiredUnaddressedMeasurementPeriods
getFirstDateOfACAServiceHours
restartEmployeeACAPeriods
reverseClosedEmployeeMeasurementPeriod
revertEmployeeACAAssignments
submitEmployeeEarnings

Back to Top