# Error When Reverse Cash Receipt

**URL:** <https://www.epiusers.help/t/error-when-reverse-cash-receipt/70687>\
**Category:** Epicor ERP 10\
**Tags:** e10, epicor\
**Created:** [September 8, 2020, 6:12am UTC](https://www.epiusers.help/t/error-when-reverse-cash-receipt/70687 "2020-09-08T06:12:33Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![JoeChung](https://www.epiusers.help/letter_avatar_proxy/v4/letter/j/48db29/32.png) [@JoeChung](https://www.epiusers.help/u/JoeChung)\
**Post date:** [September 8, 2020, 6:12am UTC](https://www.epiusers.help/t/error-when-reverse-cash-receipt/70687/1 "2020-09-08T06:12:33Z")

</div>

When i would like to do the reverse of a cash receipt in epicor (The transaction type is PayInv), it shows me an error “Default Bank not valid.”. Anyone can help me how can i reverse it? Thanks

---

<div class="post-metadata">

**Author:** ![Jonathan](https://www.epiusers.help/letter_avatar_proxy/v4/letter/j/aeb1de/32.png) [@Jonathan](https://www.epiusers.help/u/Jonathan)\
**Post date:** [September 8, 2020, 3:55pm UTC](https://www.epiusers.help/t/error-when-reverse-cash-receipt/70687/2 "2020-09-08T15:55:48Z")

</div>

Can you copy and paste the full error details?

---

<div class="post-metadata">

**Author:** ![JoeChung](https://www.epiusers.help/letter_avatar_proxy/v4/letter/j/48db29/32.png) [@JoeChung](https://www.epiusers.help/u/JoeChung)\
**Post date:** [September 9, 2020, 8:08am UTC](https://www.epiusers.help/t/error-when-reverse-cash-receipt/70687/3 "2020-09-09T08:08:28Z")

</div>

The following is the Error Details. Thanks

Server Side Exception

Default Bank not valid.

Exception caught in: Epicor.ServiceModel

# Error Detail

Description: Default Bank not valid.  
Program: Erp.Internal.PE.Reverse\_Cash\_Receipt.dll  
Method: RunProcess  
Line Number: 205  
Column Number: 21  
Original Exception Type: GlobalException  
Server Trace Stack: at Erp.Internal.PE.Reverse\_Cash\_ReceiptPre\_Post.RunProcess() in c:\_Releases\ERP\RL10.2.200.0\Source\Server\Internal\PE\Reverse\_Cash\_Receipt\Reverse\_Cash\_ReceiptPre\_Post.cs:line 205  
at Erp.Internal.PE.Pre\_PostBase.\_RunProcess(Int64 instance\_TaskNum, String groupID, PostingMode mode, Boolean skipPEDataInit) in c:\_Releases\ERP\RL10.2.200.0\Source\Server\Internal\PE\Pre\_PostBase\Pre\_PostBase.cs:line 167  
— End of stack trace from previous location where exception was thrown —  
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()  
at Erp.Internal.PE.PEError.ProcessExceptionList(PostingStage peStage, Exception ex, Boolean suppressRethrow) in C:\_Releases\ERP\UD10.2.200.5\Source\Server\Internal\PE\PEData\PEError.cs:line 265  
at Erp.Internal.PE.Pre\_PostBase.\_RunProcess(Int64 instance\_TaskNum, String groupID, PostingMode mode, Boolean skipPEDataInit) in c:\_Releases\ERP\RL10.2.200.0\Source\Server\Internal\PE\Pre\_PostBase\Pre\_PostBase.cs:line 172  
at Erp.Internal.PE.Reverse\_Cash\_ReceiptPre\_Post.Pre\_Post(Int32 ipHeadNum, Nullable`1 ipReverseDate) in c:\_Releases\ERP\RL10.2.200.0\Source\Server\Internal\PE\Reverse_Cash_Receipt\Reverse_Cash_ReceiptPre_Post.cs:line 149 at Erp.Services.BO.ReverseCashReceiptSvc._ReverseCashReceipt(ReverseCashReceiptTableset& ds, String groupID, Int32 headNum, Nullable`1 reverseDate, String inTranDocTypeID, String reversedReason, String& postErrorLog, String& legalNumberMessage) in c:\_Releases\ERP\RL10.2.200.0\Source\Server\Services\BO\ReverseCashReceipt\ReverseCashReceipt.cs:line 465  
at Erp.Services.BO.ReverseCashReceiptSvcFacade.\_ReverseCashReceipt(ReverseCashReceiptTableset& ds, String groupID, Int32 headNum, Nullable`1 reverseDate, String inTranDocTypeID, String reversedReason, String& postErrorLog, String& legalNumberMessage) in c:\_Releases\ERP\RL10.2.200.0\Source\Server\Services\BO\ReverseCashReceipt\ReverseCashReceiptSvcFacade.cs:line 241 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Erp.Internal.PE.Pre_PostBase._RunProcess(Int64 instance_TaskNum, String groupID, PostingMode mode, Boolean skipPEDataInit) in c:\_Releases\ERP\RL10.2.200.0\Source\Server\Internal\PE\Pre_PostBase\Pre_PostBase.cs:line 216 at Erp.Internal.PE.Reverse_Cash_ReceiptPre_Post.Pre_Post(Int32 ipHeadNum, Nullable`1 ipReverseDate) in c:\_Releases\ERP\RL10.2.200.0\Source\Server\Internal\PE\Reverse\_Cash\_Receipt\Reverse\_Cash\_ReceiptPre\_Post.cs:line 149  
at Erp.Services.BO.ReverseCashReceiptSvc.\_ReverseCashReceipt(ReverseCashReceiptTableset& ds, String groupID, Int32 headNum, Nullable`1 reverseDate, String inTranDocTypeID, String reversedReason, String& postErrorLog, String& legalNumberMessage) in c:\_Releases\ERP\RL10.2.200.0\Source\Server\Services\BO\ReverseCashReceipt\ReverseCashReceipt.cs:line 465 at Erp.Services.BO.ReverseCashReceiptSvcFacade._ReverseCashReceipt(ReverseCashReceiptTableset& ds, String groupID, Int32 headNum, Nullable`1 reverseDate, String inTranDocTypeID, String reversedReason, String& postErrorLog, String& legalNumberMessage) in c:\_Releases\ERP\RL10.2.200.0\Source\Server\Services\BO\ReverseCashReceipt\ReverseCashReceiptSvcFacade.cs:line 260  
at SyncInvoke\_ReverseCashReceipt(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.200.5\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.200.5\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.200.5\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)

# Client Stack Trace

at Epicor.ServiceModel.Channels.ImplBase`1.ShouldRethrowNonRetryableException(Exception ex, DataSet[] dataSets) at Erp.Proxy.BO.ReverseCashReceiptImpl._ReverseCashReceipt(ReverseCashReceiptDataSet ds, String groupID, Int32 headNum, Nullable`1 reverseDate, String inTranDocTypeID, String reversedReason, String& postErrorLog, String& legalNumberMessage)  
at Erp.Adapters.ReverseCashReceiptAdapter.ReverseCashReceipt(String groupID, Int32 headNum, Nullable`1 reverseDate, String inTranDocTypeID, String reversedReason, String& postErrorLog, String& legalNumberMessage)  
at Erp.UI.App.ReverseCashReceiptEntry.Transaction.OnButtonClick(String EpiBinding)

---

<div class="post-metadata">

**Author:** ![Jonathan](https://www.epiusers.help/letter_avatar_proxy/v4/letter/j/aeb1de/32.png) [@Jonathan](https://www.epiusers.help/u/Jonathan)\
**Post date:** [September 9, 2020, 2:47pm UTC](https://www.epiusers.help/t/error-when-reverse-cash-receipt/70687/4 "2020-09-09T14:47:55Z")

</div>

You have to define a default bank in company configuration.

 ![image](https://www.epiusers.help/uploads/default/original/3X/b/f/bfc7e05682f978b61dd11de020bb03d95f172530.png)

---

<div class="post-metadata">

**Author:** ![JoeChung](https://www.epiusers.help/letter_avatar_proxy/v4/letter/j/48db29/32.png) [@JoeChung](https://www.epiusers.help/u/JoeChung)\
**Post date:** [September 10, 2020, 11:10am UTC](https://www.epiusers.help/t/error-when-reverse-cash-receipt/70687/5 "2020-09-10T11:10:14Z")

</div>

Thanks for reply. I can’t edit it because it is disabled. How can i enable the Credit Card Payment section

---

<div class="post-metadata">

**Author:** ![Jonathan](https://www.epiusers.help/letter_avatar_proxy/v4/letter/j/aeb1de/32.png) [@Jonathan](https://www.epiusers.help/u/Jonathan)\
**Post date:** [September 10, 2020, 5:49pm UTC](https://www.epiusers.help/t/error-when-reverse-cash-receipt/70687/6 "2020-09-10T17:49:50Z")

</div>

The Cash Receipt you are trying to reverse was created using the ERP? Or was it loaded from somewhere else?

I’m asking because the reverse should copy the BankAcctID from the original Receipt CashHead record, however in your case it seems to be empty so it tries to go through the default bank in the Credit Card section and it does require a specific license.

---

<div class="post-metadata">

**Author:** ![JoeChung](https://www.epiusers.help/letter_avatar_proxy/v4/letter/j/48db29/32.png) [@JoeChung](https://www.epiusers.help/u/JoeChung)\
**Post date:** [September 11, 2020, 2:44am UTC](https://www.epiusers.help/t/error-when-reverse-cash-receipt/70687/7 "2020-09-11T02:44:37Z")

</div>

Thank you for reply. The transaction is created by Apply unallocated deposit at the function of Apply Credit Memo. Since a user apply it at a wrong date, we would like to reverse it and change the apply date. Thanks.

 ![1](https://www.epiusers.help/uploads/default/original/3X/3/0/3098f0e131e1031d756836e6edd5bddb76298c2c.png)

---

<div class="post-metadata">

**Author:** ![JoeChung](https://www.epiusers.help/letter_avatar_proxy/v4/letter/j/48db29/32.png) [@JoeChung](https://www.epiusers.help/u/JoeChung)\
**Post date:** [September 15, 2020, 8:10am UTC](https://www.epiusers.help/t/error-when-reverse-cash-receipt/70687/8 "2020-09-15T08:10:45Z")

</div>

> [@Jonathan](#):
>
> Receipt you are trying to reverse was created using the ERP? Or was it loaded from somewhere else?
> 
> I’m asking because the reverse should copy the BankAcctID from the original Receipt CashHead record, however in your case it seems to be empty so it tries to go through the default bank in the Credit Card section and it does require a specific license.

Hi, any idea to reverse it?

---

<div class="post-metadata">

**Author:** ![Jonathan](https://www.epiusers.help/letter_avatar_proxy/v4/letter/j/aeb1de/32.png) [@Jonathan](https://www.epiusers.help/u/Jonathan)\
**Post date:** [September 15, 2020, 2:32pm UTC](https://www.epiusers.help/t/error-when-reverse-cash-receipt/70687/9 "2020-09-15T14:32:51Z")

</div>

I don’t think transactions in Apply Credit Memo can be reversed, try Cash Receipt Adjustment.
