0 votes

If you need to create association with an inherited entity, there may occur following problem: inherited entity does not have ID (it is inherited from the parrent), but Skipper validators won't let you to create association with an entity without primary key.

in How To & Manuals by Skipper developer (74.8k points)
edited by

1 Answer

0 votes
Best answer

To create association with an inherited entity (without its own primary key) you need to set up ‘virtual ID’.

Create an ID inside the inherited entity and use it as an inverse field. This ‘virtual ID’ will be only used in a visual model, it will not be exported to the definitions, but it will be properly replaced by the inherited ID.

example

by Skipper developer (74.8k points)