What is right trigger to delete Opportunity?
(Doc ID 2441871.1)
Last updated on AUGUST 30, 2018
Applies to:Oracle Fusion Sales Cloud Service - Version 220.127.116.11.0 and later
Information in this document applies to any platform.
On : 18.104.22.168.0 version, Opportunities
Customer don't want the user to delete the Opportunity.
So they wrote a validation script
Trigger : BeforeDelete
Message : Opportunity cannot be deleted. Please contact your CRM Administrator
//throw new oracle.jbo.ValidationException('Opportunity cannot be deleted. Please contact your CRM Administrator.')
Now when customer tries to delete the Opportunity they get the message 'Opportunity cannot be deleted. Please contact your CRM Administrator', but the Opportunity is gone from UI.
However, when customer comes back again they see the Opportunity again.
Customer mentioned that they are seeing this behavior after Rel 13 upgrade.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document