Valid Source Method required

While trying to copy a MOM from a method, the following error message displays. What am I missing?
error message

If you click the Detail button on the error… are there any other clues listed?

Business Layer Exception

A valid Source Method is required.

Exception caught in: Epicor.ServiceModel

Error Detail

Description: A valid Source Method is required.
Program: Erp.Services.BO.QuoteAsm.dll
Method: GetDetails
Line Number: 18173
Column Number: 33
Table: PartRev
Field: Method
Server Trace Stack: at Erp.Services.BO.QuoteAsmSvc.GetDetails(Int32 quoteNum, Int32 quoteLine, Int32 targetAsm, String sourceFile, Int32 sourceQuote, Int32 sourceLine, String sourceJob, Int32 sourceAsm, String sourcePart, String sourceRev, String sourceAltMethod, Boolean useMethodForParts, Boolean ipCompleteTree, Boolean getCostsFromTemp, String& partErrors) in C:_Releases\ERP\UD10.1.600.3\Source\Server\Services\BO\QuoteAsm\QuoteAsm.cs:line 18173
at Erp.Services.BO.QuoteAsmSvcFacade.GetDetails(Int32 quoteNum, Int32 quoteLine, Int32 targetAsm, String sourceFile, Int32 sourceQuote, Int32 sourceLine, String sourceJob, Int32 sourceAsm, String sourcePart, String sourceRev, String sourceAltMethod, Boolean useMethodForParts, Boolean ipCompleteTree, Boolean getCostsFromTemp, String& partErrors) in C:_Releases\ERP\UD10.1.600.3\Source\Server\Services\BO\QuoteAsm\QuoteAsmSvcFacade.cs:line 783
at SyncInvokeGetDetails(Object , Object[] , Object[] )
at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
at Epicor.Hosting.OperationBoundInvoker.InnerInvoke(Object instance, Func2 func) in c:\_Releases\ICE\3.1.600.0\Source\Framework\Epicor.System\Hosting\OperationBoundInvoker.cs:line 59 at Epicor.Hosting.OperationBoundInvoker.Invoke(Object instance, Func2 func) in c:_Releases\ICE\3.1.600.0\Source\Framework\Epicor.System\Hosting\OperationBoundInvoker.cs:line 28
at Epicor.Hosting.Wcf.EpiOperationInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs) in c:_Releases\ICE\3.1.600.0\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 System.ServiceModel.Dispatcher.ChannelHandler.DispatchAndReleasePump(RequestContext request, Boolean cleanThread, OperationContext currentOperationContext)
at System.ServiceModel.Dispatcher.ChannelHandler.HandleRequest(RequestContext request, OperationContext currentOperationContext)
at System.ServiceModel.Dispatcher.ChannelHandler.AsyncMessagePump(IAsyncResult result)
at System.ServiceModel.Dispatcher.ChannelHandler.OnAsyncReceiveComplete(IAsyncResult result)
at System.Runtime.Fx.AsyncThunk.UnhandledExceptionFrame(IAsyncResult result)
at System.Runtime.AsyncResult.Complete(Boolean completedSynchronously)
at System.ServiceModel.Channels.SecurityChannelListener1.ReceiveItemAndVerifySecurityAsyncResult2.InnerTryReceiveCompletedCallback(IAsyncResult result)
at System.Runtime.Fx.AsyncThunk.UnhandledExceptionFrame(IAsyncResult result)
at System.Runtime.AsyncResult.Complete(Boolean completedSynchronously)
at System.ServiceModel.Channels.TransportDuplexSessionChannel.TryReceiveAsyncResult.OnReceive(IAsyncResult result)
at System.Runtime.Fx.AsyncThunk.UnhandledExceptionFrame(IAsyncResult result)
at System.Runtime.AsyncResult.Complete(Boolean completedSynchronously)
at System.ServiceModel.Channels.SynchronizedMessageSource.ReceiveAsyncResult.OnReceiveComplete(Object state)
at System.ServiceModel.Channels.SessionConnectionReader.OnAsyncReadComplete(Object state)
at System.Runtime.Fx.AsyncThunk.UnhandledExceptionFrame(IAsyncResult result)
at System.Net.LazyAsyncResult.Complete(IntPtr userToken)
at System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object result, IntPtr userToken)
at System.Net.Security.NegotiateStream.ProcessFrameBody(Int32 readBytes, Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.NegotiateStream.ReadCallback(AsyncProtocolRequest asyncRequest)
at System.Net.AsyncProtocolRequest.CompleteRequest(Int32 result)
at System.Net.FixedSizeReader.CheckCompletionBeforeNextRead(Int32 bytes)
at System.Net.FixedSizeReader.ReadCallback(IAsyncResult transportResult)
at System.Runtime.AsyncResult.Complete(Boolean completedSynchronously)
at System.ServiceModel.Channels.ConnectionStream.IOAsyncResult.OnAsyncIOComplete(Object state)
at System.Net.Sockets.SocketAsyncEventArgs.OnCompleted(SocketAsyncEventArgs e)
at System.Net.Sockets.SocketAsyncEventArgs.FinishOperationSuccess(SocketError socketError, Int32 bytesTransferred, SocketFlags flags)
at System.Net.Sockets.SocketAsyncEventArgs.CompletionPortCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)
at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)

Client Stack Trace

at Epicor.ServiceModel.Channels.ImplBase`1.ShouldRethrowNonRetryableException(Exception ex, DataSet[] dataSets)
at Erp.Proxy.BO.QuoteAsmImpl.GetDetails(Int32 quoteNum, Int32 quoteLine, Int32 targetAsm, String sourceFile, Int32 sourceQuote, Int32 sourceLine, String sourceJob, Int32 sourceAsm, String sourcePart, String sourceRev, String sourceAltMethod, Boolean useMethodForParts, Boolean ipCompleteTree, Boolean getCostsFromTemp, String& partErrors)
at Erp.Adapters.QuoteAsmAdapter.GetDetails(Int32 quoteNum, Int32 quoteLine, Int32 targetAsm, String sourceFile, Int32 sourceQuote, Int32 sourceLine, String sourceJob, Int32 sourceAsm, String sourcePart, String sourceRev, String sourceAltMethod, Boolean useMethodForParts, Boolean ipCompleteTree, Boolean getCostsFromTemp, String& partErrors)

Do you have an inactivated resource on the source MOM?

1 Like

If trying to get details from a job… is the source job marked as a template first in job maintenance?

If you have multiple sites, is your parent part Rev site setup as same Rev site you are pulling details from?

Nancy