We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bff48b5 commit 8f82b3dCopy full SHA for 8f82b3d
src/Spd.Resource.Repository.JobSchedule/Org/OrgRepository.cs
@@ -1,4 +1,5 @@
1
using AutoMapper;
2
+using Microsoft.Dynamics.CRM;
3
using Spd.Resource.Repository.JobSchedule.GeneralizeScheduleJob;
4
using Spd.Utilities.Dynamics;
5
@@ -20,6 +21,10 @@ public async Task<IEnumerable<ResultResp>> RunMonthlyInvoiceAsync(CancellationTo
20
21
.Where(a => a.spd_eligibleforcreditpayment == (int)YesNoOptionSet.Yes)
22
.ToList();
23
24
+ accounts = new List<account>()
25
+ {
26
+ accounts.FirstOrDefault()
27
+ };
28
using var semaphore = new SemaphoreSlim(10); // Limit to 10 concurrent requests
29
30
var tasks = accounts.Select(async a =>
0 commit comments