You need to sign in to do that
Don't have an account?
Denise Meinershagen
Need help creating an Apex Trigger to check for duplicate cases.
Custom field "global id" is unique identifier. Specific case record type.
function readOnly(count){ }
You need to sign in to do that
Don't have an account?
To get you started on your requirement, here is the code snippet. Play with it and let me know if you have any issues.
(Assumption: Global_Id__c is a unique custom field of type Id on case object).
Trigger: Class: Cheers! Have fun.
All Answers
Below link will help you out to create trigger on the same lines.Please update the trigger logic based on your business requirement.
http://developer.force.com/cookbook/recipe/preventing-duplicate-records-from-saving
To get you started on your requirement, here is the code snippet. Play with it and let me know if you have any issues.
(Assumption: Global_Id__c is a unique custom field of type Id on case object).
Trigger: Class: Cheers! Have fun.