function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
Hi there ,
I have a problem .
I want to lock a record through APEX code.
Is it possible ?
Please Rply....
Thanks in advance ..
Take a look at Locking Statements.
Hope that helps,
Sati
Sati, i think record locking is refering to changing the update permission on an object, not locking while updating.
Bhavi , can you clarify ?
Hi
We achieved this locking (changing the update permission) through calling an approval process in apex.
I would like to know if there is a way to lock directly in apex.
cheers
Richard
Bhavi wrote: Hi there , I have a problem .I want to lock a record through APEX code.Is it possible ? Please Rply....Thanks in advance ..
If you are looking for locking records from updates without manipulating the profiles, here is an AppExchange free package that can do that.
Record Lock With Inline Messaging!
Take a look at Locking Statements.
Hope that helps,
Sati
Sati, i think record locking is refering to changing the update permission on an object, not locking while updating.
Bhavi , can you clarify ?
Hi
We achieved this locking (changing the update permission) through calling an approval process in apex.
I would like to know if there is a way to lock directly in apex.
cheers
Richard
If you are looking for locking records from updates without manipulating the profiles, here is an AppExchange free package that can do that.
Record Lock With Inline Messaging!