I think Create vf page(with one boolean varible) and add this vf page to Account detail page when edit and save check whether duplicate account exist display alert using vf page and allow save otherwise without error allow save functionality.
Hi @MithunP Thank you for the amazing code. But while deploying it into the production from the sandbox (via change set) I got code coverage error. I am new to the developer side. Please help me to overcome this error.
Try this code it will be work and it is bulkified
I want two different Error messages before insert time and before update time how?
I have Updated Vijay's code for different error messages for Insert and Update. Best Regards,
Mithun.
I thing Warning is not possible currently, we can display it as error only.
Best Regards,
Mithun.
Using below link is possible updation time show alert and allow save(already record exist in database) functionality .
http://www.isfsolutions.com/salesforce-apex-message-box/
help me...
help ...
Did you tried that workaround, if so where did you stuck, what is the issue.
Best Regards,
Mithun.