Delete not allowed. Referenced by at least one Quote

Good morning,

I want to delete a customer number from Epicor all together, but I am receiving the following error message:

System Information

==================

AppServer Connection: net.tcp://EpicorProd.vdberk.nl/EpicorProd
Form Name: Customer Maintenance
Customization Name: 20191101_CustomerEntry
Menu ID: DRVMT000
Software Version: 11.1.200.0

Business Layer Exception

Delete not allowed. Referenced by at least one Quote.
Exception caught in: Epicor.ServiceModel

Error Detail

============

##!Correlation ID:##! bb3c1546-bf08-4d76-9c82-ca0c200ba2e4
##!Description:##! Delete not allowed. Referenced by at least one Quote.
##!Program:##! Erp.Triggers.Customer.dll
##!Method:##! _RI_Customer
##!Line Number:##! 108
##!Column Number:##! 17

Client Stack Trace

==================
at Epicor.ServiceModel.Channels.ImplBase`1.ShouldRethrowNonRetryableException(Exception ex, DataSet dataSets)
at Erp.Proxy.BO.CustomerImpl.Update(CustomerDataSet ds)
at Erp.Adapters.CustomerAdapter.OnDelete()
at Ice.Lib.Framework.EpiBaseAdapter.Delete(DataRow dr)
at Erp.UI.App.CustomerEntry.Transaction.Delete()

When I check the customer in the Tracker, there is no history whatsoever. Any idea how I can figure out where I can find the reference?

Check the customer tracker to see if any quote exists for that customer, if yes that needs to be removed first.

2 Likes

Create a BAQ with QuoteHed table.

Display the QuoteNum as a column.

Add a table criteria where your CustNum is the customer that you want to delete.

3 Likes