Error in Print Legal Number History Report

When i print preview the report, the system monitor shows an error like below. I know there is a problem of a date (2021/4/1). However, i have no idea how to fix it.

Program Ice.Services.Lib.RunTask raised an unexpected exception with the following message: RunTask: An item with the same key has already been added.
Stack Trace:
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary2.Insert(TKey key, TValue value, Boolean add) at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable1 source, Func2 keySelector, Func2 elementSelector, IEqualityComparer1 comparer) at Erp.Internal.GL.LegalNumHistoryReport.getDocumentRefDic(String[] RelatedToFileList, Dictionary2& docRefDic, List`1 LNIDList) in c:_Releases\ERP\RL10.2.200.0\Source\Server\Internal\GL\LegalNumHistory\LegalNumHistoryReport.cs:line 200
at Erp.Internal.GL.LegalNumHistoryReport.dumpLegalNumberHistory() in c:_Releases\ERP\RL10.2.200.0\Source\Server\Internal\GL\LegalNumHistory\LegalNumHistoryReport.cs:line 124
at Erp.Internal.GL.LegalNumHistoryReport.RunProcess(Int64 instanceTaskNum, String outputFileName) in c:_Releases\ERP\RL10.2.200.0\Source\Server\Internal\GL\LegalNumHistory\LegalNumHistoryReport.cs:line 81
at Ice.Hosting.TaskCaller.InnerExecuteTask(IceDataContext newContext) in C:_Releases\ICE\RL3.2.200.0\Source\Framework\Epicor.Ice\Hosting\TaskCaller\TaskCaller.cs:line 98
at Ice.Hosting.TaskCaller.ExecuteTask() in C:_Releases\ICE\RL3.2.200.0\Source\Framework\Epicor.Ice\Hosting\TaskCaller\TaskCaller.cs:line 57
at Ice.Lib.RunTask.BpmFriendlyTaskLauncher.Run(String sessionIdPrefix, IceContext db, Action taskRunner) in C:_Releases\ICE\RL3.2.200.0\Source\Server\Services\Lib\RunTask\BpmFriendlyTaskLauncher.cs:line 63
at Ice.Services.Lib.RunTaskSvc.InnerRunTask(Int64 ipTaskNum, Boolean suppressTransaction) in C:_Releases\ICE\RL3.2.200.0\Source\Server\Services\Lib\RunTask\RunTask.cs:line 547

The Standard Legal Num History Report is working fine for me (10.2.600.5), Do you have Customised Version of the report ? Your error tells that a Parameter ora field is being duplicated somewhere !

SYA

We do not have customized the report

Ok - Is this issue happening from the start Or is started recently ? Secondly, is this error appears for all the Legal Num ID’s ?

Since we just go live the database (this month). We found that when we would like to print some days of Legal Number History. It will shows the error. I think that it is related to the data.

This is a known issue that was fixed in 10.2.700, ERPS-130416

The workaround is to filter the report and separate AP Payments and Void Payments as the code tries to use the same key for both.

If i need to fix it in current version, do i need to call epicor to suppoer?

Yes, you need to contact support and they will let you know what options are available.