ICommitTimeEntriesTo3E.Handle

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

var commitTimeEntriesTo3E = Activate<ICommitTimeEntriesTo3E>();
await commitTimeEntriesTo3E.Handle(
    FromJson<CommitTimeEntriesTo3ERequest>("{\"CommitAll\":false,\"TimeEntryIds\":[24320251],\"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/14/2025 12:22:11 PM (+37.916s) 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 938
   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 917
   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 917
   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 853
   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()

+320ms Processing

Server:
wvdappdevv2-19:1580
Worker:
0c5ae06e
+19msSubmission to 3E - Started at 11/14/2025 6:21:33 AM
+29msFeeUserId: 50, name=Abbas Naqi(AG\ANaqi)
+2.602sTotal entries #: 1, Submitted by=Mythili Sailaja(AG\MSailaja)
+3.697sTimekeeperIndex: 3872, Timekeeper Status: ACTIVE
+3.970sA1TimekeeperId: 1073, User Daily Time Limit: NULL, User Daily Client Time Limit: NULL
+37.759sCannot perform commit operation - Sequence contains no matching element

+20ms Enqueued

11/14/2025 12:21:33 PM Created