48 lines
1.3 KiB
C#
48 lines
1.3 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using Ease.CoreV35;
|
|
using Ease.CoreV35.Model;
|
|
using Ease.CoreV35.Caching;
|
|
using System.Data.Linq.Mapping;
|
|
using System.Data;
|
|
|
|
namespace Payroll.BO
|
|
{
|
|
[Serializable]
|
|
public class OpiExceptionCalculator
|
|
{
|
|
private int _opiLFA = 1;
|
|
private int _opiUtility = 11;
|
|
private int _opiKpi = 4;
|
|
private int _opiPTI = 25;
|
|
|
|
public OpiExceptionCalculator()
|
|
{
|
|
|
|
}
|
|
/// <summary>
|
|
///
|
|
// find the employee is applicable for KPI
|
|
|
|
// if Kpi eligible, find out LFA and unitilty monthlyAmount from OPI Process detail Item
|
|
// KPI = LFA + Utility + (2100 percent basic)/12
|
|
|
|
// No_of_paid_month = Jan to Next_Pay_Process_Month
|
|
// paidAmount= get cumalative monthlyAmount on month range
|
|
// net_Amount= KPI + {(No_of_paid_month * KPI) - paidAmount}
|
|
|
|
// find the KPI paramter for percent of base/gross
|
|
// do percent of Net_amount;
|
|
// update opiprocessdetailItem of kpi
|
|
|
|
/// </summary>
|
|
/// <param name="oprocess"></param>
|
|
public void CalculationException(ObjectsTemplate<OPIProcessDetail> oprocessdetails, DateTime opiMonth)
|
|
{
|
|
|
|
}
|
|
}
|
|
}
|