There is no way to inherit entity definitions, as is possible with object inheritance, is there? I would like to implement contracts that differ greatly by type in their properties and behavior depending on the contract type (e.g., purchase contract, service contract, usage rights) but share a common set on fields to be searched, listed, linked in workflow rules, emails, ...
The only options I can think of are
The only options I can think of are
- one single entity has the sum of all fields, which are shown or hidden depending on the type
- The data of the “superclass” is managed in a entity, while the data of the “inheriting” classes is managed in separate entities that have a parent/child relationship.
- No "inheritance". Several entity types have all required fields on their own entity. Worflow rules / after save triggers will update an abstract entity to be searched on and linked to.
Comment