changeEmployeeACAFullTimeStatus 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

  • Change the employees’ Affordable Care Act Full Time Status for the specified date range

Syntax

  • AeXMLBridge.changeEmployeeACAFullTimeStatus(Filekey, FullTimeStatus, PeriodBegin, PeriodEnd, Comments, NonSeqOverride);

Parameters

  • Integer - employee filekey
  • Enumeration - TAeEmpACAFullTimeStatusOptions
  • String - period start date (yyyy-MM-dd format)
  • String - period end date (yyyy-MM-dd format)
  • String - comments
  • Boolean - Non Sequential Override (set to true if change is ad hoc)

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
int filekey = 1234;                                                        
// using employee# 1234

string periodBegin = DateTime.Now.AddDays(-60).ToString("yyyy-MM-dd");
string periodEnd = DateTime.Now.ToString("yyyy-MM-dd");
// date range will be the prior 60 days

TAeEmpACAFullTimeStatusOptions statusOption = TAeEmpACAFullTimeStatusOptions.eaftsFullTime;

string comments = "Changing Status";

try
{
ws.changeEmployeeACAFullTimeStatus(filekey, statusOption, periodBegin, periodEnd, comments, false);
}
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
Dim filekey As Integer = 1234
' using employee# 1234

Dim periodBegin As String = DateTime.Now.AddDays(-60).ToString("yyyy-MM-dd")
' date range will be the prior 60 days
Dim periodEnd As String = DateTime.Now.ToString("yyyy-MM-dd")

Dim statusOption As TAeEmpACAFullTimeStatusOptions = TAeEmpACAFullTimeStatusOptions.eaftsFullTime

Dim comments As String = "Changing Status"

Try
ws.changeEmployeeACAFullTimeStatus(filekey, statusOption, periodBegin, periodEnd, comments, false)
Catch ex As Exception
MessageBox.Show(ex.Message)
End Try

Remarks

  • None

Possible Errors

  • No Such Employee with Filekey
  • yyyy-mm-dd is required [Date supplied in invalid format]

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

Back to Top