Skip to article
KaeshinOntology handbook

What are you trying to do?

Find a concept, a how-to, or a plant example.
Ontology/Model your business
Model your business6 min read

Connect records with relation types

Give each connection a meaning, direction and sensible number of allowed links.

Kaeshin Data Platform · For workspace admins and business teams

Describe the connection itself

A relation type defines a kind of connection. Supplies connects Supplier to Material. A particular Supplies link from S-118 to MAT-01 is a recorded business fact. The definition alone does not connect any records, just as creating a Supplier type does not create S-118.

Use a verb that answers a real question. Supplies means that a supplier provides that material; it does not mean a shipment has arrived or stock is available. If you need those facts later, model shipments or stock explicitly. A clear connection is more useful than a broad “related to” link that everyone interprets differently.

Read both directions and both counts

The link has a From type and a To type. Add Name from the other end so readers can understand it from the material too: Supplier supplies Material; Material is supplied by Supplier. These are two ways to read one connection, not two independently maintained business facts.

Decide the allowed number at each end separately. One supplier may provide many materials; one material may have several suppliers. For the learning model, allow Any number at both ends. Requiring Exactly one would make a stronger business promise and can prevent an otherwise useful connection or record from fitting.

Create and publish the link type

You need both endpoint types in the draft, permission to edit Schema and an admin to publish.

  1. Open Schema → Links → New link. Enter Name, check the suggested Technical id and write a Description that says when the connection is true.

  2. Set From to Supplier and To to Material. Enter Supplied by as Name from the other end.

  3. Under How many, choose each side’s count. Read the full question beside each choice before saving.

  4. Choose Keep history if the business needs the start and end of a connection, rather than only current connections. Select Create link.

  5. Review & publish the draft. Revisit the definition if the validation identifies a problem.

Connect actual records and check the result

  1. After publication, open the supplier in Records. Choose Links → Add link.

  2. Choose Supplies, search for the intended material and select Add link. Check the material code when names are similar.

  3. Open the material and confirm that its Links shows the same connection from the other end. Use the graph to follow the connection if that is easier to inspect.

Put facts on the right place

A relation property describes the connection itself. A supplier-specific lead time belongs on Supplies when the same material has different lead times from different suppliers. The material’s own code belongs on Material. Add connection properties through the link type’s Properties tab when needed.

If no link type is offered while connecting records, check publication and the endpoint types. Changing endpoints or tightening counts after links exist can affect existing data; review that impact in Versions. A hidden endpoint may also reflect access restrictions. Never infer that an unseen supplier does not exist.

✳

Take the next step in your own business.