Table of Contents

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

Nome Tipo Descrição
contextItem ContextVO

Methods

ExistAbsencesForthatEmployee(DateTime, decimal)

public static bool ExistAbsencesForthatEmployee(DateTime adate, decimal employeeID)

Parameters

Nome Tipo Descrição
adate DateTime
employeeID decimal

Returns

bool

ExistAbsencesForthatEmployee(int, decimal, bool)

public static bool ExistAbsencesForthatEmployee(int Year, decimal employeeID, bool isAdmissionYear)

Parameters

Nome Tipo Descrição
Year int
employeeID decimal
isAdmissionYear bool

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

Nome Tipo Descrição
stamps List<string>
startDate DateTime
endDate DateTime

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

Nome Tipo Descrição
employeeId decimal
refDate DateTime

Returns

List<AbsenceVO>

GetRelatedAbsences(string)

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

Nome Tipo Descrição
employeeid decimal
adate DateTime
absencestamp string

Returns

List<AbsenceVO>

GetUnprocessedRows(decimal, DateTime, decimal)

public static List<AbsenceVO> GetUnprocessedRows(decimal employeeId, DateTime refDate, decimal payslipId)

Parameters

Nome Tipo Descrição
employeeId decimal
refDate DateTime
payslipId decimal

Returns

List<AbsenceVO>

GetUnprocessedRowsForAllEmployees(DateTime)

public static List<AbsenceVO> GetUnprocessedRowsForAllEmployees(DateTime refDate)

Parameters

Nome Tipo Descrição
refDate DateTime

Returns

List<AbsenceVO>