Пример #1
0
        public SaveOriginalDataResponse SaveOriginalData(SaveOriginalDataRequest request)
        {
            var response = new SaveOriginalDataResponse();
            try
            {
                foreach (var datum in request.OriginalData)
                {
                    var layoutItem = new DerLayoutItem { Id = datum.LayoutItemId };
                    if (DataContext.DerLayoutItems.Local.FirstOrDefault(x => x.Id == layoutItem.Id) == null)
                    {
                        DataContext.DerLayoutItems.Attach(layoutItem);
                    }
                    else
                    {
                        layoutItem = DataContext.DerLayoutItems.Local.FirstOrDefault(x => x.Id == layoutItem.Id);
                    }

                    switch (datum.Type)
                    {
                        case "job-pmts":
                            {
                                if (datum.IsKpiAchievement)
                                {
                                    SaveOriginalDataRequest.OriginalDataRequest datum1 = datum;
                                    var kpi = DataContext.Kpis.Single(x => x.Id == datum1.KpiId);
                                    var kpiAchievements = DataContext.KpiAchievements
                                        .Include(x => x.Kpi)
                                        .Where(x => x.Kpi.Id == datum1.KpiId && ((x.Periode.Month == datum1.Periode.Month &&
                                                                             x.Periode.Year == datum1.Periode.Year) || x.Periode.Year == datum1.Periode.Year)).ToList();
                                    var kpiAchievementYearly =
                                        DataContext.KpiAchievements.Where(
                                            x => x.Periode.Year == 2016 && x.PeriodeType == PeriodeType.Yearly).ToList();
                                    var dailyActual = kpiAchievements.FirstOrDefault(x => x.PeriodeType == PeriodeType.Daily
                                        && x.Periode.Day == datum1.Periode.Day);

                                    if (!string.IsNullOrEmpty(datum1.Data))
                                    {
                                        double val;
                                        bool isParsed = double.TryParse(datum1.Data, out val);
                                        if (isParsed)
                                        {
                                            if (dailyActual != null)
                                            {
                                                dailyActual.Value = val;
                                            }
                                            else
                                            {
                                                dailyActual = new KpiAchievement
                                                {
                                                    Kpi = DataContext.Kpis.Single(x => x.Id == datum.KpiId),
                                                    Value = val
                                                };
                                                DataContext.KpiAchievements.Add(dailyActual);
                                            }
                                        }
                                    }

                                    var monthly = kpiAchievements.Where(x => x.PeriodeType == PeriodeType.Daily &&
                                                                              (x.Periode.Month == datum1.Periode.Month &&
                                                                               x.Periode.Year == datum1.Periode.Year))
                                                                  .AsQueryable();
                                    double? achievementMtd = null;
                                    if (kpi.YtdFormula == YtdFormula.Sum)
                                    {
                                        achievementMtd = monthly.Sum(x => x.Value);
                                    }
                                    else if (kpi.YtdFormula == YtdFormula.Average)
                                    {
                                        achievementMtd = monthly.Average(x => x.Value);
                                    }

                                    var monthlyActual = monthly.FirstOrDefault();

                                    if (monthlyActual != null)
                                    {
                                        monthlyActual.Value = achievementMtd;
                                    }

                                    var yearly = kpiAchievements.Where(x => x.PeriodeType == PeriodeType.Monthly && x.Periode.Year == datum1.Periode.Year)
                                                                  .AsQueryable();
                                    double? achievementYtd = null;
                                    if (kpi.YtdFormula == YtdFormula.Sum)
                                    {
                                        achievementYtd = yearly.Sum(x => x.Value);
                                    }
                                    else if (kpi.YtdFormula == YtdFormula.Average)
                                    {
                                        achievementYtd = yearly.Average(x => x.Value);
                                    }

                                    var yearlyActual = yearly.FirstOrDefault();
                                    if (yearlyActual != null)
                                    {
                                        yearlyActual.Value = achievementYtd;
                                    }
                                }
                                break;
                            }
                        default:
                            {
                                if (datum.Id > 0)
                                {
                                    var originalData = datum.MapTo<DerOriginalData>();
                                    originalData.LayoutItem = layoutItem;
                                    DataContext.DerOriginalDatas.Attach(originalData);
                                    DataContext.Entry(originalData).State = EntityState.Modified;
                                }
                                else
                                {
                                    var originalData = datum.MapTo<DerOriginalData>();
                                    originalData.LayoutItem = layoutItem;
                                    DataContext.DerOriginalDatas.Add(originalData);
                                }
                                break;
                            }
                    }
                }

                //DataContext.SaveChanges();
                response.IsSuccess = true;
            }
            catch (Exception exception)
            {
                response.Message = exception.Message;
            }

            return response;
        }
Пример #2
0
        public UpdateKpiAchievementsResponse UpdateKpiAchievements(UpdateKpiAchievementsRequest request)
        {
            PeriodeType periodeType = (PeriodeType)Enum.Parse(typeof(PeriodeType), request.PeriodeType);
            var response = new UpdateKpiAchievementsResponse();
            response.PeriodeType = periodeType;

            try
            {
                foreach (var pillar in request.Pillars)
                {
                    foreach (var kpi in pillar.Kpis)
                    {
                        foreach (var kpiAchievement in kpi.KpiAchievements)
                        {
                            if (kpiAchievement.Id == 0)
                            {
                                var kpiAchievementNew = new KpiAchievement();
                                kpiAchievementNew.Value = kpiAchievement.Value;
                                kpiAchievementNew.Kpi = DataContext.Kpis.Single(x => x.Id == kpi.Id);
                                kpiAchievementNew.PeriodeType = periodeType;
                                kpiAchievementNew.Periode = kpiAchievement.Periode;
                                kpiAchievementNew.IsActive = true;
                                kpiAchievementNew.Remark = kpiAchievement.Remark;
                                kpiAchievementNew.CreatedDate = DateTime.Now;
                                kpiAchievementNew.UpdatedDate = DateTime.Now;
                                DataContext.KpiAchievements.Add(kpiAchievementNew);
                            }
                            else
                            {
                                var kpiAchievementNew = new KpiAchievement();
                                kpiAchievementNew.Id = kpiAchievement.Id;
                                kpiAchievementNew.Value = kpiAchievement.Value;
                                kpiAchievementNew.Kpi = DataContext.Kpis.Single(x => x.Id == kpi.Id);
                                kpiAchievementNew.PeriodeType = periodeType;
                                kpiAchievementNew.Periode = kpiAchievement.Periode;
                                kpiAchievementNew.IsActive = true;
                                kpiAchievementNew.Remark = kpiAchievement.Remark;
                                kpiAchievementNew.UpdatedDate = DateTime.Now;
                                DataContext.KpiAchievements.Attach(kpiAchievementNew);
                                DataContext.Entry(kpiAchievementNew).State = EntityState.Modified;
                            }
                        }
                    }
                }
                response.IsSuccess = true;
                response.Message = "KPI Achievements has been updated successfully";
                DataContext.SaveChanges();
            }
            catch (InvalidOperationException invalidOperationException)
            {
                response.Message = invalidOperationException.Message;
            }

            return response;
        }
