Skip to content

Work with records

A record is one catalog item, such as a product or a category. Its blueprint decides which attributes it has, how they are validated, and how its page is laid out.

The record page has one row of tabs under its toolbar. The Data tab, selected first, holds the record’s fields and, when the workspace has more than one context, a tab for each. The other tabs are Data quality, Comments, Agents, Record control, Tags and metadata, and Exports; some appear only when they apply. Extensions can add tabs of their own; those that do not fit are under More.

In the Explorer, choose Create record (or Create Blueprint when a blueprint is selected). Fill in the form and save. New records always use the blueprint’s current published revision.

The create form keeps your unsaved values for the browser tab. If you reload or come back, Attricat offers Restore draft or Discard draft. A draft is cleared once you save. Drafts never contain passwords or files.

Values you enter when creating a record are stored in the default context. Attributes with a default_value start filled in.

Duplicate record, in a record’s Actions menu or the Explorer row menu, asks for confirmation, then creates a copy with its values, relationships, and files and opens the copy. It is offered only when your role grants records.write for the whole workspace, because it creates a new record; a grant limited to some records is not enough. Values of the blueprint’s unique keys are left out, because the copy cannot share them with the original: for a key unique in the whole workspace, the default-context value; for a key unique per context, the values in every context. Fill them in on the copy. If a key attribute is required, the copy cannot be made: the dialog says so and offers Create another Blueprint instead.

You edit a record on its page; there is no separate edit form. Every field you may change is an editable control in the blueprint’s layout, showing the values for one context at a time. Switch with the context tabs; contexts that do not fit are under More contexts. If you cannot edit the record, you see its values only.

Each field saves on its own:

  • Text, number, and date fields save when you leave the field. Single-line fields also save when you press Enter.
  • Selects, checkboxes, statuses, user and team fields, relationships, and files save as soon as you change them.
  • Escape puts back the saved value.
  • Markdown fields show their formatted text. To change it, select the pencil next to the field’s label; the field shows formatted text again when you leave it.

Every saved field is a separate change, with its own entry in the history and audit log. If the record is published, the first saved field withdraws its publications, unless your role keeps them; see Publishing.

Fields shown in the page heading are offered for editing at the top. Editable fields the layout does not show appear under Other attributes.

Each field tells you where its value comes from:

  • A value typed directly in this context is its own.
  • Inherited from X context means this context has no value and shows its ancestor’s. Typing a value creates an override for this context only. Clearing an override brings the inherited value back.
  • Managed in Default means the attribute can only be edited in the default context.
  • Managed by system actions means the attribute is readonly: an integration, workflow, or agent maintains it.
  • Changed only by movement records means the attribute is a balance, such as a stock level. See Stock levels and other balances.
  • Locked while the record is X means the record’s status freezes this field. See Controlled records.

Every save validates the whole record in every context. If a change would make any context invalid, it is not saved: it stays in the field with the error, and the page shows how many changes are not saved yet. Rejected changes are sent again with the next field you save, so you can fill several missing required values one after another. Escape in a field drops its rejected change. See Validation.

If you choose another context while changes are still saving, Attricat opens it once they are saved. If a change was rejected, it asks first: Discard and leave drops the change and opens the context.

The blueprint can also have checks, such as “valid until must not be before valid from” or “every facility belongs to this supplier”, and your workspace can enforce data quality rules. When one fails, the message names the check or rule and says what is wrong. Change the fields it mentions, in the contexts it lists. If it points to a linked record, such as a facility that is not approved, fix or replace that record first.

If someone else changes the record while you have unsaved changes, a warning offers Keep my changes or Use latest values.

A status field, such as Draft, In review, or Released, is a select. A blueprint can limit which statuses can follow the current one and can set conditions for a change. You might not be able to choose or save a status for one of these reasons:

  • The option is disabled. The blueprint does not allow that change from the current status. For example, a released document may have to go back to Draft before it can be reviewed again. Move through the allowed statuses instead.
  • The option is disabled and shows Blocked with the unmet conditions. The change is allowed, but the saved record does not meet its conditions yet. Fix what they ask for, then choose the status.
  • The change is rejected with a message such as status transition conditions are not met: Set an approver before release (approver-set). The change is allowed, but the values you are saving do not meet its conditions. A similar message starting enforcing rules are violated means a data quality rule guards the change. Nothing is saved.

To recover, read the listed conditions and fix what they ask for. The rejected status stays on the field and is sent again with the next field you save, so you can choose Released and then fill in the approver. Some conditions depend on other records, for example “every corrective action is closed”; update those records first, then change the status again.

