ICommitTimeEntriesTo3E.Handle

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

var commitTimeEntriesTo3E = Activate<ICommitTimeEntriesTo3E>();
await commitTimeEntriesTo3E.Handle(
    FromJson<CommitTimeEntriesTo3ERequest>("{\"CommitAll\":false,\"TimeEntryIds\":[24320249],\"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 11:02:01 AM (+14.436s) 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()

+3.237s Processing

Server:
wvdappdevv2-19:1580
Worker:
ea925d89
+1.548sSubmission to 3E - Started at 11/14/2025 5:01:46 AM
+1.622sFeeUserId: 50, name=Abbas Naqi(AG\ANaqi)
+4.699sTotal entries #: 1, Submitted by=Mythili Sailaja(AG\MSailaja)
+5.124sTimekeeperIndex: 3872, Timekeeper Status: ACTIVE
+5.284sA1TimekeeperId: 1073, User Daily Time Limit: NULL, User Daily Client Time Limit: NULL
+15.884sCannot perform commit operation - Sequence contains no matching element

+7ms Enqueued

11/14/2025 11:01:43 AM Created