Linked entity


Quick info

With the help of the linked entity, an n:1 relation can be established.

A foreign key constraint is stored in the database for the target entity.

images/download/attachments/113279841/image2021-9-24_8-48-51-version-1-modificationdate-1661153880765-api-v2.png

Option

Description

Example

1 – Entity

Here the target entity is selected.
If a company account is selected here, the option 'Try use as Owner' is also available. For more on this, see the Multiple owners expansion.

Address, Shipment, etc.

2 – Reference only

If the option 'Reference only' is selected, only the ID of the target object is loaded. The selection in the client is made via a selection box. The 'Read only' option is always active and no longer visible.

Otherwise, the entire target object is read with this object and is therefore also directly available in the XML and client. However, this means an increased effort when reading the data.

Yes/No

3 – Read only

This option is only available if 'Reference Only' is set to 'No'. It can be controlled here whether the target object can also be changed via this entity or whether it may also be created.

Yes/No

4 – Custom release permission

A release right can be defined here, over which the visibility in the selection list can be steered.

demoAddresses

5 – Label helper config

A default label helper configuration for the selection lists can be made here.


Soft reference (from 4.8.3-GA)

If this option is enabled, no foreign key constraint is created in the database.

This means that the target record does not have to exist and can be deleted if it is referenced by this field.