I have two custom entities where records are changed only by duplicating previous record, to keep full change history. Each duplicate has parent-child relation to first record.
These entities are related to each other also with parent-child relationship, Contract = parent, Service = child
Contract entity can be related to many different Service entities
When duplicating Contract record its ok to keep relation to same Service record, if changes needed they are made by user.
But when duplicating Service record, I need to make duplicate of related Contract record and relate it to new created Service record.
Is it possible to achieve something like this?
These entities are related to each other also with parent-child relationship, Contract = parent, Service = child
Contract entity can be related to many different Service entities
When duplicating Contract record its ok to keep relation to same Service record, if changes needed they are made by user.
But when duplicating Service record, I need to make duplicate of related Contract record and relate it to new created Service record.
Is it possible to achieve something like this?