Hi this is my question:
an object, for example, an Xrecord, get in openmode for read, it it must be used only in the transaction context in which it is read?
can I return it by a funcion, for example?
ex.
Xrecord myFunction()
{
Xrecord xr = null;
start transaction
get the xrecord in xr in mode for read
commit trans
return xr;
}
Xrecord xrec = myFunction()
is it correct?
thank you