Tech Tip: Relation Names
PRODUCT: 4D | VERSION: 19 | PLATFORM: Mac & Win
Published On: January 4, 2022
When using the classic style of interacting with tables, relation names did not matter much to obtain related records. Using ORDA, the relation names are more important as they are attribute names for the entity to obtain the related entities.
By default, when a relation is created in the structure editor, the names of the relation are Link_# for the Many to One direction and Link_#_return in the One to Many direction, with the # interating starting from 1.
Using ORDA it is recomended that the relations be renamed into something more relavant to make development easier instead of keeping the names as default.