You need to sign in to do that
Don't have an account?
AwaraMohan
How do i prevent a record from insert without raising exception or addError
How do i prevent a record from insert without raising exception or addError
function readOnly(count){ }
You need to sign in to do that
Don't have an account?
How do i prevent a record from insert without raising exception or addError
Hi AwaraMohan
In ur class or trigger when ur inserting a record .
Put ur insert operation in a if condition and check for that condition.
If that condition is true then insert else no.
Just like this:-
if(Contact.LastName!=null){
insert contact;
}
And dont add else condition.
Thanks
Anil.B