Class AbsenceDataManager
- Namespace
- PHCBusinessLayer
- Assembly
- PHCBusinessLayer.dll
public class AbsenceDataManager : BizDataManagerOfType<AbsenceVO>, IPnp, ISDKContextAwareness
- Inheritance
-
AbsenceDataManager
Constructors
AbsenceDataManager()
public AbsenceDataManager()
AbsenceDataManager(ContextVO)
public AbsenceDataManager(ContextVO contextItem)
Parameters
Methods
ExistAbsencesForthatEmployee(DateTime, decimal)
public static bool ExistAbsencesForthatEmployee(DateTime adate, decimal employeeID)
Parameters
Returns
- bool
ExistAbsencesForthatEmployee(int, decimal, bool)
public static bool ExistAbsencesForthatEmployee(int Year, decimal employeeID, bool isAdmissionYear)
Parameters
Returns
- bool
ExistAbsencesForthatReferenceYearForOtherAbsenceType(string, int, int, bool)
public static bool ExistAbsencesForthatReferenceYearForOtherAbsenceType(string absenceTypeStamp, int Year, int employeeID, bool isAdmission)
Parameters
| Nome |
Tipo |
Descrição |
absenceTypeStamp |
string |
|
Year |
int |
|
employeeID |
int |
|
isAdmission |
bool |
|
Returns
- bool
ExistAbsencesForthatReferenceYearForThatAbsenceType(string, int, int, bool)
public static bool ExistAbsencesForthatReferenceYearForThatAbsenceType(string absenceTypeStamp, int Year, int employeeID, bool isAdmission)
Parameters
| Nome |
Tipo |
Descrição |
absenceTypeStamp |
string |
|
Year |
int |
|
employeeID |
int |
|
isAdmission |
bool |
|
Returns
- bool
GetAbsencesForCalendar(List<string>, DateTime, DateTime)
public PHCResult GetAbsencesForCalendar(List<string> stamps, DateTime startDate, DateTime endDate)
Parameters
Returns
- PHCResult
GetAllVacationsFromYear(int)
public static List<AbsenceVO> GetAllVacationsFromYear(int year)
Parameters
| Nome |
Tipo |
Descrição |
year |
int |
|
Returns
- List<AbsenceVO>
GetPayslipAbsences(decimal)
public List<AbsenceVO> GetPayslipAbsences(decimal payslipId)
Parameters
| Nome |
Tipo |
Descrição |
payslipId |
decimal |
|
Returns
- List<AbsenceVO>
GetProcessedAbsences(decimal, DateTime)
public static List<AbsenceVO> GetProcessedAbsences(decimal employeeId, DateTime refDate)
Parameters
Returns
- List<AbsenceVO>
public List<AbsenceVO> GetRelatedAbsences(string absenceOriginStamp)
Parameters
| Nome |
Tipo |
Descrição |
absenceOriginStamp |
string |
|
Returns
- List<AbsenceVO>
GetRowAbsenceType(string)
public AbsenceVO GetRowAbsenceType(string absencetypestamp)
Parameters
| Nome |
Tipo |
Descrição |
absencetypestamp |
string |
|
Returns
- AbsenceVO
GetRowSameDateSameUser(decimal, DateTime, string)
public List<AbsenceVO> GetRowSameDateSameUser(decimal employeeid, DateTime adate, string absencestamp)
Parameters
Returns
- List<AbsenceVO>
GetUnprocessedRows(decimal, DateTime, decimal)
public static List<AbsenceVO> GetUnprocessedRows(decimal employeeId, DateTime refDate, decimal payslipId)
Parameters
Returns
- List<AbsenceVO>
GetUnprocessedRowsForAllEmployees(DateTime)
public static List<AbsenceVO> GetUnprocessedRowsForAllEmployees(DateTime refDate)
Parameters
Returns
- List<AbsenceVO>