We have a bunch of Vendors that we were able to do a global linkage to other companies. However, a particular vendor, whenever we tried to do the linkage we get the below error.
Application Error
Exception caught in: Epicor.ServiceModel
Error Detail
============
Message: Object reference not set to an instance of an object.
Program: Epicor.ServiceModel.dll
Method: ShouldRethrowNonRetryableException
Client Stack Trace
==================
at Erp.Triggers.VendPart.WriteTrigger.write(VendPart VendPart, VendPart OldVendPart) in c:\_Releases\ERP\RL10.2.100.0\Source\Server\Db\Triggers\VendPart\Write.cs:line 123
at Erp.Triggers.VendPart.WriteTrigger.Write(VendPart VendPart, VendPart OldVendPart) in c:\_Releases\ERP\RL10.2.100.0\Source\Server\Db\Triggers\VendPart\Write.cs:line 64
at Ice.Triggers.TriggerQueue.ExecuteWriteTrigger(IceDataContext context, LinqRow modifiedRecord, LinqRow originalRecord) in C:\_Releases\ICE\ICE3.2.100.7\Source\Framework\Epicor.System\Triggers\TriggerQueue.cs:line 306
at Ice.Triggers.TriggerQueue.RunWriteTriggerInNewLevel(IceDataContext context, LinqRow modifiedRecord, LinqRow originalRecord, Boolean forAddedRow) in C:\_Releases\ICE\ICE3.2.100.7\Source\Framework\Epicor.System\Triggers\TriggerQueue.cs:line 169
at Ice.Triggers.TriggerQueue.<>c__DisplayClass11_0.<RunWriteTrigger>b__1() in C:\_Releases\ICE\ICE3.2.100.7\Source\Framework\Epicor.System\Triggers\TriggerQueue.cs:line 160
at Ice.Triggers.TriggerQueue.RunAtNewLevel(Func`1 buildTriggerRunState, Action action) in C:\_Releases\ICE\ICE3.2.100.7\Source\Framework\Epicor.System\Triggers\TriggerQueue.cs:line 513
at Ice.Triggers.TriggerQueue.RunTriggers(IceDataContext context) in C:\_Releases\ICE\ICE3.2.100.7\Source\Framework\Epicor.System\Triggers\TriggerQueue.cs:line 89
at Ice.IceDataContext.RunUntilAllTriggersHaveExecuted() in C:\_Releases\ICE\ICE3.2.100.7\Source\Framework\Epicor.System\Data\IceDataContext.cs:line 577
at Ice.Triggers.TriggerQueue.RunAtNewLevel(Func`1 buildTriggerRunState, Action action) in C:\_Releases\ICE\ICE3.2.100.7\Source\Framework\Epicor.System\Triggers\TriggerQueue.cs:line 513
at Ice.IceDataContext.Validate[TLinqRow](TLinqRow row) in C:\_Releases\ICE\ICE3.2.100.7\Source\Framework\Epicor.System\Data\IceDataContext.cs:line 307
at Erp.Services.BO.VendorSvc.glbVendorLinking() in C:\_Releases\ERP\UD10.2.100.7\Source\Server\Services\BO\Vendor\Vendor.cs:line 2588
at Erp.Services.BO.VendorSvc.VendorBeforeUpdate() in C:\_Releases\ERP\UD10.2.100.7\Source\Server\Services\BO\Vendor\Vendor.cs:line 5702
at Ice.Services.Trace.TablesetProfilingCollector.DoRowEventTrace(String tableName, String methodName, Int32 rowCount, Action action) in C:\_Releases\ICE\ICE3.2.100.7\Source\Framework\Epicor.Ice\Services\TablesetProfilingCollector.cs:line 144
at Ice.TablesetBound`3.CreateRow(IceDataContext dataContext, Int32 tableNum, IIceTable table, IceRow newTablesetRow, TablesetProfilingCollector parentTraceCollector) in C:\_Releases\ICE\ICE3.2.100.7\Source\Framework\Epicor.Ice\Services\TablesetBound.cs:line 1090
at Ice.TablesetBound`3.WriteTable(IceDataContext dataContext, Int32 tableIndex, IIceTable table, TablesetProfilingCollector parentTraceCollector) in C:\_Releases\ICE\ICE3.2.100.7\Source\Framework\Epicor.Ice\Services\TablesetBound.cs:line 947
at Ice.TablesetBound`3.InnerUpdate(IceDataContext dataContext, TFullTableset tableset) in C:\_Releases\ICE\ICE3.2.100.7\Source\Framework\Epicor.Ice\Services\TablesetBound.cs:line 864
at Erp.Services.BO.VendorSvc.Update(VendorTableset& ds) in C:\_Releases\ERP\UD10.2.100.7\Source\Server\Services\BO\Vendor\Vendor.Designer.cs:line 4758
at Epicor.Customization.Bpm.MethodCustomizationBase2`3.RunDirectives(TParam parameters) in C:\_Releases\ICE\ICE3.2.100.7\Source\Server\Internal\Lib\Epicor.Customization.BPM\MethodCustomizationBase2.cs:line 193
at Epicor.Customization.Bpm.CustomizationBase2`3.Execute(TParam parameters) in C:\_Releases\ICE\ICE3.2.100.7\Source\Server\Internal\Lib\Epicor.Customization.BPM\CustomizationBase2.cs:line 71
at Epicor.Customization.Bpm.BO64D0660A319C469CB1A453A825BA3B28.VendorSvcCustomization.Update(VendorTableset& ds)
at Erp.Services.BO.VendorSvcFacade.Update(VendorTableset& ds) in C:\_Releases\ERP\UD10.2.100.7\Source\Server\Services\BO\Vendor\VendorSvcFacade.cs:line 3128
at SyncInvokeUpdate(Object , Object[] , Object[] )
at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
at Epicor.Hosting.OperationBoundInvoker.InnerInvoke(Object instance, Func`2 func) in C:\_Releases\ICE\ICE3.2.100.7\Source\Framework\Epicor.System\Hosting\OperationBoundInvoker.cs:line 59
at Epicor.Hosting.OperationBoundInvoker.Invoke(Object instance, Func`2 func) in C:\_Releases\ICE\ICE3.2.100.7\Source\Framework\Epicor.System\Hosting\OperationBoundInvoker.cs:line 47
at Epicor.Hosting.Wcf.EpiOperationInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs) in C:\_Releases\ICE\ICE3.2.100.7\Source\Framework\Epicor.System\Hosting\Wcf\EpiOperationInvoker.cs:line 23
at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage11(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)
at Epicor.ServiceModel.Channels.ImplBase`1.ShouldRethrowNonRetryableException(Exception ex, DataSet[] dataSets)
at Erp.Proxy.BO.VendorImpl.Update(VendorDataSet ds)
at Erp.Adapters.VendorAdapter.OnUpdate()
at Ice.Lib.Framework.EpiBaseAdapter.Update()
at Erp.UI.App.VendorEntry.VendorTransaction.Update()
We were told that it could be a BPM issue, but there’s no BPM. Even if it’s a BPM, it worked for the hundreds of vendors except this one. Any ideas what to look for?