Conditions are checked in every context where the status changes. If the status is inherited, a change in the default context must satisfy the conditions in every child context too.

Integrations can ask which statuses are available without trying to save; see Conditions on transitions.

Choose on a relationship field opens a picker. Search for targets, select them, and choose Apply. Single-select relationships replace the current target. Each option can be previewed in a new tab. A single-select relationship that links a record shows Details next to it: it opens the linked record’s values, in the same context, below the field, and Hide details closes them.

To find targets with filters, sorting or browsing, choose Browse next to the picker’s search field. The Explorer opens in a new tab with the target blueprint and its table in selection mode; a relationship limited to the targets of another field, such as the unit conversions of the selected product, opens with that filter. Select up to 50 records in the table, or one for a single-select relationship, and choose Use selected records in the bar above the table. The tab closes, and the records are added to the picker’s selection; a single-select relationship takes the one you chose. Review them and choose Apply. If you close the record form first, the Explorer tab can no longer send the selection back.

If the record you need does not exist yet, choose Create at the top of that Explorer tab. The new record’s form starts with the values of the tab’s relationship filters, such as the selected product, so the record fits the relationship. After you save it, the tab returns to the Explorer with the new record selected, next to the records you had already selected; Create and add another selects every record you create. Then choose Use selected records as usual. Cancel on the form returns to the Explorer without losing the selection.

Relationship values are contextual, like any other value: a product can have a different set of categories in one market.

Choose or drop files; each one is checked against the attribute’s rules for type, extension, and size. On a saved record, files upload and save at once. On the create form they upload when the record is created; if one fails, the record is not created, and you can retry or remove the file.

A new file goes through these statuses: Uploading, Queued, Processing, and Ready. Images get a thumbnail and a display-sized version. A file can be downloaded once it is ready. If processing fails, the file shows Failed; an administrator can retry it.

Image-only file fields show an image gallery. Select an image to open a larger preview with zoom and next/previous controls. If you can edit the record, you can add and remove images, and move them earlier or later when the attribute’s file order is meaningful. Removing an image detaches it from the record.

Some blueprints use statuses to control a record’s lifecycle. Then:

  • The status select disables the transitions you may not make and says why: the transition needs a permission or role you do not have, or someone other than you must make it (for example, the person who submitted a document cannot approve it).
  • In a finalized status, such as Released, some or all fields are read-only, files cannot be added or removed, and the record cannot be deleted. A notice above the fields names the status that locks them and the statuses you can change it to. To correct the record, change its status with the correction transition the blueprint provides, and then edit. Owners and administrators can also choose Unlock… in the notice to move the status to any option, even without a correction transition. Corrections and unlocks are recorded in the audit log.
  • When a record is approved, the approval is tied to the exact content that was reviewed. Editing that content voids the approval, and the record returns to an earlier status in the same save.
  • Files of finalized records can be kept under a retention hold until a set date.

The Record control tab lists approvals, newest first, with who approved, when, and whether they are still valid, and the retention holds on the record’s files.

Some blueprints keep a running total that other records change, such as a stock level that goods receipts raise and goods issues lower. The blueprint decides which records do this.

  • The total is shown as a value, never as an editable field: only receipts, issues, and other movement records change it.
  • Saving a receipt or issue changes the total at once. An issue that would take it below its minimum, usually zero, is not saved, and the message says how much is available.
  • On a receipt or issue, a relationship such as Unit conversion may offer only the targets that fit another field, such as the conversions of the selected product. Until that field has a value, every target is offered.
  • After a receipt or issue is saved, the quantity and the links its movement used are shown as values, with a notice above the fields. Its other fields stay editable.
  • To correct a saved receipt or issue, choose Reverse record in its Actions menu. A new record moves the same amount back and opens. A record can be reversed once, a reversal cannot be reversed, and a receipt can be reversed only while its goods are still in stock. Then record the correct one.
  • Receipts and issues cannot be deleted, and a stock item that still holds stock cannot be deleted either. Duplicate record on a receipt or issue creates a new movement that changes the total again.

The record page has a Comments tab. Comments are listed oldest first, with the form for a new comment below them; Show earlier comments loads older ones. Anyone who can read the record can add a comment, written in Markdown; Preview Markdown shows how it will look. To mention someone, type @ and part of their name or email, then choose them from the list with the arrow keys and Enter or Tab, or with the mouse. A mention links to the person’s profile and notifies them in their inbox, as long as they can open the record. Editing a comment notifies only the people it newly mentions. You can edit or delete only your own comments. If someone else’s change reaches a comment before your edit is saved, the edit is rejected; reload the comments and restore your draft to reconcile it.

