Skip to main content

I have entered a customer that was already in our System  I tried to delete it and got an error message that only in planning or canceled customers can be deleted.  I changed the status to canceled but i still get the same message when trying to delete.  Can anyone help with how to delete it?

Hi @DTanguilig 

Can you please share the trace for the error? 
 

An alternate way to delete the record is to run the dbscript to delete the Customer record.

DBScript

delete from BAccount where AcctCD='CustomerName'


Hi @DTanguilig  Can you please also, let us know that Customers duplicated based on the what criteria.

is this Considered by Email ID?  

Do you have any Sales Orders and attached payments to that Customer, that you are deleting?

 

If any transactions are created with that Customer, you can not delete them. You can just Inactivate that customer.


@DTanguilig , just to add, if the customer has a historical transaction you will not be able to delete the account. You can update the status to inactive but since the customer has history you cannot delete them. This could be the issue but send us the stack trace and we can confirm. 

 

Thanks,

Eric


Hi @DTanguilig 

As mentioned above, trace log will help you identify the entities to which the customer may be linked. 

Its NOT recommended to delete such records at database level as it leads to data integrity issues. 

Here is how the Trace log looks with detailed reference of Customer to entities where it has been used.

Regards,


Reply