AP - Payment Remittance Advice print error

Hi All,

Any one faced the AP Payment Remittance Advice print error?

“Print order cannot be empty.”

Business Layer Exception

Print order cannot be empty.

Exception caught in: Epicor.ServiceModel

Error Detail

Description: Print order cannot be empty.
Program: Erp.Services.Rpt.ProcessPayment.dll
Method: ExValidateParam
Line Number: 2702
Column Number: 17
Server Trace Stack: at Erp.Services.Rpt.ProcessPaymentSvc.ExValidateParam() in C:_Releases\ERP\UD10.2.200.10\Source\Server\Services\Rpt\ProcessPayment\ProcessPayment.cs:line 2702
at Ice.Core.TaskServiceBase1.InnerSubmitToAgent(IceRow parameterRow, String agentID, Int64 agentSchedNum, Int32 agentTaskNum, String maintProgram) in C:\_Releases\ICE\ICE3.2.200.10\Source\Server\Internal\Lib\TaskLib\TaskBase\TaskServiceBase.cs:line 155 at Erp.Services.Rpt.ProcessPaymentSvc.SubmitToAgent(ProcessPaymentTableset ds, String agentID, Int64 agentSchedNum, Int32 agentTaskNum, String maintProgram) in C:\_Releases\ERP\UD10.2.200.10\Source\Server\Services\Rpt\ProcessPayment\ProcessPayment.Designer.cs:line 112 at Erp.Services.Rpt.ProcessPaymentSvcFacade.SubmitToAgent(ProcessPaymentTableset ds, String agentID, Int64 agentSchedNum, Int32 agentTaskNum, String maintProgram) in C:\_Releases\ERP\UD10.2.200.10\Source\Server\Services\Rpt\ProcessPayment\ProcessPaymentSvcFacade.cs:line 1025 at SyncInvokeSubmitToAgent(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\ICE3.2.200.10\Source\Framework\Epicor.System\Hosting\OperationBoundInvoker.cs:line 59
at Epicor.Hosting.OperationBoundInvoker.Invoke(Object instance, Func2 func) in C:\_Releases\ICE\ICE3.2.200.10\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\ICE3.2.200.10\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.ReceiveItemAndVerifySecurityAsyncResult`2.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.Rpt.ProcessPaymentImpl.SubmitToAgent(ProcessPaymentDataSet ds, String agentID, Int64 agentSchedNum, Int32 agentTaskNum, String maintProgram)
at Erp.Adapters.ProcessPaymentAdapter.SubmitToAgent(String agentID, Int64 angetSchedNum, Int32 agentTaskNum)
at Erp.UI.Rpt.RemittanceAdvice.Transaction.adapterSubmitToAgent(String agentID, Int64 angetSchedNum, Int32 agentTaskNum)
at Ice.Lib.Framework.EpiReportTransaction.SubmitToAgent(String agentID, Int64 agentSchedNum, Int32 agentTaskNum)

Hello,
Just wondering if you managed to get to the bottom of this issue? We are seeing this issue for one user. It is possibly a permissions thing, but I’d like to narrow it down a bit.

Hi Susai and Simon

Close Process Payments and Payment Entry and re attempt. you won’t receive error anymore.

Just saw this post, thanks Manny, but I solved it another way. I went to actions and removed and clicked on Remove Defaults, closed the process payment form and reopened. Tada… The Check Print Order field was populated.

If your Check Print Order Field is empty the above error will be generated.

3 Likes

Thanks @Hally that helped us today too!

1 Like

+1 @Hally, you just helped another unfortunate soul (Ver 10.1.500)

2 Likes