ICommitTimeEntriesTo3E.Handle

// Job ID: #1118385
using AG.A1.Scheduler.Billing.Contracts.Contracts;

var commitTimeEntriesTo3E = Activate<ICommitTimeEntriesTo3E>();
await commitTimeEntriesTo3E.Handle(
    FromJson<CommitTimeEntriesTo3ERequest>("{\"CommitAll\":false,\"TimeEntryIds\":[24320342],\"UserId\":50,\"UserFullName\":\"Abbas Naqi\",\"UserWindowsId\":\"AG\\ANaqi\",\"InputSource\":\"alliantOne\",\"SubmittedBy\":7814,\"IsAGTalent\":false}"),
    null,
    null);

Parameters

CurrentCulture
"en-US"
CurrentUICulture
"en-US"

State

11/19/2025 3:33:23 AM (+19.480s) Failed

An exception occurred during performance of the job.

System.InvalidOperationException

Sequence contains no matching element

System.InvalidOperationException: Sequence contains no matching element
   at System.Linq.ThrowHelper.ThrowNoMatchException()
   at System.Linq.Enumerable.First[TSource](IEnumerable`1 source, Func`2 predicate)
   at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.CommitTimeEntryTo3ECommandHandler.MapToTimeEntry(TimeSplitDto model, List`1 timeEntriesToLedger) in C:\Users\MSailaja\Source\Repos\alliantOne\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\CommitTimeEntryTo3ECommandHandler.cs:line 913
   at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.CommitTimeEntryTo3ECommandHandler.<SplitTimeForLinkedFiles>b__54_1(TimeSplitDto m) in C:\Users\MSailaja\Source\Repos\alliantOne\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\CommitTimeEntryTo3ECommandHandler.cs:line 894
   at System.Linq.Enumerable.SelectListIterator`2.ToList()
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.CommitTimeEntryTo3ECommandHandler.SplitTimeForLinkedFiles() in C:\Users\MSailaja\Source\Repos\alliantOne\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\CommitTimeEntryTo3ECommandHandler.cs:line 894
   at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.CommitTimeEntryTo3ECommandHandler.AddTimeSplitRows() in C:\Users\MSailaja\Source\Repos\alliantOne\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\CommitTimeEntryTo3ECommandHandler.cs:line 842
   at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.CommitTimeEntryTo3ECommandHandler.Handle(CommitTimeEntriesTo3ERequest request, CancellationToken cancellationToken, PerformContext performContext) in C:\Users\MSailaja\Source\Repos\alliantOne\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\CommitTimeEntryTo3ECommandHandler.cs:line 247
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()

+170ms Processing

Server:
wvdappdevv2-19:19872
Worker:
1a5a0784
+70msSubmission to 3E - Started at 11/18/2025 9:33:03 PM
+84msFeeUserId: 50, name=Abbas Naqi(AG\ANaqi)
+2.344sTotal entries #: 1, Submitted by=Mythili Sailaja(AG\MSailaja)
+3.037sTimekeeperIndex: 3872, Timekeeper Status: ACTIVE
+3.239sA1TimekeeperId: 1073, User Daily Time Limit: NULL, User Daily Client Time Limit: NULL
+19.451sCannot perform commit operation - Sequence contains no matching element

+240ms Enqueued

11/19/2025 3:33:03 AM Created