Table of Contents

Class ExitPaymentForecastBiz

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll
public class ExitPaymentForecastBiz : BizObjectOfType<ExitPaymentForecastVO>, IPnp, ISDKBiz, ISDKBaseBiz, ISDKContextAwareness, ITypedWS<ExitPaymentForecastVO>
Inheritance
ExitPaymentForecastBiz

Constructors

ExitPaymentForecastBiz()

public ExitPaymentForecastBiz()

ExitPaymentForecastBiz(ContextVO)

public ExitPaymentForecastBiz(ContextVO contextItem)

Parameters

Nome Tipo Descrição
contextItem ContextVO

Properties

DecimalsToRound

public int DecimalsToRound { get; }

Property Value

int

Methods

CreateEmployeeExitForecast(EmployeeVO, AssistExitConfig, List<MessageVO>)

public ExitPaymentForecastVO CreateEmployeeExitForecast(EmployeeVO employee, AssistExitConfig config, List<MessageVO> listMsg)

Parameters

Nome Tipo Descrição
employee EmployeeVO
config AssistExitConfig
listMsg List<MessageVO>

Returns

ExitPaymentForecastVO

OnActionAvailable(ActionVO, ActionFilterVO, ExitPaymentForecastVO)

protected override bool OnActionAvailable(ActionVO actionItem, ActionFilterVO filter, ExitPaymentForecastVO recordItem)

Parameters

Nome Tipo Descrição
actionItem ActionVO
filter ActionFilterVO
recordItem ExitPaymentForecastVO

Returns

bool

onAdding(ExitPaymentForecastVO, bool)

public override List<MessageVO> onAdding(ExitPaymentForecastVO itemVO, bool duplicating)

Parameters

Nome Tipo Descrição
itemVO ExitPaymentForecastVO
duplicating bool

Returns

List<MessageVO>

onDelete(ExitPaymentForecastVO, bool)

public override List<MessageVO> onDelete(ExitPaymentForecastVO itemVO, bool runWarningRules)

Parameters

Nome Tipo Descrição
itemVO ExitPaymentForecastVO
runWarningRules bool

Returns

List<MessageVO>

OnExecuteAction(ActionVO, ActionFilterVO, ExitPaymentForecastVO)

protected override PHCResult OnExecuteAction(ActionVO actionItem, ActionFilterVO filter, ExitPaymentForecastVO recordItem)

Parameters

Nome Tipo Descrição
actionItem ActionVO
filter ActionFilterVO
recordItem ExitPaymentForecastVO

Returns

PHCResult

OnGenericActionAvailable(ActionVO, ActionFilterVO, ExitPaymentForecastVO)

protected override bool OnGenericActionAvailable(ActionVO actionItem, ActionFilterVO filter, ExitPaymentForecastVO recordItem)

Parameters

Nome Tipo Descrição
actionItem ActionVO
filter ActionFilterVO
recordItem ExitPaymentForecastVO

Returns

bool

OnGetActions()

protected override List<ActionVO> OnGetActions()

Returns

List<ActionVO>

onSave(ExitPaymentForecastVO, bool)

public override List<MessageVO> onSave(ExitPaymentForecastVO itemVO, bool runWarningRules)

Parameters

Nome Tipo Descrição
itemVO ExitPaymentForecastVO
runWarningRules bool

Returns

List<MessageVO>

RecalculateAbsences(PayslipVO)

public void RecalculateAbsences(PayslipVO payslipItem)

Parameters

Nome Tipo Descrição
payslipItem PayslipVO

SetDeductionsFromDeductionForecasts(PayslipVO, List<DeductionForecastVO>)

public void SetDeductionsFromDeductionForecasts(PayslipVO payslipItem, List<DeductionForecastVO> deductionforecasts)

Parameters

Nome Tipo Descrição
payslipItem PayslipVO
deductionforecasts List<DeductionForecastVO>

SetEarningsFromCompensations(PayslipVO, List<CompensationVO>, bool)

public void SetEarningsFromCompensations(PayslipVO payslipItem, List<CompensationVO> compensations, bool applyObs = false)

Parameters

Nome Tipo Descrição
payslipItem PayslipVO
compensations List<CompensationVO>
applyObs bool

SyncAfter(ExitPaymentForecastVO)

public override List<MessageVO> SyncAfter(ExitPaymentForecastVO masterVO)

Parameters

Nome Tipo Descrição
masterVO ExitPaymentForecastVO

Returns

List<MessageVO>

SyncOnChange(ExitPaymentForecastVO, List<EntityChangeOperation>)

public override List<MessageVO> SyncOnChange(ExitPaymentForecastVO masterVO, List<EntityChangeOperation> changedItems)

Parameters

Nome Tipo Descrição
masterVO ExitPaymentForecastVO
changedItems List<EntityChangeOperation>

Returns

List<MessageVO>

UpdateCompensationDiscounts(PayslipVO, ExitPaymentForecastVO)

public void UpdateCompensationDiscounts(PayslipVO payslipItem, ExitPaymentForecastVO exitPaymentForecastItem)

Parameters

Nome Tipo Descrição
payslipItem PayslipVO
exitPaymentForecastItem ExitPaymentForecastVO