After the update that Epicor released last week, we are unable to print our custom AR Invoice forms. We get an error message as stated below. I have tried including the column CallCode, but then the next print it says to include a different column and it continues to give that error message with a different column name each time. Is there something different that should be done to get this fixed?
Program Ice.Services.Lib.RunTask when executing task 2131666 raised an unexpected exception with the following message: RunTask:
System.InvalidOperationException: The lookup link ‘CallCode’ is missing the InvcDtl.CallCode column. If the column is excluded then include it. Otherwise, consider dropping the lookup link.
—> System.IndexOutOfRangeException: CallCode
at System.Data.ProviderBase.BasicFieldNameLookup.GetOrdinal(String fieldName)
at System.Data.SqlClient.SqlDataReader.GetOrdinal(String name)
at Ice.Core.RptBase.DataRecordWrapper.get_Item(String columnName)
at Ice.Core.RptBase.ForeignLinkTableSqlBuilder.GetRightSideLinkCriteriaValueFromDataRecordWrapper(String sourceField)
— End of inner exception stack trace —
at Ice.Core.RptBase.ForeignLinkTableSqlBuilder.GetRightSideLinkCriteriaValueFromDataRecordWrapper(String sourceField)
at Ice.Core.RptBase.ForeignLinkTableSqlBuilder.BuildWhereClause()
at Ice.Core.RptBase.SqlBuilderBase.BuildSqlCommand()
at Ice.Core.RptBase.DataWriterBase.FillForeignLinkTableValues(ZDataDataSource dataSource, IRow toRow, IRow sourceRow)
at Ice.Core.RptBase.OutputRelationDataWriter.WriteRowsForKeyValues(IDataReader reader, IList`1 keyParameters, IDataSource relatedTable, Object[] keyValues)
at Ice.Core.RptBase.OutputRelationDataWriter.WriteRowsForKeyValues(IDbCommand sqlCommand, IList`1 keyParameters, IDataSource relatedTable, Object[] keyValues)
at Ice.Core.RptBase.OutputRelationDataWriter.WriteRows(IDbCommand sqlCommand, IList`1 keyParameters, IDataSource relatedTable, UniqueKeyCollection relationKeys)
at Ice.Core.RptBase.OutputRelationDataWriter.WriteTable(DataSourceRelationship relationship, IDataSource relatedTable, DataColumnCollection keyColumns, UniqueKeyCollection keyValues)
at Ice.Core.RptBase.OutputRelationDataWriter.WriteTables()
at Ice.Core.RptBase.ReportDataBuilderBase.XMLClose()
at Ice.Core.RptBase.ReportDatabaseBuilder.XMLClose()
at Ice.Core.RptTaskBase`1.XMLClose()
at Erp.Internal.AR.ARInvForm.RunProcess(Int64 instanceTaskNum, String outputFileName) in C:_releases\ERP\ERP11.2.200.0\Source\Server\Internal\AR\ARInvForm\ARInvForm.cs:line 1441
at Ice.Hosting.TaskCaller.InnerExecuteTask(IceDataContext newContext) in C:_releases\ICE\ICE4.2.200.0\Source\Server\Framework\Epicor.Ice\Hosting\TaskCaller\TaskCaller.cs:line 68
at Ice.Hosting.TaskCaller.ExecuteTask() in C:_releases\ICE\ICE4.2.200.0\Source\Server\Framework\Epicor.Ice\Hosting\TaskCaller\TaskCaller.cs:line 64
at Ice.Lib.RunTask.BpmFriendlyTaskLauncher.Run(String sessionIdPrefix, IceContext db, Action taskRunner) in C:_releases\ICE\ICE4.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\ICE4.2.200.0\Source\Server\Services\Lib\RunTask\RunTask.cs:line 450