Symptom
When deleting an opportunity, the error 'Opportunity with ID XX can't be deleted because of existing follow-up documents' occurs even though there's no follow-up document maintained (e.g. Leads, Sales quotes, Sales Orders, etc.).
Environment
SAP Cloud for CUstomer
Reproducing the Issue
- Go to the Sales work center.
- Go to the Opportunities work center view.
- Select the relevant opportunity.
- Click Delete (Actions > Delete).
- Error 'Opportunity with ID XX can't be deleted because of existing follow-up documents' appears and the opp is not deleted.
- When you check the Document Flow facet of the object you see that there are no follow-up documents.
Cause
There's a survey added in the opportunity which is causing the issue.
Resolution
Delete the survey first and then delete the opportunity then.
Keywords
Delete opp, Folgebeleg, Opportunity kann nicht gelöscht werden , KBA , SRD-CC-FED , Feeds , LOD-CRM-OPP , Opportunity Management , LOD-LE-SUR-EXE , Survey execution = runtime , How To
Product
SAP Cloud for Customer add-ins all versions ; SAP Cloud for Customer core applications all versions