Skip to Content
0
Former Member
Jul 02, 2009 at 10:24 AM

Locking a dependent object

157 Views

Hi,

I have a dynamic search view, a table view for result (which is the root object) and another table view (dependent object) which is populated when a result row is selected, all in the same screen. The rows of both table views are editable.

When a row in the result table is selected, I get the entity using GET_CURRENT( ) and lock it using LOCK( ) on that entity. I do that in the SELECT event handler. I see from the returned value that the entity is locked.

When I try the same in the 2nd table (of dependent object), the entity doesn't get locked. Do I need to do any other processing?

Thanks,

Rohan.