Пример #3
0
 public void Install()
 {
     var KpiAchievement1 = new KpiAchievement { Id = 1, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42036), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 0, Kpi = _context.Kpis.Local.First(x => x.Id == 1) }; _context.KpiAchievements.Add(KpiAchievement1);
     var KpiAchievement2 = new KpiAchievement { Id = 2, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42064), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 0, Kpi = _context.Kpis.Local.First(x => x.Id == 1) }; _context.KpiAchievements.Add(KpiAchievement2);
     var KpiAchievement3 = new KpiAchievement { Id = 3, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42095), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 0, Kpi = _context.Kpis.Local.First(x => x.Id == 1) }; _context.KpiAchievements.Add(KpiAchievement3);
     var KpiAchievement4 = new KpiAchievement { Id = 4, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42125), PeriodeType = PeriodeType.Monthly, Remark = "", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 1) }; _context.KpiAchievements.Add(KpiAchievement4);
     var KpiAchievement5 = new KpiAchievement { Id = 5, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42156), PeriodeType = PeriodeType.Monthly, Remark = "", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 1) }; _context.KpiAchievements.Add(KpiAchievement5);
     var KpiAchievement6 = new KpiAchievement { Id = 6, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42186), PeriodeType = PeriodeType.Monthly, Remark = "", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 1) }; _context.KpiAchievements.Add(KpiAchievement6);
     var KpiAchievement7 = new KpiAchievement { Id = 7, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42217), PeriodeType = PeriodeType.Monthly, Remark = "", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 1) }; _context.KpiAchievements.Add(KpiAchievement7);
     var KpiAchievement8 = new KpiAchievement { Id = 8, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42248), PeriodeType = PeriodeType.Monthly, Remark = "", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 1) }; _context.KpiAchievements.Add(KpiAchievement8);
     var KpiAchievement9 = new KpiAchievement { Id = 9, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42278), PeriodeType = PeriodeType.Monthly, Remark = "", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 1) }; _context.KpiAchievements.Add(KpiAchievement9);
     var KpiAchievement10 = new KpiAchievement { Id = 10, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42309), PeriodeType = PeriodeType.Monthly, Remark = "", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 1) }; _context.KpiAchievements.Add(KpiAchievement10);
     var KpiAchievement11 = new KpiAchievement { Id = 11, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42339), PeriodeType = PeriodeType.Monthly, Remark = "", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 1) }; _context.KpiAchievements.Add(KpiAchievement11);
     var KpiAchievement12 = new KpiAchievement { Id = 12, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42005), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = 5, Kpi = _context.Kpis.Local.First(x => x.Id == 34) }; _context.KpiAchievements.Add(KpiAchievement12);
     var KpiAchievement13 = new KpiAchievement { Id = 13, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42036), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = 10, Kpi = _context.Kpis.Local.First(x => x.Id == 34) }; _context.KpiAchievements.Add(KpiAchievement13);
     var KpiAchievement14 = new KpiAchievement { Id = 14, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42064), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = 5, Kpi = _context.Kpis.Local.First(x => x.Id == 34) }; _context.KpiAchievements.Add(KpiAchievement14);
     var KpiAchievement15 = new KpiAchievement { Id = 15, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42095), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = 5, Kpi = _context.Kpis.Local.First(x => x.Id == 34) }; _context.KpiAchievements.Add(KpiAchievement15);
     var KpiAchievement16 = new KpiAchievement { Id = 16, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42125), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 34) }; _context.KpiAchievements.Add(KpiAchievement16);
     var KpiAchievement17 = new KpiAchievement { Id = 17, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42156), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 34) }; _context.KpiAchievements.Add(KpiAchievement17);
     var KpiAchievement18 = new KpiAchievement { Id = 18, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42186), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 34) }; _context.KpiAchievements.Add(KpiAchievement18);
     var KpiAchievement19 = new KpiAchievement { Id = 19, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42217), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 34) }; _context.KpiAchievements.Add(KpiAchievement19);
     var KpiAchievement20 = new KpiAchievement { Id = 20, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42248), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 34) }; _context.KpiAchievements.Add(KpiAchievement20);
     var KpiAchievement21 = new KpiAchievement { Id = 21, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42278), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 34) }; _context.KpiAchievements.Add(KpiAchievement21);
     var KpiAchievement22 = new KpiAchievement { Id = 22, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42309), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 34) }; _context.KpiAchievements.Add(KpiAchievement22);
     var KpiAchievement23 = new KpiAchievement { Id = 23, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42339), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 34) }; _context.KpiAchievements.Add(KpiAchievement23);
     var KpiAchievement24 = new KpiAchievement { Id = 24, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42005), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 35) }; _context.KpiAchievements.Add(KpiAchievement24);
     var KpiAchievement25 = new KpiAchievement { Id = 25, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42036), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 35) }; _context.KpiAchievements.Add(KpiAchievement25);
     var KpiAchievement26 = new KpiAchievement { Id = 26, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42064), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 35) }; _context.KpiAchievements.Add(KpiAchievement26);
     var KpiAchievement27 = new KpiAchievement { Id = 27, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42095), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 35) }; _context.KpiAchievements.Add(KpiAchievement27);
     var KpiAchievement28 = new KpiAchievement { Id = 28, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42125), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 35) }; _context.KpiAchievements.Add(KpiAchievement28);
     var KpiAchievement29 = new KpiAchievement { Id = 29, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42156), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 35) }; _context.KpiAchievements.Add(KpiAchievement29);
     var KpiAchievement30 = new KpiAchievement { Id = 30, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42186), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 35) }; _context.KpiAchievements.Add(KpiAchievement30);
     var KpiAchievement31 = new KpiAchievement { Id = 31, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42217), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 35) }; _context.KpiAchievements.Add(KpiAchievement31);
     var KpiAchievement32 = new KpiAchievement { Id = 32, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42248), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 35) }; _context.KpiAchievements.Add(KpiAchievement32);
     var KpiAchievement33 = new KpiAchievement { Id = 33, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42278), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 35) }; _context.KpiAchievements.Add(KpiAchievement33);
     var KpiAchievement34 = new KpiAchievement { Id = 34, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42309), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 35) }; _context.KpiAchievements.Add(KpiAchievement34);
     var KpiAchievement35 = new KpiAchievement { Id = 35, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42339), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 35) }; _context.KpiAchievements.Add(KpiAchievement35);
     var KpiAchievement36 = new KpiAchievement { Id = 36, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42005), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 10) }; _context.KpiAchievements.Add(KpiAchievement36);
     var KpiAchievement37 = new KpiAchievement { Id = 37, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42036), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 10) }; _context.KpiAchievements.Add(KpiAchievement37);
     var KpiAchievement38 = new KpiAchievement { Id = 38, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42064), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 10) }; _context.KpiAchievements.Add(KpiAchievement38);
     var KpiAchievement39 = new KpiAchievement { Id = 39, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42095), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 10) }; _context.KpiAchievements.Add(KpiAchievement39);
     var KpiAchievement40 = new KpiAchievement { Id = 40, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42125), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 10) }; _context.KpiAchievements.Add(KpiAchievement40);
     var KpiAchievement41 = new KpiAchievement { Id = 41, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42156), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 10) }; _context.KpiAchievements.Add(KpiAchievement41);
     var KpiAchievement42 = new KpiAchievement { Id = 42, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42186), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 10) }; _context.KpiAchievements.Add(KpiAchievement42);
     var KpiAchievement43 = new KpiAchievement { Id = 43, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42217), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 10) }; _context.KpiAchievements.Add(KpiAchievement43);
     var KpiAchievement44 = new KpiAchievement { Id = 44, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42248), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 10) }; _context.KpiAchievements.Add(KpiAchievement44);
     var KpiAchievement45 = new KpiAchievement { Id = 45, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42278), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 10) }; _context.KpiAchievements.Add(KpiAchievement45);
     var KpiAchievement46 = new KpiAchievement { Id = 46, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42309), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 10) }; _context.KpiAchievements.Add(KpiAchievement46);
     var KpiAchievement47 = new KpiAchievement { Id = 47, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42339), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 10) }; _context.KpiAchievements.Add(KpiAchievement47);
     var KpiAchievement48 = new KpiAchievement { Id = 48, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42005), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 12) }; _context.KpiAchievements.Add(KpiAchievement48);
     var KpiAchievement49 = new KpiAchievement { Id = 49, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42036), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 12) }; _context.KpiAchievements.Add(KpiAchievement49);
     var KpiAchievement50 = new KpiAchievement { Id = 50, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42064), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 12) }; _context.KpiAchievements.Add(KpiAchievement50);
     var KpiAchievement51 = new KpiAchievement { Id = 51, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42095), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 12) }; _context.KpiAchievements.Add(KpiAchievement51);
     var KpiAchievement52 = new KpiAchievement { Id = 52, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42125), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 12) }; _context.KpiAchievements.Add(KpiAchievement52);
     var KpiAchievement53 = new KpiAchievement { Id = 53, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42156), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 12) }; _context.KpiAchievements.Add(KpiAchievement53);
     var KpiAchievement54 = new KpiAchievement { Id = 54, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42186), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 12) }; _context.KpiAchievements.Add(KpiAchievement54);
     var KpiAchievement55 = new KpiAchievement { Id = 55, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42217), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 12) }; _context.KpiAchievements.Add(KpiAchievement55);
     var KpiAchievement56 = new KpiAchievement { Id = 56, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42248), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 12) }; _context.KpiAchievements.Add(KpiAchievement56);
     var KpiAchievement57 = new KpiAchievement { Id = 57, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42278), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 12) }; _context.KpiAchievements.Add(KpiAchievement57);
     var KpiAchievement58 = new KpiAchievement { Id = 58, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42309), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 12) }; _context.KpiAchievements.Add(KpiAchievement58);
     var KpiAchievement59 = new KpiAchievement { Id = 59, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42339), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 12) }; _context.KpiAchievements.Add(KpiAchievement59);
     var KpiAchievement60 = new KpiAchievement { Id = 60, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42005), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 9) }; _context.KpiAchievements.Add(KpiAchievement60);
     var KpiAchievement61 = new KpiAchievement { Id = 61, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42036), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 9) }; _context.KpiAchievements.Add(KpiAchievement61);
     var KpiAchievement62 = new KpiAchievement { Id = 62, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42064), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 9) }; _context.KpiAchievements.Add(KpiAchievement62);
     var KpiAchievement63 = new KpiAchievement { Id = 63, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42095), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 9) }; _context.KpiAchievements.Add(KpiAchievement63);
     var KpiAchievement64 = new KpiAchievement { Id = 64, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42125), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 9) }; _context.KpiAchievements.Add(KpiAchievement64);
     var KpiAchievement65 = new KpiAchievement { Id = 65, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42156), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 9) }; _context.KpiAchievements.Add(KpiAchievement65);
     var KpiAchievement66 = new KpiAchievement { Id = 66, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42186), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 9) }; _context.KpiAchievements.Add(KpiAchievement66);
     var KpiAchievement67 = new KpiAchievement { Id = 67, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42217), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 9) }; _context.KpiAchievements.Add(KpiAchievement67);
     var KpiAchievement68 = new KpiAchievement { Id = 68, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42248), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 9) }; _context.KpiAchievements.Add(KpiAchievement68);
     var KpiAchievement69 = new KpiAchievement { Id = 69, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42278), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 9) }; _context.KpiAchievements.Add(KpiAchievement69);
     var KpiAchievement70 = new KpiAchievement { Id = 70, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42309), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 9) }; _context.KpiAchievements.Add(KpiAchievement70);
     var KpiAchievement71 = new KpiAchievement { Id = 71, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42339), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 9) }; _context.KpiAchievements.Add(KpiAchievement71);
     var KpiAchievement72 = new KpiAchievement { Id = 72, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42005), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 7) }; _context.KpiAchievements.Add(KpiAchievement72);
     var KpiAchievement73 = new KpiAchievement { Id = 73, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42036), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 7) }; _context.KpiAchievements.Add(KpiAchievement73);
     var KpiAchievement74 = new KpiAchievement { Id = 74, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42064), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 7) }; _context.KpiAchievements.Add(KpiAchievement74);
     var KpiAchievement75 = new KpiAchievement { Id = 75, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42095), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 7) }; _context.KpiAchievements.Add(KpiAchievement75);
     var KpiAchievement76 = new KpiAchievement { Id = 76, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42125), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 7) }; _context.KpiAchievements.Add(KpiAchievement76);
     var KpiAchievement77 = new KpiAchievement { Id = 77, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42156), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 7) }; _context.KpiAchievements.Add(KpiAchievement77);
     var KpiAchievement78 = new KpiAchievement { Id = 78, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42186), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 7) }; _context.KpiAchievements.Add(KpiAchievement78);
     var KpiAchievement79 = new KpiAchievement { Id = 79, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42217), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 7) }; _context.KpiAchievements.Add(KpiAchievement79);
     var KpiAchievement80 = new KpiAchievement { Id = 80, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42248), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 7) }; _context.KpiAchievements.Add(KpiAchievement80);
     var KpiAchievement81 = new KpiAchievement { Id = 81, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42278), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 7) }; _context.KpiAchievements.Add(KpiAchievement81);
     var KpiAchievement82 = new KpiAchievement { Id = 82, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42309), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 7) }; _context.KpiAchievements.Add(KpiAchievement82);
     var KpiAchievement83 = new KpiAchievement { Id = 83, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42339), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 7) }; _context.KpiAchievements.Add(KpiAchievement83);
     var KpiAchievement84 = new KpiAchievement { Id = 84, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42005), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 14) }; _context.KpiAchievements.Add(KpiAchievement84);
     var KpiAchievement85 = new KpiAchievement { Id = 85, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42036), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 14) }; _context.KpiAchievements.Add(KpiAchievement85);
     var KpiAchievement86 = new KpiAchievement { Id = 86, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42064), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 14) }; _context.KpiAchievements.Add(KpiAchievement86);
     var KpiAchievement87 = new KpiAchievement { Id = 87, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42095), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 14) }; _context.KpiAchievements.Add(KpiAchievement87);
     var KpiAchievement88 = new KpiAchievement { Id = 88, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42125), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 14) }; _context.KpiAchievements.Add(KpiAchievement88);
     var KpiAchievement89 = new KpiAchievement { Id = 89, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42156), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 14) }; _context.KpiAchievements.Add(KpiAchievement89);
     var KpiAchievement90 = new KpiAchievement { Id = 90, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42186), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 14) }; _context.KpiAchievements.Add(KpiAchievement90);
     var KpiAchievement91 = new KpiAchievement { Id = 91, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42217), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 14) }; _context.KpiAchievements.Add(KpiAchievement91);
     var KpiAchievement92 = new KpiAchievement { Id = 92, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42248), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 14) }; _context.KpiAchievements.Add(KpiAchievement92);
     var KpiAchievement93 = new KpiAchievement { Id = 93, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42278), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 14) }; _context.KpiAchievements.Add(KpiAchievement93);
     var KpiAchievement94 = new KpiAchievement { Id = 94, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42309), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 14) }; _context.KpiAchievements.Add(KpiAchievement94);
     var KpiAchievement95 = new KpiAchievement { Id = 95, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42339), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 14) }; _context.KpiAchievements.Add(KpiAchievement95);
     var KpiAchievement96 = new KpiAchievement { Id = 96, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42005), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 22) }; _context.KpiAchievements.Add(KpiAchievement96);
     var KpiAchievement97 = new KpiAchievement { Id = 97, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42036), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 22) }; _context.KpiAchievements.Add(KpiAchievement97);
     var KpiAchievement98 = new KpiAchievement { Id = 98, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42064), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 22) }; _context.KpiAchievements.Add(KpiAchievement98);
     var KpiAchievement99 = new KpiAchievement { Id = 99, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42095), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 22) }; _context.KpiAchievements.Add(KpiAchievement99);
     var KpiAchievement100 = new KpiAchievement { Id = 100, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42125), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 22) }; _context.KpiAchievements.Add(KpiAchievement100);
     var KpiAchievement101 = new KpiAchievement { Id = 101, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42156), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 22) }; _context.KpiAchievements.Add(KpiAchievement101);
     var KpiAchievement102 = new KpiAchievement { Id = 102, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42186), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 22) }; _context.KpiAchievements.Add(KpiAchievement102);
     var KpiAchievement103 = new KpiAchievement { Id = 103, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42217), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 22) }; _context.KpiAchievements.Add(KpiAchievement103);
     var KpiAchievement104 = new KpiAchievement { Id = 104, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42248), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 22) }; _context.KpiAchievements.Add(KpiAchievement104);
     var KpiAchievement105 = new KpiAchievement { Id = 105, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42278), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 22) }; _context.KpiAchievements.Add(KpiAchievement105);
     var KpiAchievement106 = new KpiAchievement { Id = 106, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42309), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 22) }; _context.KpiAchievements.Add(KpiAchievement106);
     var KpiAchievement107 = new KpiAchievement { Id = 107, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42339), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 22) }; _context.KpiAchievements.Add(KpiAchievement107);
     var KpiAchievement108 = new KpiAchievement { Id = 108, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42005), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = 5, Kpi = _context.Kpis.Local.First(x => x.Id == 19) }; _context.KpiAchievements.Add(KpiAchievement108);
     var KpiAchievement109 = new KpiAchievement { Id = 109, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42036), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = 10, Kpi = _context.Kpis.Local.First(x => x.Id == 19) }; _context.KpiAchievements.Add(KpiAchievement109);
     var KpiAchievement110 = new KpiAchievement { Id = 110, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42064), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = 5, Kpi = _context.Kpis.Local.First(x => x.Id == 19) }; _context.KpiAchievements.Add(KpiAchievement110);
     var KpiAchievement111 = new KpiAchievement { Id = 111, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42095), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 19) }; _context.KpiAchievements.Add(KpiAchievement111);
     var KpiAchievement112 = new KpiAchievement { Id = 112, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42125), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 19) }; _context.KpiAchievements.Add(KpiAchievement112);
     var KpiAchievement113 = new KpiAchievement { Id = 113, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42156), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 19) }; _context.KpiAchievements.Add(KpiAchievement113);
     var KpiAchievement114 = new KpiAchievement { Id = 114, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42186), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 19) }; _context.KpiAchievements.Add(KpiAchievement114);
     var KpiAchievement115 = new KpiAchievement { Id = 115, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42217), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 19) }; _context.KpiAchievements.Add(KpiAchievement115);
     var KpiAchievement116 = new KpiAchievement { Id = 116, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42248), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 19) }; _context.KpiAchievements.Add(KpiAchievement116);
     var KpiAchievement117 = new KpiAchievement { Id = 117, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42278), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 19) }; _context.KpiAchievements.Add(KpiAchievement117);
     var KpiAchievement118 = new KpiAchievement { Id = 118, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42309), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 19) }; _context.KpiAchievements.Add(KpiAchievement118);
     var KpiAchievement119 = new KpiAchievement { Id = 119, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42339), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 19) }; _context.KpiAchievements.Add(KpiAchievement119);
     var KpiAchievement120 = new KpiAchievement { Id = 120, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42161), PeriodeType = PeriodeType.Weekly, Remark = "Yup", Value = 1, Kpi = _context.Kpis.Local.First(x => x.Id == 31) }; _context.KpiAchievements.Add(KpiAchievement120);
     var KpiAchievement121 = new KpiAchievement { Id = 121, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42036), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = 2, Kpi = _context.Kpis.Local.First(x => x.Id == 31) }; _context.KpiAchievements.Add(KpiAchievement121);
     var KpiAchievement122 = new KpiAchievement { Id = 122, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42064), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = 1, Kpi = _context.Kpis.Local.First(x => x.Id == 31) }; _context.KpiAchievements.Add(KpiAchievement122);
     var KpiAchievement123 = new KpiAchievement { Id = 123, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42095), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 31) }; _context.KpiAchievements.Add(KpiAchievement123);
     var KpiAchievement124 = new KpiAchievement { Id = 124, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42125), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 31) }; _context.KpiAchievements.Add(KpiAchievement124);
     var KpiAchievement125 = new KpiAchievement { Id = 125, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42156), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 31) }; _context.KpiAchievements.Add(KpiAchievement125);
     var KpiAchievement126 = new KpiAchievement { Id = 126, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42186), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 31) }; _context.KpiAchievements.Add(KpiAchievement126);
     var KpiAchievement127 = new KpiAchievement { Id = 127, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42217), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 31) }; _context.KpiAchievements.Add(KpiAchievement127);
     var KpiAchievement128 = new KpiAchievement { Id = 128, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42248), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 31) }; _context.KpiAchievements.Add(KpiAchievement128);
     var KpiAchievement129 = new KpiAchievement { Id = 129, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42278), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 31) }; _context.KpiAchievements.Add(KpiAchievement129);
     var KpiAchievement130 = new KpiAchievement { Id = 130, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42309), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 31) }; _context.KpiAchievements.Add(KpiAchievement130);
     var KpiAchievement131 = new KpiAchievement { Id = 131, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42339), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 31) }; _context.KpiAchievements.Add(KpiAchievement131);
     var KpiAchievement132 = new KpiAchievement { Id = 132, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42005), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 25) }; _context.KpiAchievements.Add(KpiAchievement132);
     var KpiAchievement133 = new KpiAchievement { Id = 133, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42036), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 25) }; _context.KpiAchievements.Add(KpiAchievement133);
     var KpiAchievement134 = new KpiAchievement { Id = 134, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42064), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 25) }; _context.KpiAchievements.Add(KpiAchievement134);
     var KpiAchievement135 = new KpiAchievement { Id = 135, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42095), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 25) }; _context.KpiAchievements.Add(KpiAchievement135);
     var KpiAchievement136 = new KpiAchievement { Id = 136, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42125), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 25) }; _context.KpiAchievements.Add(KpiAchievement136);
     var KpiAchievement137 = new KpiAchievement { Id = 137, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42156), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 25) }; _context.KpiAchievements.Add(KpiAchievement137);
     var KpiAchievement138 = new KpiAchievement { Id = 138, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42186), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 25) }; _context.KpiAchievements.Add(KpiAchievement138);
     var KpiAchievement139 = new KpiAchievement { Id = 139, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42217), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 25) }; _context.KpiAchievements.Add(KpiAchievement139);
     var KpiAchievement140 = new KpiAchievement { Id = 140, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42248), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 25) }; _context.KpiAchievements.Add(KpiAchievement140);
     var KpiAchievement141 = new KpiAchievement { Id = 141, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42278), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 25) }; _context.KpiAchievements.Add(KpiAchievement141);
     var KpiAchievement142 = new KpiAchievement { Id = 142, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42309), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 25) }; _context.KpiAchievements.Add(KpiAchievement142);
     var KpiAchievement143 = new KpiAchievement { Id = 143, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42339), PeriodeType = PeriodeType.Monthly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 25) }; _context.KpiAchievements.Add(KpiAchievement143);
     var KpiAchievement144 = new KpiAchievement { Id = 144, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42005), PeriodeType = PeriodeType.Yearly, Remark = "-", Value = 10, Kpi = _context.Kpis.Local.First(x => x.Id == 34) }; _context.KpiAchievements.Add(KpiAchievement144);
     //var KpiAchievement145 = new KpiAchievement { Id = 145, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42005), PeriodeType = PeriodeType.Yearly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 35) }; _context.KpiAchievements.Add(KpiAchievement145);
     var KpiAchievement146 = new KpiAchievement { Id = 146, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42005), PeriodeType = PeriodeType.Yearly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 10) }; _context.KpiAchievements.Add(KpiAchievement146);
     var KpiAchievement147 = new KpiAchievement { Id = 147, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42005), PeriodeType = PeriodeType.Yearly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 12) }; _context.KpiAchievements.Add(KpiAchievement147);
     var KpiAchievement148 = new KpiAchievement { Id = 148, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42005), PeriodeType = PeriodeType.Yearly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 9) }; _context.KpiAchievements.Add(KpiAchievement148);
     var KpiAchievement149 = new KpiAchievement { Id = 149, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42005), PeriodeType = PeriodeType.Yearly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 7) }; _context.KpiAchievements.Add(KpiAchievement149);
     var KpiAchievement150 = new KpiAchievement { Id = 150, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42005), PeriodeType = PeriodeType.Yearly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 14) }; _context.KpiAchievements.Add(KpiAchievement150);
     var KpiAchievement151 = new KpiAchievement { Id = 151, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42005), PeriodeType = PeriodeType.Yearly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 22) }; _context.KpiAchievements.Add(KpiAchievement151);
     var KpiAchievement152 = new KpiAchievement { Id = 152, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42005), PeriodeType = PeriodeType.Yearly, Remark = "-", Value = 10, Kpi = _context.Kpis.Local.First(x => x.Id == 19) }; _context.KpiAchievements.Add(KpiAchievement152);
     var KpiAchievement153 = new KpiAchievement { Id = 153, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42005), PeriodeType = PeriodeType.Yearly, Remark = "-", Value = 2, Kpi = _context.Kpis.Local.First(x => x.Id == 31) }; _context.KpiAchievements.Add(KpiAchievement153);
     var KpiAchievement154 = new KpiAchievement { Id = 154, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42005), PeriodeType = PeriodeType.Yearly, Remark = "-", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 25) }; _context.KpiAchievements.Add(KpiAchievement154);
     var KpiAchievement155 = new KpiAchievement { Id = 155, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42005), PeriodeType = PeriodeType.Yearly, Remark = "-", Value = 0, Kpi = _context.Kpis.Local.First(x => x.Id == 1) }; _context.KpiAchievements.Add(KpiAchievement155);
     var KpiAchievement156 = new KpiAchievement { Id = 156, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42370), PeriodeType = PeriodeType.Yearly, Remark = "", Value = 100, Kpi = _context.Kpis.Local.First(x => x.Id == 19) }; _context.KpiAchievements.Add(KpiAchievement156);
     var KpiAchievement157 = new KpiAchievement { Id = 157, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42370), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 0, Kpi = _context.Kpis.Local.First(x => x.Id == 1) }; _context.KpiAchievements.Add(KpiAchievement157);
     var KpiAchievement158 = new KpiAchievement { Id = 158, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42401), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 0, Kpi = _context.Kpis.Local.First(x => x.Id == 1) }; _context.KpiAchievements.Add(KpiAchievement158);
     var KpiAchievement159 = new KpiAchievement { Id = 159, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42430), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 1, Kpi = _context.Kpis.Local.First(x => x.Id == 1) }; _context.KpiAchievements.Add(KpiAchievement159);
     var KpiAchievement160 = new KpiAchievement { Id = 160, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42461), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 0, Kpi = _context.Kpis.Local.First(x => x.Id == 1) }; _context.KpiAchievements.Add(KpiAchievement160);
     var KpiAchievement161 = new KpiAchievement { Id = 161, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42491), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 0, Kpi = _context.Kpis.Local.First(x => x.Id == 1) }; _context.KpiAchievements.Add(KpiAchievement161);
     var KpiAchievement162 = new KpiAchievement { Id = 162, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42522), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 0, Kpi = _context.Kpis.Local.First(x => x.Id == 1) }; _context.KpiAchievements.Add(KpiAchievement162);
     var KpiAchievement163 = new KpiAchievement { Id = 163, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42552), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 0, Kpi = _context.Kpis.Local.First(x => x.Id == 1) }; _context.KpiAchievements.Add(KpiAchievement163);
     var KpiAchievement164 = new KpiAchievement { Id = 164, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42583), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 0, Kpi = _context.Kpis.Local.First(x => x.Id == 1) }; _context.KpiAchievements.Add(KpiAchievement164);
     var KpiAchievement165 = new KpiAchievement { Id = 165, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42614), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 0, Kpi = _context.Kpis.Local.First(x => x.Id == 1) }; _context.KpiAchievements.Add(KpiAchievement165);
     var KpiAchievement166 = new KpiAchievement { Id = 166, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42644), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 0, Kpi = _context.Kpis.Local.First(x => x.Id == 1) }; _context.KpiAchievements.Add(KpiAchievement166);
     var KpiAchievement167 = new KpiAchievement { Id = 167, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42675), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 0, Kpi = _context.Kpis.Local.First(x => x.Id == 1) }; _context.KpiAchievements.Add(KpiAchievement167);
     var KpiAchievement168 = new KpiAchievement { Id = 168, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42705), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 0, Kpi = _context.Kpis.Local.First(x => x.Id == 1) }; _context.KpiAchievements.Add(KpiAchievement168);
     var KpiAchievement169 = new KpiAchievement { Id = 169, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42370), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 5, Kpi = _context.Kpis.Local.First(x => x.Id == 34) }; _context.KpiAchievements.Add(KpiAchievement169);
     var KpiAchievement170 = new KpiAchievement { Id = 170, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42401), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 5, Kpi = _context.Kpis.Local.First(x => x.Id == 34) }; _context.KpiAchievements.Add(KpiAchievement170);
     var KpiAchievement171 = new KpiAchievement { Id = 171, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42430), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 5, Kpi = _context.Kpis.Local.First(x => x.Id == 34) }; _context.KpiAchievements.Add(KpiAchievement171);
     var KpiAchievement172 = new KpiAchievement { Id = 172, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42461), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 10, Kpi = _context.Kpis.Local.First(x => x.Id == 34) }; _context.KpiAchievements.Add(KpiAchievement172);
     var KpiAchievement173 = new KpiAchievement { Id = 173, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42491), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 10, Kpi = _context.Kpis.Local.First(x => x.Id == 34) }; _context.KpiAchievements.Add(KpiAchievement173);
     var KpiAchievement174 = new KpiAchievement { Id = 174, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42522), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 5, Kpi = _context.Kpis.Local.First(x => x.Id == 34) }; _context.KpiAchievements.Add(KpiAchievement174);
     var KpiAchievement175 = new KpiAchievement { Id = 175, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42552), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 5, Kpi = _context.Kpis.Local.First(x => x.Id == 34) }; _context.KpiAchievements.Add(KpiAchievement175);
     var KpiAchievement176 = new KpiAchievement { Id = 176, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42583), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 5, Kpi = _context.Kpis.Local.First(x => x.Id == 34) }; _context.KpiAchievements.Add(KpiAchievement176);
     var KpiAchievement177 = new KpiAchievement { Id = 177, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42614), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 5, Kpi = _context.Kpis.Local.First(x => x.Id == 34) }; _context.KpiAchievements.Add(KpiAchievement177);
     var KpiAchievement178 = new KpiAchievement { Id = 178, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42644), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 10, Kpi = _context.Kpis.Local.First(x => x.Id == 34) }; _context.KpiAchievements.Add(KpiAchievement178);
     var KpiAchievement179 = new KpiAchievement { Id = 179, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42675), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 5, Kpi = _context.Kpis.Local.First(x => x.Id == 34) }; _context.KpiAchievements.Add(KpiAchievement179);
     var KpiAchievement180 = new KpiAchievement { Id = 180, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42705), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 5, Kpi = _context.Kpis.Local.First(x => x.Id == 34) }; _context.KpiAchievements.Add(KpiAchievement180);
     var KpiAchievement181 = new KpiAchievement { Id = 181, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42370), PeriodeType = PeriodeType.Monthly, Remark = "wait for component on gas turbine", Value = 60, Kpi = _context.Kpis.Local.First(x => x.Id == 10) }; _context.KpiAchievements.Add(KpiAchievement181);
     var KpiAchievement182 = new KpiAchievement { Id = 182, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42401), PeriodeType = PeriodeType.Monthly, Remark = "wait for component on gas turbine", Value = 75, Kpi = _context.Kpis.Local.First(x => x.Id == 10) }; _context.KpiAchievements.Add(KpiAchievement182);
     var KpiAchievement183 = new KpiAchievement { Id = 183, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42430), PeriodeType = PeriodeType.Monthly, Remark = "wait for component on gas turbine", Value = 80, Kpi = _context.Kpis.Local.First(x => x.Id == 10) }; _context.KpiAchievements.Add(KpiAchievement183);
     var KpiAchievement184 = new KpiAchievement { Id = 184, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42461), PeriodeType = PeriodeType.Monthly, Remark = "wait for component on gas turbine", Value = 87, Kpi = _context.Kpis.Local.First(x => x.Id == 10) }; _context.KpiAchievements.Add(KpiAchievement184);
     var KpiAchievement185 = new KpiAchievement { Id = 185, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42491), PeriodeType = PeriodeType.Monthly, Remark = "wait for component on gas turbine", Value = 94, Kpi = _context.Kpis.Local.First(x => x.Id == 10) }; _context.KpiAchievements.Add(KpiAchievement185);
     var KpiAchievement186 = new KpiAchievement { Id = 186, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42522), PeriodeType = PeriodeType.Monthly, Remark = "wait for component on gas turbine", Value = 85, Kpi = _context.Kpis.Local.First(x => x.Id == 10) }; _context.KpiAchievements.Add(KpiAchievement186);
     var KpiAchievement187 = new KpiAchievement { Id = 187, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42552), PeriodeType = PeriodeType.Monthly, Remark = "wait for component on gas turbine", Value = 90, Kpi = _context.Kpis.Local.First(x => x.Id == 10) }; _context.KpiAchievements.Add(KpiAchievement187);
     var KpiAchievement188 = new KpiAchievement { Id = 188, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42583), PeriodeType = PeriodeType.Monthly, Remark = "wait for component on gas turbine", Value = 89, Kpi = _context.Kpis.Local.First(x => x.Id == 10) }; _context.KpiAchievements.Add(KpiAchievement188);
     var KpiAchievement189 = new KpiAchievement { Id = 189, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42614), PeriodeType = PeriodeType.Monthly, Remark = "wait for component on gas turbine", Value = 87, Kpi = _context.Kpis.Local.First(x => x.Id == 10) }; _context.KpiAchievements.Add(KpiAchievement189);
     var KpiAchievement190 = new KpiAchievement { Id = 190, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42644), PeriodeType = PeriodeType.Monthly, Remark = "wait for component on gas turbine", Value = 95, Kpi = _context.Kpis.Local.First(x => x.Id == 10) }; _context.KpiAchievements.Add(KpiAchievement190);
     var KpiAchievement191 = new KpiAchievement { Id = 191, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42675), PeriodeType = PeriodeType.Monthly, Remark = "wait for component on gas turbine", Value = 84, Kpi = _context.Kpis.Local.First(x => x.Id == 10) }; _context.KpiAchievements.Add(KpiAchievement191);
     var KpiAchievement192 = new KpiAchievement { Id = 192, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42705), PeriodeType = PeriodeType.Monthly, Remark = "wait for component on gas turbine", Value = 85, Kpi = _context.Kpis.Local.First(x => x.Id == 10) }; _context.KpiAchievements.Add(KpiAchievement192);
     var KpiAchievement193 = new KpiAchievement { Id = 193, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42370), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 82, Kpi = _context.Kpis.Local.First(x => x.Id == 9) }; _context.KpiAchievements.Add(KpiAchievement193);
     var KpiAchievement194 = new KpiAchievement { Id = 194, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42401), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 75, Kpi = _context.Kpis.Local.First(x => x.Id == 9) }; _context.KpiAchievements.Add(KpiAchievement194);
     var KpiAchievement195 = new KpiAchievement { Id = 195, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42430), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 89, Kpi = _context.Kpis.Local.First(x => x.Id == 9) }; _context.KpiAchievements.Add(KpiAchievement195);
     var KpiAchievement196 = new KpiAchievement { Id = 196, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42461), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 92, Kpi = _context.Kpis.Local.First(x => x.Id == 9) }; _context.KpiAchievements.Add(KpiAchievement196);
     var KpiAchievement197 = new KpiAchievement { Id = 197, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42491), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 87, Kpi = _context.Kpis.Local.First(x => x.Id == 9) }; _context.KpiAchievements.Add(KpiAchievement197);
     var KpiAchievement198 = new KpiAchievement { Id = 198, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42522), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 89, Kpi = _context.Kpis.Local.First(x => x.Id == 9) }; _context.KpiAchievements.Add(KpiAchievement198);
     var KpiAchievement199 = new KpiAchievement { Id = 199, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42552), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 78, Kpi = _context.Kpis.Local.First(x => x.Id == 9) }; _context.KpiAchievements.Add(KpiAchievement199);
     var KpiAchievement200 = new KpiAchievement { Id = 200, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42583), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 90, Kpi = _context.Kpis.Local.First(x => x.Id == 9) }; _context.KpiAchievements.Add(KpiAchievement200);
     var KpiAchievement201 = new KpiAchievement { Id = 201, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42614), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 95, Kpi = _context.Kpis.Local.First(x => x.Id == 9) }; _context.KpiAchievements.Add(KpiAchievement201);
     var KpiAchievement202 = new KpiAchievement { Id = 202, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42644), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 70, Kpi = _context.Kpis.Local.First(x => x.Id == 9) }; _context.KpiAchievements.Add(KpiAchievement202);
     var KpiAchievement203 = new KpiAchievement { Id = 203, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42675), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 89, Kpi = _context.Kpis.Local.First(x => x.Id == 9) }; _context.KpiAchievements.Add(KpiAchievement203);
     var KpiAchievement204 = new KpiAchievement { Id = 204, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42705), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 96, Kpi = _context.Kpis.Local.First(x => x.Id == 9) }; _context.KpiAchievements.Add(KpiAchievement204);
     var KpiAchievement205 = new KpiAchievement { Id = 205, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42370), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 5, Kpi = _context.Kpis.Local.First(x => x.Id == 19) }; _context.KpiAchievements.Add(KpiAchievement205);
     var KpiAchievement206 = new KpiAchievement { Id = 206, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42401), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 5, Kpi = _context.Kpis.Local.First(x => x.Id == 19) }; _context.KpiAchievements.Add(KpiAchievement206);
     var KpiAchievement207 = new KpiAchievement { Id = 207, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42430), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 5, Kpi = _context.Kpis.Local.First(x => x.Id == 19) }; _context.KpiAchievements.Add(KpiAchievement207);
     var KpiAchievement208 = new KpiAchievement { Id = 208, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42461), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 5, Kpi = _context.Kpis.Local.First(x => x.Id == 19) }; _context.KpiAchievements.Add(KpiAchievement208);
     var KpiAchievement209 = new KpiAchievement { Id = 209, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42491), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 5, Kpi = _context.Kpis.Local.First(x => x.Id == 19) }; _context.KpiAchievements.Add(KpiAchievement209);
     var KpiAchievement210 = new KpiAchievement { Id = 210, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42522), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 5, Kpi = _context.Kpis.Local.First(x => x.Id == 19) }; _context.KpiAchievements.Add(KpiAchievement210);
     var KpiAchievement211 = new KpiAchievement { Id = 211, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42552), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 5, Kpi = _context.Kpis.Local.First(x => x.Id == 19) }; _context.KpiAchievements.Add(KpiAchievement211);
     var KpiAchievement212 = new KpiAchievement { Id = 212, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42583), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 10, Kpi = _context.Kpis.Local.First(x => x.Id == 19) }; _context.KpiAchievements.Add(KpiAchievement212);
     var KpiAchievement213 = new KpiAchievement { Id = 213, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42614), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 10, Kpi = _context.Kpis.Local.First(x => x.Id == 19) }; _context.KpiAchievements.Add(KpiAchievement213);
     var KpiAchievement214 = new KpiAchievement { Id = 214, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42644), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 15, Kpi = _context.Kpis.Local.First(x => x.Id == 19) }; _context.KpiAchievements.Add(KpiAchievement214);
     var KpiAchievement215 = new KpiAchievement { Id = 215, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42675), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 15, Kpi = _context.Kpis.Local.First(x => x.Id == 19) }; _context.KpiAchievements.Add(KpiAchievement215);
     var KpiAchievement216 = new KpiAchievement { Id = 216, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42705), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 15, Kpi = _context.Kpis.Local.First(x => x.Id == 19) }; _context.KpiAchievements.Add(KpiAchievement216);
     var KpiAchievement217 = new KpiAchievement { Id = 217, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42370), PeriodeType = PeriodeType.Yearly, Remark = "fire incident", Value = 2, Kpi = _context.Kpis.Local.First(x => x.Id == 1) }; _context.KpiAchievements.Add(KpiAchievement217);
     var KpiAchievement218 = new KpiAchievement { Id = 218, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42370), PeriodeType = PeriodeType.Yearly, Remark = "robbery", Value = 2, Kpi = _context.Kpis.Local.First(x => x.Id == 4) }; _context.KpiAchievements.Add(KpiAchievement218);
     var KpiAchievement219 = new KpiAchievement { Id = 219, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42370), PeriodeType = PeriodeType.Yearly, Remark = "", Value = 75, Kpi = _context.Kpis.Local.First(x => x.Id == 34) }; _context.KpiAchievements.Add(KpiAchievement219);
     var KpiAchievement220 = new KpiAchievement { Id = 220, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42370), PeriodeType = PeriodeType.Yearly, Remark = "gas turbin breakdown", Value = 84, Kpi = _context.Kpis.Local.First(x => x.Id == 10) }; _context.KpiAchievements.Add(KpiAchievement220);
     var KpiAchievement221 = new KpiAchievement { Id = 221, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42370), PeriodeType = PeriodeType.Yearly, Remark = "low quality gas", Value = 85, Kpi = _context.Kpis.Local.First(x => x.Id == 9) }; _context.KpiAchievements.Add(KpiAchievement221);
     var KpiAchievement222 = new KpiAchievement { Id = 222, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42370), PeriodeType = PeriodeType.Yearly, Remark = "", Value = 0.8, Kpi = _context.Kpis.Local.First(x => x.Id == 21) }; _context.KpiAchievements.Add(KpiAchievement222);
     var KpiAchievement223 = new KpiAchievement { Id = 223, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42370), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 0, Kpi = _context.Kpis.Local.First(x => x.Id == 4) }; _context.KpiAchievements.Add(KpiAchievement223);
     var KpiAchievement224 = new KpiAchievement { Id = 224, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42401), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 1, Kpi = _context.Kpis.Local.First(x => x.Id == 4) }; _context.KpiAchievements.Add(KpiAchievement224);
     var KpiAchievement225 = new KpiAchievement { Id = 225, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42430), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 0, Kpi = _context.Kpis.Local.First(x => x.Id == 4) }; _context.KpiAchievements.Add(KpiAchievement225);
     var KpiAchievement226 = new KpiAchievement { Id = 226, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42461), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 0, Kpi = _context.Kpis.Local.First(x => x.Id == 4) }; _context.KpiAchievements.Add(KpiAchievement226);
     var KpiAchievement227 = new KpiAchievement { Id = 227, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42491), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 1, Kpi = _context.Kpis.Local.First(x => x.Id == 4) }; _context.KpiAchievements.Add(KpiAchievement227);
     var KpiAchievement228 = new KpiAchievement { Id = 228, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42522), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 0, Kpi = _context.Kpis.Local.First(x => x.Id == 4) }; _context.KpiAchievements.Add(KpiAchievement228);
     var KpiAchievement229 = new KpiAchievement { Id = 229, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42552), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 0, Kpi = _context.Kpis.Local.First(x => x.Id == 4) }; _context.KpiAchievements.Add(KpiAchievement229);
     var KpiAchievement230 = new KpiAchievement { Id = 230, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42583), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 0, Kpi = _context.Kpis.Local.First(x => x.Id == 4) }; _context.KpiAchievements.Add(KpiAchievement230);
     var KpiAchievement231 = new KpiAchievement { Id = 231, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42614), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 0, Kpi = _context.Kpis.Local.First(x => x.Id == 4) }; _context.KpiAchievements.Add(KpiAchievement231);
     var KpiAchievement232 = new KpiAchievement { Id = 232, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42644), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 0, Kpi = _context.Kpis.Local.First(x => x.Id == 4) }; _context.KpiAchievements.Add(KpiAchievement232);
     var KpiAchievement233 = new KpiAchievement { Id = 233, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42675), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 0, Kpi = _context.Kpis.Local.First(x => x.Id == 4) }; _context.KpiAchievements.Add(KpiAchievement233);
     var KpiAchievement234 = new KpiAchievement { Id = 234, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42705), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 0, Kpi = _context.Kpis.Local.First(x => x.Id == 4) }; _context.KpiAchievements.Add(KpiAchievement234);
     var KpiAchievement235 = new KpiAchievement { Id = 235, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42370), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 0.6, Kpi = _context.Kpis.Local.First(x => x.Id == 21) }; _context.KpiAchievements.Add(KpiAchievement235);
     var KpiAchievement236 = new KpiAchievement { Id = 236, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42401), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 0.7, Kpi = _context.Kpis.Local.First(x => x.Id == 21) }; _context.KpiAchievements.Add(KpiAchievement236);
     var KpiAchievement237 = new KpiAchievement { Id = 237, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42430), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 0.6, Kpi = _context.Kpis.Local.First(x => x.Id == 21) }; _context.KpiAchievements.Add(KpiAchievement237);
     var KpiAchievement238 = new KpiAchievement { Id = 238, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42461), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 0.7, Kpi = _context.Kpis.Local.First(x => x.Id == 21) }; _context.KpiAchievements.Add(KpiAchievement238);
     var KpiAchievement239 = new KpiAchievement { Id = 239, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42491), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 0.8, Kpi = _context.Kpis.Local.First(x => x.Id == 21) }; _context.KpiAchievements.Add(KpiAchievement239);
     var KpiAchievement240 = new KpiAchievement { Id = 240, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42522), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 0.8, Kpi = _context.Kpis.Local.First(x => x.Id == 21) }; _context.KpiAchievements.Add(KpiAchievement240);
     var KpiAchievement241 = new KpiAchievement { Id = 241, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42552), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 0.8, Kpi = _context.Kpis.Local.First(x => x.Id == 21) }; _context.KpiAchievements.Add(KpiAchievement241);
     var KpiAchievement242 = new KpiAchievement { Id = 242, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42583), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 0.7, Kpi = _context.Kpis.Local.First(x => x.Id == 21) }; _context.KpiAchievements.Add(KpiAchievement242);
     var KpiAchievement243 = new KpiAchievement { Id = 243, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42614), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 0.9, Kpi = _context.Kpis.Local.First(x => x.Id == 21) }; _context.KpiAchievements.Add(KpiAchievement243);
     var KpiAchievement244 = new KpiAchievement { Id = 244, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42644), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 0.7, Kpi = _context.Kpis.Local.First(x => x.Id == 21) }; _context.KpiAchievements.Add(KpiAchievement244);
     var KpiAchievement245 = new KpiAchievement { Id = 245, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42675), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 0.7, Kpi = _context.Kpis.Local.First(x => x.Id == 21) }; _context.KpiAchievements.Add(KpiAchievement245);
     var KpiAchievement246 = new KpiAchievement { Id = 246, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42705), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 0.8, Kpi = _context.Kpis.Local.First(x => x.Id == 21) }; _context.KpiAchievements.Add(KpiAchievement246);
     var KpiAchievement247 = new KpiAchievement { Id = 247, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42370), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 3, Kpi = _context.Kpis.Local.First(x => x.Id == 14) }; _context.KpiAchievements.Add(KpiAchievement247);
     var KpiAchievement248 = new KpiAchievement { Id = 248, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42401), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 3, Kpi = _context.Kpis.Local.First(x => x.Id == 14) }; _context.KpiAchievements.Add(KpiAchievement248);
     var KpiAchievement249 = new KpiAchievement { Id = 249, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42430), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 2, Kpi = _context.Kpis.Local.First(x => x.Id == 14) }; _context.KpiAchievements.Add(KpiAchievement249);
     var KpiAchievement250 = new KpiAchievement { Id = 250, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42461), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 4, Kpi = _context.Kpis.Local.First(x => x.Id == 14) }; _context.KpiAchievements.Add(KpiAchievement250);
     var KpiAchievement251 = new KpiAchievement { Id = 251, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42491), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 3, Kpi = _context.Kpis.Local.First(x => x.Id == 14) }; _context.KpiAchievements.Add(KpiAchievement251);
     var KpiAchievement252 = new KpiAchievement { Id = 252, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42522), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 3, Kpi = _context.Kpis.Local.First(x => x.Id == 14) }; _context.KpiAchievements.Add(KpiAchievement252);
     var KpiAchievement253 = new KpiAchievement { Id = 253, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42552), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 2, Kpi = _context.Kpis.Local.First(x => x.Id == 14) }; _context.KpiAchievements.Add(KpiAchievement253);
     var KpiAchievement254 = new KpiAchievement { Id = 254, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42583), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 4, Kpi = _context.Kpis.Local.First(x => x.Id == 14) }; _context.KpiAchievements.Add(KpiAchievement254);
     var KpiAchievement255 = new KpiAchievement { Id = 255, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42614), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 3, Kpi = _context.Kpis.Local.First(x => x.Id == 14) }; _context.KpiAchievements.Add(KpiAchievement255);
     var KpiAchievement256 = new KpiAchievement { Id = 256, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42644), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 3, Kpi = _context.Kpis.Local.First(x => x.Id == 14) }; _context.KpiAchievements.Add(KpiAchievement256);
     var KpiAchievement257 = new KpiAchievement { Id = 257, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42675), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 4, Kpi = _context.Kpis.Local.First(x => x.Id == 14) }; _context.KpiAchievements.Add(KpiAchievement257);
     var KpiAchievement258 = new KpiAchievement { Id = 258, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42705), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 2, Kpi = _context.Kpis.Local.First(x => x.Id == 14) }; _context.KpiAchievements.Add(KpiAchievement258);
     var KpiAchievement259 = new KpiAchievement { Id = 259, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42370), PeriodeType = PeriodeType.Yearly, Remark = "", Value = 36, Kpi = _context.Kpis.Local.First(x => x.Id == 14) }; _context.KpiAchievements.Add(KpiAchievement259);
     //var KpiAchievement260 = new KpiAchievement { Id = 260, CreatedBy = _context.Users.Local.First(x => x.Id == 2), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42370), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 1, Kpi = _context.Kpis.Local.First(x => x.Id == 65) }; _context.KpiAchievements.Add(KpiAchievement260);
     //var KpiAchievement261 = new KpiAchievement { Id = 261, CreatedBy = _context.Users.Local.First(x => x.Id == 2), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42370), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 1, Kpi = _context.Kpis.Local.First(x => x.Id == 66) }; _context.KpiAchievements.Add(KpiAchievement261);
     //var KpiAchievement262 = new KpiAchievement { Id = 262, CreatedBy = _context.Users.Local.First(x => x.Id == 2), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42370), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 1, Kpi = _context.Kpis.Local.First(x => x.Id == 67) }; _context.KpiAchievements.Add(KpiAchievement262);
     //var KpiAchievement263 = new KpiAchievement { Id = 263, CreatedBy = _context.Users.Local.First(x => x.Id == 2), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42401), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 1, Kpi = _context.Kpis.Local.First(x => x.Id == 65) }; _context.KpiAchievements.Add(KpiAchievement263);
     //var KpiAchievement264 = new KpiAchievement { Id = 264, CreatedBy = _context.Users.Local.First(x => x.Id == 2), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42401), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 1, Kpi = _context.Kpis.Local.First(x => x.Id == 66) }; _context.KpiAchievements.Add(KpiAchievement264);
     //var KpiAchievement265 = new KpiAchievement { Id = 265, CreatedBy = _context.Users.Local.First(x => x.Id == 2), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42401), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 1, Kpi = _context.Kpis.Local.First(x => x.Id == 67) }; _context.KpiAchievements.Add(KpiAchievement265);
     var KpiAchievement266 = new KpiAchievement { Id = 266, CreatedBy = _context.Users.Local.First(x => x.Id == 1), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42005), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 0, Kpi = _context.Kpis.Local.First(x => x.Id == 1) }; _context.KpiAchievements.Add(KpiAchievement266);
     //var KpiAchievement267 = new KpiAchievement { Id = 267, CreatedBy = _context.Users.Local.First(x => x.Id == 2), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42005), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 3, Kpi = _context.Kpis.Local.First(x => x.Id == 39) }; _context.KpiAchievements.Add(KpiAchievement267);
     //var KpiAchievement268 = new KpiAchievement { Id = 268, CreatedBy = _context.Users.Local.First(x => x.Id == 2), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42005), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 50, Kpi = _context.Kpis.Local.First(x => x.Id == 36) }; _context.KpiAchievements.Add(KpiAchievement268);
     //var KpiAchievement269 = new KpiAchievement { Id = 269, CreatedBy = _context.Users.Local.First(x => x.Id == 2), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42036), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 2, Kpi = _context.Kpis.Local.First(x => x.Id == 39) }; _context.KpiAchievements.Add(KpiAchievement269);
     //var KpiAchievement270 = new KpiAchievement { Id = 270, CreatedBy = _context.Users.Local.First(x => x.Id == 2), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42036), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 60, Kpi = _context.Kpis.Local.First(x => x.Id == 36) }; _context.KpiAchievements.Add(KpiAchievement270);
     //var KpiAchievement271 = new KpiAchievement { Id = 271, CreatedBy = _context.Users.Local.First(x => x.Id == 2), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42064), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 5, Kpi = _context.Kpis.Local.First(x => x.Id == 39) }; _context.KpiAchievements.Add(KpiAchievement271);
     //var KpiAchievement272 = new KpiAchievement { Id = 272, CreatedBy = _context.Users.Local.First(x => x.Id == 2), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42064), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 30, Kpi = _context.Kpis.Local.First(x => x.Id == 36) }; _context.KpiAchievements.Add(KpiAchievement272);
     var KpiAchievement273 = new KpiAchievement { Id = 273, CreatedBy = _context.Users.Local.First(x => x.Id == 2), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42005), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 15, Kpi = _context.Kpis.Local.First(x => x.Id == 35) }; _context.KpiAchievements.Add(KpiAchievement273);
     var KpiAchievement274 = new KpiAchievement { Id = 274, CreatedBy = _context.Users.Local.First(x => x.Id == 2), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42036), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 30, Kpi = _context.Kpis.Local.First(x => x.Id == 35) }; _context.KpiAchievements.Add(KpiAchievement274);
     var KpiAchievement275 = new KpiAchievement { Id = 275, CreatedBy = _context.Users.Local.First(x => x.Id == 2), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42064), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 15, Kpi = _context.Kpis.Local.First(x => x.Id == 35) }; _context.KpiAchievements.Add(KpiAchievement275);
     var KpiAchievement276 = new KpiAchievement { Id = 276, CreatedBy = _context.Users.Local.First(x => x.Id == 2), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42005), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 3, Kpi = _context.Kpis.Local.First(x => x.Id == 4) }; _context.KpiAchievements.Add(KpiAchievement276);
     var KpiAchievement277 = new KpiAchievement { Id = 277, CreatedBy = _context.Users.Local.First(x => x.Id == 2), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42036), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 5, Kpi = _context.Kpis.Local.First(x => x.Id == 4) }; _context.KpiAchievements.Add(KpiAchievement277);
     //var KpiAchievement278 = new KpiAchievement { Id = 278, CreatedBy = _context.Users.Local.First(x => x.Id == 2), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42005), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 3, Kpi = _context.Kpis.Local.First(x => x.Id == 40) }; _context.KpiAchievements.Add(KpiAchievement278);
     //var KpiAchievement279 = new KpiAchievement { Id = 279, CreatedBy = _context.Users.Local.First(x => x.Id == 2), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42036), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 5, Kpi = _context.Kpis.Local.First(x => x.Id == 40) }; _context.KpiAchievements.Add(KpiAchievement279);
     //var KpiAchievement280 = new KpiAchievement { Id = 280, CreatedBy = _context.Users.Local.First(x => x.Id == 2), CreatedDate = DateTime.Now, UpdatedDate = DateTime.Now, IsActive = true, Periode = DateTime.FromOADate(42064), PeriodeType = PeriodeType.Monthly, Remark = "", Value = 2, Kpi = _context.Kpis.Local.First(x => x.Id == 40) }; _context.KpiAchievements.Add(KpiAchievement280);
 }