Error While creating Job from Order Entry


(William) #1

Attempting to create a Job and get the follwoing error:

An error occurred while updating the entries. See the inner exception for details.

Exception caught in: Epicor.ServiceModel

Error Detail

Description: An error occurred while updating the entries. See the inner exception for details.
Program: Erp.Internal.MR.CPMethod.dll
Method: _CPMethod
Line Number: 1356
Column Number: 21
Server Trace Stack: at Erp.Internal.MR.CPMethod._CPMethod(Guid TargetAsm_Rowid, String Source_Part, String Source_Rev, String Source_AltMethod, Object hProcessInfo, Boolean msg_prompt, Boolean Use_Source_AltMethod, Boolean fromCpMethod, Boolean doRoughCutSched, Boolean& crossPlant, Nullable1& useDate, String& useJob, String& useRev, Int32& cfgPhantomCount, List1& opTgtJobRows, Int32 structID) in c:_Releases\ERP\UD10.1.400.19\Source\Server\Internal\MR\CPMethod\CPMethod.cs:line 1356
at Erp.Services.BO.OrderJobWizSvc.getDetails(Boolean& errorOccurred) in c:_Releases\ERP\UD10.1.400.19\Source\Server\Services\BO\OrderJobWiz\OrderJobWiz.cs:line 2268
at Erp.Services.BO.OrderJobWizSvc.processJWOrderDtls(String& OP_ErrorMsgs) in c:_Releases\ERP\UD10.1.400.19\Source\Server\Services\BO\OrderJobWiz\OrderJobWiz.cs:line 2728
at Erp.Services.BO.OrderJobWizSvc.CreateJobs(OrderJobWizTableset& ds, String& pErrorMessages) in c:_Releases\ERP\UD10.1.400.19\Source\Server\Services\BO\OrderJobWiz\OrderJobWiz.cs:line 1373
at Epicor.Customization.Bpm.MethodCustomizationBase23.RunDirectives(TParam parameters) in c:\_Releases\ICE\3.1.400.19\source\Server\Internal\Lib\Epicor.Customization.BPM\MethodCustomizationBase2.cs:line 218 at Epicor.Customization.Bpm.CustomizationBase23.Execute(TParam parameters) in c:_Releases\ICE\3.1.400.19\source\Server\Internal\Lib\Epicor.Customization.BPM\CustomizationBase2.cs:line 77
at Epicor.Customization.Bpm.BOABFB5318B4F243BC95EF307441F17439.OrderJobWizSvcCustomization.CreateJobs(OrderJobWizTableset& ds, String& pErrorMessages)
at Erp.Services.BO.OrderJobWizSvcFacade.CreateJobs(OrderJobWizTableset& ds, String& pErrorMessages) in c:_Releases\ERP\UD10.1.400.19\Source\Server\Services\BO\OrderJobWiz\OrderJobWizSvcFacade.cs:line 87
at SyncInvokeCreateJobs(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.400.19\source\Framework\Epicor.System\Hosting\OperationBoundInvoker.cs:line 59 at Epicor.Hosting.OperationBoundInvoker.Invoke(Object instance, Func2 func) in c:_Releases\ICE\3.1.400.19\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.400.19\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.ProcessMessage31(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.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.Security.NegotiateStream.ProcessFrameBody(Int32 readBytes, Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.NegotiateStream.ReadCallback(AsyncProtocolRequest asyncRequest)
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.ServiceModel.Channels.SocketConnection.OnReceiveAsync(Object sender, SocketAsyncEventArgs eventArgs)
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.OrderJobWizImpl.CreateJobs(OrderJobWizDataSet ds, String& pErrorMessages)
at Erp.Adapters.OrderJobWizAdapter.CreateJobs(String& pErrorMessages)


(William) #2

So we went into Job manager and created the Job and attached it to the order. That worked well. But when we went to pull in the revision that was needed, it didn’t work. All other revisions did, and we could copy and paste most info with any issues. So we deleted the revision and re made it from scratch. Then we tried to put that into the job and it still threw an error. So, we opened the job, imported a revision that would import and just adjusted it for what it was supposed to be. Everything saved. Then we put notes in one of the operations. At that point it wouldn’t let me add notes to that section. So we went line by line, added one line-saved-another line-saved, etc and it worked. All lines were added in the notes and everything good. So we deleted to newly created revision and imported the revision from the job and changed its name. Then in the job, deleted the revision info and imported the revision we just created from the import, and that worked!

Can anybody explain what in the world that was?