DynamicCode priority for year sumary
This commit is contained in:
@@ -119,7 +119,9 @@ public class T3MultiSourceYearSummaryProcessor
|
|||||||
|
|
||||||
|
|
||||||
// Dynamic Codes
|
// Dynamic Codes
|
||||||
var dynamicCodes = processWorker.Records?.Where(x => x.Code == "DynamicCode").ToList();
|
var dynamicCodes = processWorker.Records?
|
||||||
|
.Where(x => x.Code!.Contains("DynamicCode-"))
|
||||||
|
.OrderBy(x => int.Parse(x.Code!.Split('-')[1])).ToList();
|
||||||
if (dynamicCodes != null && dynamicCodes.Count != 0)
|
if (dynamicCodes != null && dynamicCodes.Count != 0)
|
||||||
{
|
{
|
||||||
foreach (var dynamicCode in dynamicCodes)
|
foreach (var dynamicCode in dynamicCodes)
|
||||||
|
|||||||
Reference in New Issue
Block a user