Some records need a field their blueprint does not have. If your workspace has published reusable attributes, choose Add custom attribute or attribute group below the fields to attach one, or a whole group, to this record only. Attached attributes appear under Additional attributes.

When agents are enabled and you can edit the record, open Ask about this record in the record toolbar and paste text, such as a supplier’s product description, or attach a file, such as a PDF datasheet, a Word document or an Excel sheet. The agent proposes values for the current context. Nothing is saved until you choose Apply values, which saves all the proposed values as one change. With auto-approve switched on, the agent saves field changes itself instead.

Changes, in the record’s Actions menu, lists every change to the record: what changed, in which context, when, and by whom. Changes made by an agent show the agent and the person who approved them. A change that links or unlinks a record names that record; select it to open it in a new tab.

Previous attribute values are kept for 90 days by default. The Changes page only lists them. To restore an earlier value, use the CLI, the API, or an agent; the restore is recorded as a new change.

If data quality rules flag the record, its page shows the number of open findings. Select it to open the Data quality tab, which lists them. The most severe findings come first. Each one shows the rule’s name, what is wrong with which field, the contexts it fails in, and when it was first found. With rules.manage, Re-run checks checks the record again.

When the blueprint has a newer published revision, a warning icon next to the blueprint link at the top of the record page says Schema is outdated, and, if you can edit the record, the Actions menu offers Upgrade blueprint. The upgrade page compares the record’s values with the new revision and shows the fields to answer under Needs review. Choose Upgrade record once everything is answered:

  • Missing or unfit values. Fill in the field. Emptying a field clears its value in the default context. For a stored value the new revision cannot take, Discard previous value archives it in every context instead.
  • A newly required file. Choose or drop the file in its field. It uploads when you upgrade; if the upload fails, the record is not upgraded, and you can retry or remove the file.
  • Values in other contexts. The form’s fields edit the default context. A stored value in another context that the new revision cannot take is listed under Values in other contexts. Enter a replacement, or choose Remove this value from X. Relationships, files, and values that can no longer be edited in that context can only be removed.
  • Removed attributes. Under Removed in version N, confirm Discard the stored X value. The value is archived.

See Revisions and migration.

If your workspace uses publication channels, the record toolbar shows the record’s publication status in the selected context, and the Actions menu publishes or unpublishes it. See Publishing.

If an extension exports records to a marketplace or storefront, the record’s Exports tab shows, for each destination, the export status, the record’s ID at the destination, the destination’s error message, and when it was last synced. A warning chip in the record header opens the tab when an export was rejected, is uncertain, or is retrying.

Status Meaning
Pending Waiting to be exported.
Synced The destination has the record’s current content.
Rejected The destination refused the record. The error says why. After you fix the record, the next export tries it again.
Retrying A temporary failure; the extension tries again.
Uncertain The destination may or may not have received the last push. The extension checks before pushing again.
Withdrawn The record was removed from the destination after it was unpublished or deleted.

Preview shows the payload the extension would send for the record, and what the destination would reject, without sending anything; it needs records.read and records.write for the whole workspace. Retry asks the extension to export the record again; it needs extensions.manage and records.read for the whole workspace.

Workflows, agents, extensions and API clients can mark a record with system tags and metadata. The record page shows its system tags under its title, and the Tags and metadata tab lists the tags and shows the metadata. Both are read-only here. To find records with a tag, use the Tag filter in the Explorer.

Ask about this record opens a panel where you can start a new agent conversation about the record you are looking at. Type your question; the conversation is created when you send it.

A record can have any number of conversations. The Agents tab lists them, newest first, for everyone with agents.run who can read the record. Select one to continue it in the panel, or open it on the Agents page. Conversations about a record do not appear in the main Agents list unless you turn on Show record conversations.

Delete record is available with the records.delete permission, from the record’s Actions menu or the Explorer row menu, and asks for confirmation. A deleted record disappears from search, previews, and relationship pickers. Its history is kept. A record in a locked status cannot be deleted, and neither can a movement record or a record that still holds a balance; see Stock levels and other balances.

Everything on this page is also available through the CLI and API. For example:

Terminal window
acli record create --blueprint product --values product.yaml
acli record update <record-id> --values changes.yaml --context-id <context-id>
acli record value-history <record-id>
acli record restore-value <record-id> <history-id>
acli file upload <record-id> main_photo --file photo.jpg