Skip to Content
Stoatly Docs
Records

Relationships between records

Reference fields link records together. The Relationships panel on a record shows those links in both directions: what the record depends on, and what depends on it. Check it before you rename, retire or delete a record.

Open the panel

Open a record. Relationships is a collapsed card on the record page, with a count of all links. Choose it to expand it. It has two lists.

  • References lists the records this one points at. They are grouped by the field that holds the link. If a field holds a quantity, it's shown after the name, for example "Iron Ore ×3".
  • Referenced by lists the records that point at this one. They are grouped by object type, and each row shows the field it points through.

Choose a row to open that record. Records you haven't sent yet carry a draft badge.

A new record

Referenced by isn't available until the record is saved, because nothing can point at a record that doesn't exist yet.

An empty panel

If nothing points at a record and it points at nothing, the panel says so, and tells you the record is safe to retire or delete.

Why it matters

  • Before you delete a record, Stoatly counts the records that still point at it.
  • Before you move records to another type, Stoatly warns when something points at them through a field that won't accept the new type.

To add links in the first place, see References.

On this page