Hi,
Could you elaborate more on your requirement ?
Is it a custom development ? If so, where is it located ?
Calling the ROOT_CREATE method will not set up automatically the anchor to the interaction record.
The standard behaviour can be found in the method I gave you. You will notice that it does create the IR objtect (via method ROOT_CREATE, like you did in your code), and then does some other stuff like setting the anchor.
Sylvain