I have to implement the copy mechanism of entity which is having composition relationship with other entity. For example Invoice entity having Invoice lines.
I am able to go thru sample project (copy.zip) there it has mentioned to user openEdition() method.
when i tried the same way, I am losing the Invoice Lines in invoice object.
Please suggest me how can i save copied entity which contains the relationship.