public UpdateKpiTargetResponse UpdateKpiTarget(UpdateKpiTargetRequest request) { PeriodeType periodeType = (PeriodeType)Enum.Parse(typeof(PeriodeType), request.PeriodeType); var response = new UpdateKpiTargetResponse(); response.PeriodeType = periodeType; try { foreach (var pillar in request.Pillars) { foreach (var kpi in pillar.Kpis) { foreach (var kpiTarget in kpi.KpiTargets) { if (kpiTarget.Id == 0) { var kpiTargetNew = new KpiTarget(); kpiTargetNew.Value = kpiTarget.Value; kpiTargetNew.Kpi = DataContext.Kpis.Single(x => x.Id == kpi.Id); kpiTargetNew.PeriodeType = periodeType; kpiTargetNew.Periode = kpiTarget.Periode; kpiTargetNew.IsActive = true; kpiTargetNew.Remark = kpiTarget.Remark; kpiTargetNew.CreatedDate = DateTime.Now; kpiTargetNew.UpdatedDate = DateTime.Now; DataContext.KpiTargets.Add(kpiTargetNew); } else { var kpiTargetNew = new KpiTarget(); kpiTargetNew.Id = kpiTarget.Id; kpiTargetNew.Value = kpiTarget.Value; kpiTargetNew.Kpi = DataContext.Kpis.Single(x => x.Id == kpi.Id); kpiTargetNew.PeriodeType = periodeType; kpiTargetNew.Periode = kpiTarget.Periode; kpiTargetNew.IsActive = true; kpiTargetNew.Remark = kpiTarget.Remark; kpiTargetNew.UpdatedDate = DateTime.Now; DataContext.KpiTargets.Attach(kpiTargetNew); DataContext.Entry(kpiTargetNew).State = EntityState.Modified; } } } } response.IsSuccess = true; response.Message = "KPI Target has been updated successfully"; DataContext.SaveChanges(); } catch (InvalidOperationException invalidOperationException) { response.Message = invalidOperationException.Message; } return response; }
public BaseResponse KpiTargetInput(KpiTargetInputRequest request) { try { //yearly var year = request.Start.Year; var yearlyTarget = DataContext.KpiTargets.FirstOrDefault(x => x.Kpi.Id == request.KpiId && x.PeriodeType == PeriodeType.Yearly && x.Periode.Year == year); var kpi = new Kpi { Id = request.KpiId }; DataContext.Kpis.Attach(kpi); if (yearlyTarget != null) { yearlyTarget.Value = request.Value; } else { var newYearlyTarget = new KpiTarget { Value = request.Value, PeriodeType = PeriodeType.Yearly, Periode = new DateTime(request.Start.Year, 1, 1), Kpi = kpi }; DataContext.KpiTargets.Add(newYearlyTarget); } //monthly //var monthlyTargets = DataContext.KpiTargets.Where(x => x.Kpi.Id == request.KpiId // && x.PeriodeType == PeriodeType.Monthly // && x.Periode >= request.Start && x.Periode <= request.End).ToList(); //for (var i = request.Start.Month; i <= request.End.Month; i++) //{ // var monthlyTarget = monthlyTargets.FirstOrDefault(x => x.Periode.Month == i); // if (monthlyTarget != null) // { // monthlyTarget.Value = request.Value; // } // else // { // var newMonthlyTarget = new KpiTarget // { // Periode = new DateTime(year, i, 1), // PeriodeType = PeriodeType.Monthly, // Value = request.Value, // Kpi = kpi // }; // DataContext.KpiTargets.Add(newMonthlyTarget); // } //} DataContext.SaveChanges(); return new BaseResponse { IsSuccess = true, Message = "Kpi Valu has been saved successfully" }; } catch { return new BaseResponse { IsSuccess = false, Message = "An error occured, please contact adminstrator for further information" }; } }
public void Install() { var test = _context.Kpis.Local.First(x => x.Id == 10); var kpiTarget1 = new KpiTarget { Id = 1, 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 = 85, Kpi = _context.Kpis.Local.First(x => x.Id == 10) }; _context.KpiTargets.Add(kpiTarget1); var kpiTarget2 = new KpiTarget { Id = 2, 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 = 97, Kpi = _context.Kpis.Local.First(x => x.Id == 12) }; _context.KpiTargets.Add(kpiTarget2); var kpiTarget3 = new KpiTarget { Id = 3, 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 = 88, Kpi = _context.Kpis.Local.First(x => x.Id == 9) }; _context.KpiTargets.Add(kpiTarget3); var kpiTarget4 = new KpiTarget { Id = 4, 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 == 7) }; _context.KpiTargets.Add(kpiTarget4); var kpiTarget5 = new KpiTarget { Id = 5, 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 = 6, Kpi = _context.Kpis.Local.First(x => x.Id == 14) }; _context.KpiTargets.Add(kpiTarget5); var kpiTarget6 = new KpiTarget { Id = 6, 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.7, Kpi = _context.Kpis.Local.First(x => x.Id == 22) }; _context.KpiTargets.Add(kpiTarget6); var kpiTarget7 = new KpiTarget { Id = 7, 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 = 95, Kpi = _context.Kpis.Local.First(x => x.Id == 19) }; _context.KpiTargets.Add(kpiTarget7); var kpiTarget8 = new KpiTarget { Id = 8, 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 = 15, Kpi = _context.Kpis.Local.First(x => x.Id == 31) }; _context.KpiTargets.Add(kpiTarget8); var kpiTarget9 = new KpiTarget { Id = 9, 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 = 75, Kpi = _context.Kpis.Local.First(x => x.Id == 25) }; _context.KpiTargets.Add(kpiTarget9); var kpiTarget10 = new KpiTarget { Id = 10, 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 = 0, Kpi = _context.Kpis.Local.First(x => x.Id == 1) }; _context.KpiTargets.Add(kpiTarget10); var kpiTarget11 = new KpiTarget { Id = 11, 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 = 0, Kpi = _context.Kpis.Local.First(x => x.Id == 1) }; _context.KpiTargets.Add(kpiTarget11); var kpiTarget12 = new KpiTarget { Id = 12, 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 = 0, Kpi = _context.Kpis.Local.First(x => x.Id == 1) }; _context.KpiTargets.Add(kpiTarget12); var kpiTarget13 = new KpiTarget { Id = 13, 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 = 0, Kpi = _context.Kpis.Local.First(x => x.Id == 1) }; _context.KpiTargets.Add(kpiTarget13); var kpiTarget14 = new KpiTarget { Id = 14, 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 = 0, Kpi = _context.Kpis.Local.First(x => x.Id == 1) }; _context.KpiTargets.Add(kpiTarget14); var kpiTarget15 = new KpiTarget { Id = 15, 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 = 0, Kpi = _context.Kpis.Local.First(x => x.Id == 1) }; _context.KpiTargets.Add(kpiTarget15); var kpiTarget16 = new KpiTarget { Id = 16, 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 = 0, Kpi = _context.Kpis.Local.First(x => x.Id == 1) }; _context.KpiTargets.Add(kpiTarget16); var kpiTarget17 = new KpiTarget { 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 = 85, Kpi = _context.Kpis.Local.First(x => x.Id == 10) }; _context.KpiTargets.Add(kpiTarget17); var kpiTarget18 = new KpiTarget { 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 = 85, Kpi = _context.Kpis.Local.First(x => x.Id == 10) }; _context.KpiTargets.Add(kpiTarget18); var kpiTarget19 = new KpiTarget { 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 = 85, Kpi = _context.Kpis.Local.First(x => x.Id == 10) }; _context.KpiTargets.Add(kpiTarget19); var kpiTarget20 = new KpiTarget { 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 = 85, Kpi = _context.Kpis.Local.First(x => x.Id == 10) }; _context.KpiTargets.Add(kpiTarget20); var kpiTarget21 = new KpiTarget { 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 = 85, Kpi = _context.Kpis.Local.First(x => x.Id == 10) }; _context.KpiTargets.Add(kpiTarget21); var kpiTarget22 = new KpiTarget { 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 = 85, Kpi = _context.Kpis.Local.First(x => x.Id == 10) }; _context.KpiTargets.Add(kpiTarget22); var kpiTarget23 = new KpiTarget { 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 = 85, Kpi = _context.Kpis.Local.First(x => x.Id == 10) }; _context.KpiTargets.Add(kpiTarget23); var kpiTarget24 = new KpiTarget { Id = 24, 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 = 97, Kpi = _context.Kpis.Local.First(x => x.Id == 12) }; _context.KpiTargets.Add(kpiTarget24); var kpiTarget25 = new KpiTarget { Id = 25, 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 = 97, Kpi = _context.Kpis.Local.First(x => x.Id == 12) }; _context.KpiTargets.Add(kpiTarget25); var kpiTarget26 = new KpiTarget { Id = 26, 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 = 97, Kpi = _context.Kpis.Local.First(x => x.Id == 12) }; _context.KpiTargets.Add(kpiTarget26); var kpiTarget27 = new KpiTarget { Id = 27, 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 = 97, Kpi = _context.Kpis.Local.First(x => x.Id == 12) }; _context.KpiTargets.Add(kpiTarget27); var kpiTarget28 = new KpiTarget { Id = 28, 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 = 97, Kpi = _context.Kpis.Local.First(x => x.Id == 12) }; _context.KpiTargets.Add(kpiTarget28); var kpiTarget29 = new KpiTarget { Id = 29, 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 = 97, Kpi = _context.Kpis.Local.First(x => x.Id == 12) }; _context.KpiTargets.Add(kpiTarget29); var kpiTarget30 = new KpiTarget { Id = 30, 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 = 97, Kpi = _context.Kpis.Local.First(x => x.Id == 12) }; _context.KpiTargets.Add(kpiTarget30); var kpiTarget31 = new KpiTarget { Id = 31, 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 = 88, Kpi = _context.Kpis.Local.First(x => x.Id == 9) }; _context.KpiTargets.Add(kpiTarget31); var kpiTarget32 = new KpiTarget { Id = 32, 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 = 88, Kpi = _context.Kpis.Local.First(x => x.Id == 9) }; _context.KpiTargets.Add(kpiTarget32); var kpiTarget33 = new KpiTarget { Id = 33, 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 = 88, Kpi = _context.Kpis.Local.First(x => x.Id == 9) }; _context.KpiTargets.Add(kpiTarget33); var kpiTarget34 = new KpiTarget { Id = 34, 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 = 88, Kpi = _context.Kpis.Local.First(x => x.Id == 9) }; _context.KpiTargets.Add(kpiTarget34); var kpiTarget35 = new KpiTarget { Id = 35, 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 = 88, Kpi = _context.Kpis.Local.First(x => x.Id == 9) }; _context.KpiTargets.Add(kpiTarget35); var kpiTarget36 = new KpiTarget { Id = 36, 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 = 88, Kpi = _context.Kpis.Local.First(x => x.Id == 9) }; _context.KpiTargets.Add(kpiTarget36); var kpiTarget37 = new KpiTarget { Id = 37, 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 = 88, Kpi = _context.Kpis.Local.First(x => x.Id == 9) }; _context.KpiTargets.Add(kpiTarget37); var kpiTarget38 = new KpiTarget { Id = 38, 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 = 2, Kpi = _context.Kpis.Local.First(x => x.Id == 7) }; _context.KpiTargets.Add(kpiTarget38); var kpiTarget39 = new KpiTarget { Id = 39, 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 = 2, Kpi = _context.Kpis.Local.First(x => x.Id == 7) }; _context.KpiTargets.Add(kpiTarget39); var kpiTarget40 = new KpiTarget { Id = 40, 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 = 2, Kpi = _context.Kpis.Local.First(x => x.Id == 7) }; _context.KpiTargets.Add(kpiTarget40); var kpiTarget41 = new KpiTarget { Id = 41, 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 = 2, Kpi = _context.Kpis.Local.First(x => x.Id == 7) }; _context.KpiTargets.Add(kpiTarget41); var kpiTarget42 = new KpiTarget { Id = 42, 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 = 2, Kpi = _context.Kpis.Local.First(x => x.Id == 7) }; _context.KpiTargets.Add(kpiTarget42); var kpiTarget43 = new KpiTarget { Id = 43, 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 = 2, Kpi = _context.Kpis.Local.First(x => x.Id == 7) }; _context.KpiTargets.Add(kpiTarget43); var kpiTarget44 = new KpiTarget { Id = 44, 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 = 2, Kpi = _context.Kpis.Local.First(x => x.Id == 7) }; _context.KpiTargets.Add(kpiTarget44); var kpiTarget45 = new KpiTarget { Id = 45, 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 = 1, Kpi = _context.Kpis.Local.First(x => x.Id == 14) }; _context.KpiTargets.Add(kpiTarget45); var kpiTarget46 = new KpiTarget { Id = 46, 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 = 1, Kpi = _context.Kpis.Local.First(x => x.Id == 14) }; _context.KpiTargets.Add(kpiTarget46); var kpiTarget47 = new KpiTarget { Id = 47, 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 = 1, Kpi = _context.Kpis.Local.First(x => x.Id == 14) }; _context.KpiTargets.Add(kpiTarget47); var kpiTarget48 = new KpiTarget { Id = 48, 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 = 1, Kpi = _context.Kpis.Local.First(x => x.Id == 14) }; _context.KpiTargets.Add(kpiTarget48); var kpiTarget49 = new KpiTarget { Id = 49, 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 = 1, Kpi = _context.Kpis.Local.First(x => x.Id == 14) }; _context.KpiTargets.Add(kpiTarget49); var kpiTarget50 = new KpiTarget { Id = 50, 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 = 1, Kpi = _context.Kpis.Local.First(x => x.Id == 14) }; _context.KpiTargets.Add(kpiTarget50); var kpiTarget51 = new KpiTarget { Id = 51, 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 = 1, Kpi = _context.Kpis.Local.First(x => x.Id == 14) }; _context.KpiTargets.Add(kpiTarget51); var kpiTarget52 = new KpiTarget { Id = 52, 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 = 0.7, Kpi = _context.Kpis.Local.First(x => x.Id == 22) }; _context.KpiTargets.Add(kpiTarget52); var kpiTarget53 = new KpiTarget { Id = 53, 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 = 0.7, Kpi = _context.Kpis.Local.First(x => x.Id == 22) }; _context.KpiTargets.Add(kpiTarget53); var kpiTarget54 = new KpiTarget { Id = 54, 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 = 0.7, Kpi = _context.Kpis.Local.First(x => x.Id == 22) }; _context.KpiTargets.Add(kpiTarget54); var kpiTarget55 = new KpiTarget { Id = 55, 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 = 0.7, Kpi = _context.Kpis.Local.First(x => x.Id == 22) }; _context.KpiTargets.Add(kpiTarget55); var kpiTarget56 = new KpiTarget { Id = 56, 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 = 0.7, Kpi = _context.Kpis.Local.First(x => x.Id == 22) }; _context.KpiTargets.Add(kpiTarget56); var kpiTarget57 = new KpiTarget { Id = 57, 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 = 0.7, Kpi = _context.Kpis.Local.First(x => x.Id == 22) }; _context.KpiTargets.Add(kpiTarget57); var kpiTarget58 = new KpiTarget { Id = 58, 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 = 0.7, Kpi = _context.Kpis.Local.First(x => x.Id == 22) }; _context.KpiTargets.Add(kpiTarget58); var kpiTarget59 = new KpiTarget { Id = 59, 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 = 15, Kpi = _context.Kpis.Local.First(x => x.Id == 19) }; _context.KpiTargets.Add(kpiTarget59); var kpiTarget60 = new KpiTarget { Id = 60, 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 = 15, Kpi = _context.Kpis.Local.First(x => x.Id == 19) }; _context.KpiTargets.Add(kpiTarget60); var kpiTarget61 = new KpiTarget { Id = 61, 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 = 15, Kpi = _context.Kpis.Local.First(x => x.Id == 19) }; _context.KpiTargets.Add(kpiTarget61); var kpiTarget62 = new KpiTarget { Id = 62, 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 = 15, Kpi = _context.Kpis.Local.First(x => x.Id == 19) }; _context.KpiTargets.Add(kpiTarget62); var kpiTarget63 = new KpiTarget { Id = 63, 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 = 10, Kpi = _context.Kpis.Local.First(x => x.Id == 19) }; _context.KpiTargets.Add(kpiTarget63); var kpiTarget64 = new KpiTarget { Id = 64, 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 = 15, Kpi = _context.Kpis.Local.First(x => x.Id == 19) }; _context.KpiTargets.Add(kpiTarget64); var kpiTarget65 = new KpiTarget { Id = 65, 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 = 10, Kpi = _context.Kpis.Local.First(x => x.Id == 19) }; _context.KpiTargets.Add(kpiTarget65); var kpiTarget66 = new KpiTarget { Id = 66, 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 = "test aja", Value = 1, Kpi = _context.Kpis.Local.First(x => x.Id == 31) }; _context.KpiTargets.Add(kpiTarget66); var kpiTarget67 = new KpiTarget { Id = 67, 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 = "test aja", Value = 1, Kpi = _context.Kpis.Local.First(x => x.Id == 31) }; _context.KpiTargets.Add(kpiTarget67); var kpiTarget68 = new KpiTarget { Id = 68, 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 = "test aja", Value = 1, Kpi = _context.Kpis.Local.First(x => x.Id == 31) }; _context.KpiTargets.Add(kpiTarget68); var kpiTarget69 = new KpiTarget { Id = 69, 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 = "test aja", Value = 1, Kpi = _context.Kpis.Local.First(x => x.Id == 31) }; _context.KpiTargets.Add(kpiTarget69); var kpiTarget70 = new KpiTarget { Id = 70, 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 = "test aja", Value = 2, Kpi = _context.Kpis.Local.First(x => x.Id == 31) }; _context.KpiTargets.Add(kpiTarget70); var kpiTarget71 = new KpiTarget { Id = 71, 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 = "test aja", Value = 2, Kpi = _context.Kpis.Local.First(x => x.Id == 31) }; _context.KpiTargets.Add(kpiTarget71); var kpiTarget72 = new KpiTarget { Id = 72, 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 = "test aja", Value = 2, Kpi = _context.Kpis.Local.First(x => x.Id == 31) }; _context.KpiTargets.Add(kpiTarget72); var kpiTarget73 = new KpiTarget { Id = 73, 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 = 5, Kpi = _context.Kpis.Local.First(x => x.Id == 34) }; _context.KpiTargets.Add(kpiTarget73); var kpiTarget74 = new KpiTarget { Id = 74, 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 = 0.2, Kpi = _context.Kpis.Local.First(x => x.Id == 35) }; _context.KpiTargets.Add(kpiTarget74); var kpiTarget75 = new KpiTarget { Id = 75, 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.KpiTargets.Add(kpiTarget75); var kpiTarget76 = new KpiTarget { Id = 76, 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 = 65, Kpi = _context.Kpis.Local.First(x => x.Id == 34) }; _context.KpiTargets.Add(kpiTarget76); var kpiTarget77 = new KpiTarget { Id = 77, 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.5, Kpi = _context.Kpis.Local.First(x => x.Id == 35) }; _context.KpiTargets.Add(kpiTarget77); var kpiTarget78 = new KpiTarget { Id = 78, 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, Kpi = _context.Kpis.Local.First(x => x.Id == 1) }; _context.KpiTargets.Add(kpiTarget78); var kpiTarget79 = new KpiTarget { Id = 79, 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 = 95, Kpi = _context.Kpis.Local.First(x => x.Id == 19) }; _context.KpiTargets.Add(kpiTarget79); var kpiTarget80 = new KpiTarget { Id = 80, 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.KpiTargets.Add(kpiTarget80); var kpiTarget81 = new KpiTarget { Id = 81, 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.KpiTargets.Add(kpiTarget81); var kpiTarget82 = new KpiTarget { Id = 82, 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.KpiTargets.Add(kpiTarget82); var kpiTarget83 = new KpiTarget { Id = 83, 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.KpiTargets.Add(kpiTarget83); var kpiTarget84 = new KpiTarget { Id = 84, 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.KpiTargets.Add(kpiTarget84); var kpiTarget85 = new KpiTarget { Id = 85, 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.KpiTargets.Add(kpiTarget85); var kpiTarget86 = new KpiTarget { Id = 86, 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.KpiTargets.Add(kpiTarget86); var kpiTarget87 = new KpiTarget { Id = 87, 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.KpiTargets.Add(kpiTarget87); var kpiTarget88 = new KpiTarget { Id = 88, 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 = 87, Kpi = _context.Kpis.Local.First(x => x.Id == 10) }; _context.KpiTargets.Add(kpiTarget88); var kpiTarget89 = new KpiTarget { Id = 89, 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 = 87, Kpi = _context.Kpis.Local.First(x => x.Id == 10) }; _context.KpiTargets.Add(kpiTarget89); var kpiTarget90 = new KpiTarget { Id = 90, 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 = 87, Kpi = _context.Kpis.Local.First(x => x.Id == 10) }; _context.KpiTargets.Add(kpiTarget90); var kpiTarget91 = new KpiTarget { Id = 91, 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 = 87, Kpi = _context.Kpis.Local.First(x => x.Id == 10) }; _context.KpiTargets.Add(kpiTarget91); var kpiTarget92 = new KpiTarget { Id = 92, 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 = 87, Kpi = _context.Kpis.Local.First(x => x.Id == 10) }; _context.KpiTargets.Add(kpiTarget92); var kpiTarget93 = new KpiTarget { Id = 93, 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 = 87, Kpi = _context.Kpis.Local.First(x => x.Id == 10) }; _context.KpiTargets.Add(kpiTarget93); var kpiTarget94 = new KpiTarget { Id = 94, 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 = 87, Kpi = _context.Kpis.Local.First(x => x.Id == 10) }; _context.KpiTargets.Add(kpiTarget94); var kpiTarget95 = new KpiTarget { Id = 95, 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 = 85, Kpi = _context.Kpis.Local.First(x => x.Id == 9) }; _context.KpiTargets.Add(kpiTarget95); var kpiTarget96 = new KpiTarget { Id = 96, 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 = 85, Kpi = _context.Kpis.Local.First(x => x.Id == 9) }; _context.KpiTargets.Add(kpiTarget96); var kpiTarget97 = new KpiTarget { Id = 97, 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 = 85, Kpi = _context.Kpis.Local.First(x => x.Id == 9) }; _context.KpiTargets.Add(kpiTarget97); var kpiTarget98 = new KpiTarget { Id = 98, 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 = 85, Kpi = _context.Kpis.Local.First(x => x.Id == 9) }; _context.KpiTargets.Add(kpiTarget98); var kpiTarget99 = new KpiTarget { Id = 99, 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 = 85, Kpi = _context.Kpis.Local.First(x => x.Id == 9) }; _context.KpiTargets.Add(kpiTarget99); var kpiTarget100 = new KpiTarget { Id = 100, 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 = 85, Kpi = _context.Kpis.Local.First(x => x.Id == 9) }; _context.KpiTargets.Add(kpiTarget100); var kpiTarget101 = new KpiTarget { Id = 101, 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 = 85, Kpi = _context.Kpis.Local.First(x => x.Id == 9) }; _context.KpiTargets.Add(kpiTarget101); var kpiTarget102 = new KpiTarget { Id = 102, 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.KpiTargets.Add(kpiTarget102); var kpiTarget103 = new KpiTarget { Id = 103, 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.KpiTargets.Add(kpiTarget103); var kpiTarget104 = new KpiTarget { Id = 104, 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.KpiTargets.Add(kpiTarget104); var kpiTarget105 = new KpiTarget { Id = 105, 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.KpiTargets.Add(kpiTarget105); var kpiTarget106 = new KpiTarget { Id = 106, 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.KpiTargets.Add(kpiTarget106); var kpiTarget107 = new KpiTarget { Id = 107, 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 == 19) }; _context.KpiTargets.Add(kpiTarget107); var kpiTarget108 = new KpiTarget { Id = 108, 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.KpiTargets.Add(kpiTarget108); var kpiTarget109 = new KpiTarget { Id = 109, 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.KpiTargets.Add(kpiTarget109); var kpiTarget110 = new KpiTarget { Id = 110, 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, Kpi = _context.Kpis.Local.First(x => x.Id == 4) }; _context.KpiTargets.Add(kpiTarget110); var kpiTarget111 = new KpiTarget { Id = 111, 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 = 60, Kpi = _context.Kpis.Local.First(x => x.Id == 34) }; _context.KpiTargets.Add(kpiTarget111); var kpiTarget112 = new KpiTarget { Id = 112, 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 = 87, Kpi = _context.Kpis.Local.First(x => x.Id == 10) }; _context.KpiTargets.Add(kpiTarget112); var kpiTarget113 = new KpiTarget { Id = 113, 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 = 85, Kpi = _context.Kpis.Local.First(x => x.Id == 9) }; _context.KpiTargets.Add(kpiTarget113); var kpiTarget114 = new KpiTarget { Id = 114, 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.7, Kpi = _context.Kpis.Local.First(x => x.Id == 21) }; _context.KpiTargets.Add(kpiTarget114); var kpiTarget115 = new KpiTarget { Id = 115, 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.KpiTargets.Add(kpiTarget115); var kpiTarget116 = new KpiTarget { Id = 116, 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.KpiTargets.Add(kpiTarget116); var kpiTarget117 = new KpiTarget { Id = 117, 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 == 1) }; _context.KpiTargets.Add(kpiTarget117); var kpiTarget118 = new KpiTarget { Id = 118, 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.KpiTargets.Add(kpiTarget118); var kpiTarget119 = new KpiTarget { Id = 119, 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.KpiTargets.Add(kpiTarget119); var kpiTarget120 = new KpiTarget { Id = 120, 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.KpiTargets.Add(kpiTarget120); var kpiTarget121 = new KpiTarget { Id = 121, 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 == 4) }; _context.KpiTargets.Add(kpiTarget121); var kpiTarget122 = new KpiTarget { Id = 122, 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.KpiTargets.Add(kpiTarget122); var kpiTarget123 = new KpiTarget { Id = 123, 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.KpiTargets.Add(kpiTarget123); var kpiTarget124 = new KpiTarget { Id = 124, 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 == 4) }; _context.KpiTargets.Add(kpiTarget124); var kpiTarget125 = new KpiTarget { Id = 125, 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.KpiTargets.Add(kpiTarget125); var kpiTarget126 = new KpiTarget { Id = 126, 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.KpiTargets.Add(kpiTarget126); var kpiTarget127 = new KpiTarget { Id = 127, 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.KpiTargets.Add(kpiTarget127); var kpiTarget128 = new KpiTarget { Id = 128, 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.KpiTargets.Add(kpiTarget128); var kpiTarget129 = new KpiTarget { Id = 129, 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.KpiTargets.Add(kpiTarget129); var kpiTarget130 = new KpiTarget { Id = 130, 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.KpiTargets.Add(kpiTarget130); var kpiTarget131 = new KpiTarget { Id = 131, 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.KpiTargets.Add(kpiTarget131); var kpiTarget132 = new KpiTarget { Id = 132, 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.KpiTargets.Add(kpiTarget132); var kpiTarget133 = new KpiTarget { Id = 133, 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.KpiTargets.Add(kpiTarget133); var kpiTarget134 = new KpiTarget { Id = 134, 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.KpiTargets.Add(kpiTarget134); var kpiTarget135 = new KpiTarget { Id = 135, 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.KpiTargets.Add(kpiTarget135); var kpiTarget136 = new KpiTarget { Id = 136, 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 == 34) }; _context.KpiTargets.Add(kpiTarget136); var kpiTarget137 = new KpiTarget { Id = 137, 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 = 10, Kpi = _context.Kpis.Local.First(x => x.Id == 34) }; _context.KpiTargets.Add(kpiTarget137); var kpiTarget138 = new KpiTarget { Id = 138, 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.KpiTargets.Add(kpiTarget138); var kpiTarget139 = new KpiTarget { Id = 139, 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.KpiTargets.Add(kpiTarget139); var kpiTarget140 = new KpiTarget { Id = 140, 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.KpiTargets.Add(kpiTarget140); var kpiTarget141 = new KpiTarget { Id = 141, 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 = 5, Kpi = _context.Kpis.Local.First(x => x.Id == 34) }; _context.KpiTargets.Add(kpiTarget141); var kpiTarget142 = new KpiTarget { Id = 142, 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.KpiTargets.Add(kpiTarget142); var kpiTarget143 = new KpiTarget { Id = 143, 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 = 87, Kpi = _context.Kpis.Local.First(x => x.Id == 10) }; _context.KpiTargets.Add(kpiTarget143); var kpiTarget144 = new KpiTarget { Id = 144, 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 = 87, Kpi = _context.Kpis.Local.First(x => x.Id == 10) }; _context.KpiTargets.Add(kpiTarget144); var kpiTarget145 = new KpiTarget { Id = 145, 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 = 87, Kpi = _context.Kpis.Local.First(x => x.Id == 10) }; _context.KpiTargets.Add(kpiTarget145); var kpiTarget146 = new KpiTarget { Id = 146, 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 = 87, Kpi = _context.Kpis.Local.First(x => x.Id == 10) }; _context.KpiTargets.Add(kpiTarget146); var kpiTarget147 = new KpiTarget { Id = 147, 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 == 10) }; _context.KpiTargets.Add(kpiTarget147); var kpiTarget148 = new KpiTarget { Id = 148, 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 = 85, Kpi = _context.Kpis.Local.First(x => x.Id == 9) }; _context.KpiTargets.Add(kpiTarget148); var kpiTarget149 = new KpiTarget { Id = 149, 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 = 85, Kpi = _context.Kpis.Local.First(x => x.Id == 9) }; _context.KpiTargets.Add(kpiTarget149); var kpiTarget150 = new KpiTarget { Id = 150, 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 = 85, Kpi = _context.Kpis.Local.First(x => x.Id == 9) }; _context.KpiTargets.Add(kpiTarget150); var kpiTarget151 = new KpiTarget { Id = 151, 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 = 85, Kpi = _context.Kpis.Local.First(x => x.Id == 9) }; _context.KpiTargets.Add(kpiTarget151); var kpiTarget152 = new KpiTarget { Id = 152, 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 = 85, Kpi = _context.Kpis.Local.First(x => x.Id == 9) }; _context.KpiTargets.Add(kpiTarget152); var kpiTarget153 = new KpiTarget { Id = 153, 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.KpiTargets.Add(kpiTarget153); var kpiTarget154 = new KpiTarget { Id = 154, 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.KpiTargets.Add(kpiTarget154); var kpiTarget155 = new KpiTarget { Id = 155, 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.KpiTargets.Add(kpiTarget155); var kpiTarget156 = new KpiTarget { Id = 156, 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.KpiTargets.Add(kpiTarget156); var kpiTarget157 = new KpiTarget { 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.7, Kpi = _context.Kpis.Local.First(x => x.Id == 21) }; _context.KpiTargets.Add(kpiTarget157); var kpiTarget158 = new KpiTarget { 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.7, Kpi = _context.Kpis.Local.First(x => x.Id == 21) }; _context.KpiTargets.Add(kpiTarget158); var kpiTarget159 = new KpiTarget { 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 = 0.7, Kpi = _context.Kpis.Local.First(x => x.Id == 21) }; _context.KpiTargets.Add(kpiTarget159); var kpiTarget160 = new KpiTarget { 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.7, Kpi = _context.Kpis.Local.First(x => x.Id == 21) }; _context.KpiTargets.Add(kpiTarget160); var kpiTarget161 = new KpiTarget { 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.7, Kpi = _context.Kpis.Local.First(x => x.Id == 21) }; _context.KpiTargets.Add(kpiTarget161); var kpiTarget162 = new KpiTarget { 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.7, Kpi = _context.Kpis.Local.First(x => x.Id == 21) }; _context.KpiTargets.Add(kpiTarget162); var kpiTarget163 = new KpiTarget { 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.7, Kpi = _context.Kpis.Local.First(x => x.Id == 21) }; _context.KpiTargets.Add(kpiTarget163); var kpiTarget164 = new KpiTarget { 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.7, Kpi = _context.Kpis.Local.First(x => x.Id == 21) }; _context.KpiTargets.Add(kpiTarget164); var kpiTarget165 = new KpiTarget { 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.7, Kpi = _context.Kpis.Local.First(x => x.Id == 21) }; _context.KpiTargets.Add(kpiTarget165); var kpiTarget166 = new KpiTarget { 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.7, Kpi = _context.Kpis.Local.First(x => x.Id == 21) }; _context.KpiTargets.Add(kpiTarget166); var kpiTarget167 = new KpiTarget { 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.7, Kpi = _context.Kpis.Local.First(x => x.Id == 21) }; _context.KpiTargets.Add(kpiTarget167); var kpiTarget168 = new KpiTarget { 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.7, Kpi = _context.Kpis.Local.First(x => x.Id == 21) }; _context.KpiTargets.Add(kpiTarget168); var kpiTarget169 = new KpiTarget { Id = 169, 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.KpiTargets.Add(kpiTarget169); var kpiTarget170 = new KpiTarget { Id = 170, 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.KpiTargets.Add(kpiTarget170); var kpiTarget171 = new KpiTarget { Id = 171, 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.KpiTargets.Add(kpiTarget171); var kpiTarget172 = new KpiTarget { Id = 172, 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.KpiTargets.Add(kpiTarget172); var kpiTarget173 = new KpiTarget { Id = 173, 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 = 0, Kpi = _context.Kpis.Local.First(x => x.Id == 1) }; _context.KpiTargets.Add(kpiTarget173); var kpiTarget174 = new KpiTarget { Id = 174, 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.KpiTargets.Add(kpiTarget174); var kpiTarget175 = new KpiTarget { Id = 175, 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 = 5, Kpi = _context.Kpis.Local.First(x => x.Id == 34) }; _context.KpiTargets.Add(kpiTarget175); var kpiTarget176 = new KpiTarget { Id = 176, 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.KpiTargets.Add(kpiTarget176); var kpiTarget177 = new KpiTarget { Id = 177, 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.KpiTargets.Add(kpiTarget177); var kpiTarget178 = new KpiTarget { Id = 178, 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 = 5, Kpi = _context.Kpis.Local.First(x => x.Id == 34) }; _context.KpiTargets.Add(kpiTarget178); var kpiTarget179 = new KpiTarget { Id = 179, 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 = 5, Kpi = _context.Kpis.Local.First(x => x.Id == 34) }; _context.KpiTargets.Add(kpiTarget179); var kpiTarget180 = new KpiTarget { Id = 180, 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 = 5, Kpi = _context.Kpis.Local.First(x => x.Id == 34) }; _context.KpiTargets.Add(kpiTarget180); var kpiTarget181 = new KpiTarget { Id = 181, 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 = 5, Kpi = _context.Kpis.Local.First(x => x.Id == 34) }; _context.KpiTargets.Add(kpiTarget181); var kpiTarget182 = new KpiTarget { Id = 182, 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 = 5, Kpi = _context.Kpis.Local.First(x => x.Id == 34) }; _context.KpiTargets.Add(kpiTarget182); var kpiTarget183 = new KpiTarget { Id = 183, 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 = 5, Kpi = _context.Kpis.Local.First(x => x.Id == 34) }; _context.KpiTargets.Add(kpiTarget183); var kpiTarget184 = new KpiTarget { Id = 184, 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 = 5, Kpi = _context.Kpis.Local.First(x => x.Id == 34) }; _context.KpiTargets.Add(kpiTarget184); var kpiTarget185 = new KpiTarget { Id = 185, 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.KpiTargets.Add(kpiTarget185); var kpiTarget186 = new KpiTarget { Id = 186, 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.KpiTargets.Add(kpiTarget186); var kpiTarget187 = new KpiTarget { Id = 187, 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.KpiTargets.Add(kpiTarget187); var kpiTarget188 = new KpiTarget { Id = 188, 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.KpiTargets.Add(kpiTarget188); var kpiTarget189 = new KpiTarget { Id = 189, 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.KpiTargets.Add(kpiTarget189); var kpiTarget190 = new KpiTarget { Id = 190, 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.KpiTargets.Add(kpiTarget190); var kpiTarget191 = new KpiTarget { Id = 191, 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.KpiTargets.Add(kpiTarget191); var kpiTarget192 = new KpiTarget { Id = 192, 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.KpiTargets.Add(kpiTarget192); var kpiTarget193 = new KpiTarget { Id = 193, 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.KpiTargets.Add(kpiTarget193); var kpiTarget194 = new KpiTarget { Id = 194, 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.KpiTargets.Add(kpiTarget194); var kpiTarget195 = new KpiTarget { Id = 195, 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.KpiTargets.Add(kpiTarget195); var kpiTarget196 = new KpiTarget { Id = 196, 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.KpiTargets.Add(kpiTarget196); var kpiTarget197 = new KpiTarget { Id = 197, 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.KpiTargets.Add(kpiTarget197); var kpiTarget198 = new KpiTarget { Id = 198, 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.KpiTargets.Add(kpiTarget198); var kpiTarget199 = new KpiTarget { Id = 199, 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.KpiTargets.Add(kpiTarget199); var kpiTarget200 = new KpiTarget { Id = 200, 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.KpiTargets.Add(kpiTarget200); var kpiTarget201 = new KpiTarget { Id = 201, 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.KpiTargets.Add(kpiTarget201); var kpiTarget202 = new KpiTarget { Id = 202, 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.KpiTargets.Add(kpiTarget202); var kpiTarget203 = new KpiTarget { Id = 203, 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.KpiTargets.Add(kpiTarget203); var kpiTarget204 = new KpiTarget { Id = 204, 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.KpiTargets.Add(kpiTarget204); var kpiTarget205 = new KpiTarget { Id = 205, 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.KpiTargets.Add(kpiTarget205); var kpiTarget206 = new KpiTarget { Id = 206, 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.KpiTargets.Add(kpiTarget206); var kpiTarget207 = new KpiTarget { Id = 207, 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.KpiTargets.Add(kpiTarget207); var kpiTarget208 = new KpiTarget { Id = 208, 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.KpiTargets.Add(kpiTarget208); var kpiTarget209 = new KpiTarget { Id = 209, 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.KpiTargets.Add(kpiTarget209); var kpiTarget210 = new KpiTarget { Id = 210, 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.KpiTargets.Add(kpiTarget210); var kpiTarget211 = new KpiTarget { Id = 211, 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.KpiTargets.Add(kpiTarget211); var kpiTarget212 = new KpiTarget { Id = 212, 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.KpiTargets.Add(kpiTarget212); var kpiTarget213 = new KpiTarget { Id = 213, 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.KpiTargets.Add(kpiTarget213); var kpiTarget214 = new KpiTarget { Id = 214, 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.KpiTargets.Add(kpiTarget214); var kpiTarget215 = new KpiTarget { Id = 215, 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.KpiTargets.Add(kpiTarget215); var kpiTarget216 = new KpiTarget { Id = 216, 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.KpiTargets.Add(kpiTarget216); var kpiTarget217 = new KpiTarget { Id = 217, 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.KpiTargets.Add(kpiTarget217); var kpiTarget218 = new KpiTarget { Id = 218, 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.KpiTargets.Add(kpiTarget218); var kpiTarget219 = new KpiTarget { Id = 219, 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.KpiTargets.Add(kpiTarget219); var kpiTarget220 = new KpiTarget { Id = 220, 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.KpiTargets.Add(kpiTarget220); var kpiTarget221 = new KpiTarget { Id = 221, 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.KpiTargets.Add(kpiTarget221); var kpiTarget222 = new KpiTarget { Id = 222, 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.KpiTargets.Add(kpiTarget222); var kpiTarget223 = new KpiTarget { Id = 223, 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.KpiTargets.Add(kpiTarget223); var kpiTarget224 = new KpiTarget { Id = 224, 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.KpiTargets.Add(kpiTarget224); var kpiTarget225 = new KpiTarget { Id = 225, 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.KpiTargets.Add(kpiTarget225); var kpiTarget226 = new KpiTarget { Id = 226, 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.KpiTargets.Add(kpiTarget226); var kpiTarget227 = new KpiTarget { Id = 227, 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.KpiTargets.Add(kpiTarget227); var kpiTarget228 = new KpiTarget { Id = 228, 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.KpiTargets.Add(kpiTarget228); var kpiTarget229 = new KpiTarget { Id = 229, 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.KpiTargets.Add(kpiTarget229); var kpiTarget230 = new KpiTarget { Id = 230, 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.KpiTargets.Add(kpiTarget230); var kpiTarget231 = new KpiTarget { Id = 231, 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 = "test aja", Value = 1, Kpi = _context.Kpis.Local.First(x => x.Id == 31) }; _context.KpiTargets.Add(kpiTarget231); var kpiTarget232 = new KpiTarget { Id = 232, 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 = "test aja", Value = 1, Kpi = _context.Kpis.Local.First(x => x.Id == 31) }; _context.KpiTargets.Add(kpiTarget232); var kpiTarget233 = new KpiTarget { Id = 233, 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 = "test aja", Value = 1, Kpi = _context.Kpis.Local.First(x => x.Id == 31) }; _context.KpiTargets.Add(kpiTarget233); var kpiTarget234 = new KpiTarget { Id = 234, 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 = "test aja", Value = null, Kpi = _context.Kpis.Local.First(x => x.Id == 31) }; _context.KpiTargets.Add(kpiTarget234); var kpiTarget235 = new KpiTarget { Id = 235, 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 = "test aja", Value = 1, Kpi = _context.Kpis.Local.First(x => x.Id == 31) }; _context.KpiTargets.Add(kpiTarget235); var kpiTarget236 = new KpiTarget { Id = 236, 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.KpiTargets.Add(kpiTarget236); var kpiTarget237 = new KpiTarget { Id = 237, 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.KpiTargets.Add(kpiTarget237); var kpiTarget238 = new KpiTarget { Id = 238, 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.KpiTargets.Add(kpiTarget238); var kpiTarget239 = new KpiTarget { Id = 239, 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.KpiTargets.Add(kpiTarget239); var kpiTarget240 = new KpiTarget { Id = 240, 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.KpiTargets.Add(kpiTarget240); var kpiTarget241 = new KpiTarget { Id = 241, 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 = 15, Kpi = _context.Kpis.Local.First(x => x.Id == 25) }; _context.KpiTargets.Add(kpiTarget241); var kpiTarget242 = new KpiTarget { Id = 242, 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 = 15, Kpi = _context.Kpis.Local.First(x => x.Id == 25) }; _context.KpiTargets.Add(kpiTarget242); var kpiTarget243 = new KpiTarget { Id = 243, 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 = 15, Kpi = _context.Kpis.Local.First(x => x.Id == 25) }; _context.KpiTargets.Add(kpiTarget243); var kpiTarget244 = new KpiTarget { Id = 244, 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 = 15, Kpi = _context.Kpis.Local.First(x => x.Id == 25) }; _context.KpiTargets.Add(kpiTarget244); var kpiTarget245 = new KpiTarget { Id = 245, 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 = 5, Kpi = _context.Kpis.Local.First(x => x.Id == 25) }; _context.KpiTargets.Add(kpiTarget245); var kpiTarget246 = new KpiTarget { Id = 246, 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 = 5, Kpi = _context.Kpis.Local.First(x => x.Id == 25) }; _context.KpiTargets.Add(kpiTarget246); var kpiTarget247 = new KpiTarget { Id = 247, 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 = 5, Kpi = _context.Kpis.Local.First(x => x.Id == 25) }; _context.KpiTargets.Add(kpiTarget247); var kpiTarget248 = new KpiTarget { Id = 248, 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.KpiTargets.Add(kpiTarget248); var kpiTarget249 = new KpiTarget { Id = 249, 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.KpiTargets.Add(kpiTarget249); var kpiTarget250 = new KpiTarget { Id = 250, 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.KpiTargets.Add(kpiTarget250); var kpiTarget251 = new KpiTarget { Id = 251, 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 = 3, Kpi = _context.Kpis.Local.First(x => x.Id == 14) }; _context.KpiTargets.Add(kpiTarget251); var kpiTarget252 = new KpiTarget { Id = 252, 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 = 3, Kpi = _context.Kpis.Local.First(x => x.Id == 14) }; _context.KpiTargets.Add(kpiTarget252); var kpiTarget253 = new KpiTarget { Id = 253, 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.KpiTargets.Add(kpiTarget253); var kpiTarget254 = new KpiTarget { Id = 254, 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.KpiTargets.Add(kpiTarget254); var kpiTarget255 = new KpiTarget { Id = 255, 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 = 3, Kpi = _context.Kpis.Local.First(x => x.Id == 14) }; _context.KpiTargets.Add(kpiTarget255); var kpiTarget256 = new KpiTarget { Id = 256, 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 = 3, Kpi = _context.Kpis.Local.First(x => x.Id == 14) }; _context.KpiTargets.Add(kpiTarget256); var kpiTarget257 = new KpiTarget { Id = 257, 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.KpiTargets.Add(kpiTarget257); var kpiTarget258 = new KpiTarget { Id = 258, 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.KpiTargets.Add(kpiTarget258); var kpiTarget259 = new KpiTarget { Id = 259, 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 = 3, Kpi = _context.Kpis.Local.First(x => x.Id == 14) }; _context.KpiTargets.Add(kpiTarget259); var kpiTarget260 = new KpiTarget { Id = 260, 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 = 3, Kpi = _context.Kpis.Local.First(x => x.Id == 14) }; _context.KpiTargets.Add(kpiTarget260); }