We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Trigger for Cancel button

Accepted answer
16
Views
5
Comments
edited Aug 6, 2020 12:27PM in Sales 5 comments

Summary

We're looking for a trigger that we can use to mirror the Cancel button in Oracle Sales Cloud.

Content

We want to mirror the Cancel button functionality. Upon searching, we found this link and says that "When a user hits the cancel button you'll notice the Before Rollback in Database followed quickly by the After Rollback in Database". We tried using the Before Rollback in Database trigger but the error message shows after the record is canceled(close the Summary/Details page). But our requirement is to throw an error message, once they click the cancel button and they won't be able to close the Summary/Details page without updating the required fields. What trigger/method name could be used for this requirement?

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!