Dear team,
we receive the next error when GenerateAnniversaryRemindings process is run:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Terrasoft.Common.DublicateDataException: Duplicates data in object "Reminding". at Terrasoft.Core.Entities.Entity.Load(Select select, IDictionary`2 columnMap) at Terrasoft.Core.Entities.Entity.InternalFetchFromDB(IEnumerable`1 columnsToFetch, IDictionary`2 conditions, Boolean useDisplayValues, Boolean performValuesCleanup) at Terrasoft.Core.Entities.Entity.FetchFromDB(EntitySchemaColumn conditionColumn, Object conditionValue, Boolean useDisplayValues) at Terrasoft.Configuration.BaseAnniversaryReminding.DeleteNotActualAnniversaryRemindings(String anniversarySchemaName) at Terrasoft.Configuration.BaseAnniversaryReminding.GenerateRemindings(Select select, String anniversarySchemaName) at Terrasoft.Configuration.BaseAnniversaryReminding.ExecuteQueries() --- End of inner exception stack trace --- at Terrasoft.Core.Process.GenerateAnniversaryRemindingsMethodsWrapper.GenerateRemindingExecute(ProcessExecutingContext context) at Terrasoft.Core.Process.ProcessFlowElement.Execute(ProcessExecutingContext context)
Please advise, what columns are taken into accounts when selecting data from dbo.Reminding and how to fix this issue?
Thanks, Iuliia