# Product events

The history of lifecycle events attached to the brand's products, with manual entry of an event when it did not come up on its own.

Source: https://docs.sealtrust.io/en/console/evenements-produit/

---

This screen is the log of product lifecycle events: repair, servicing, refurbishment, warranty activation or extension, inspection, quality control, certification, distribution, resale, return, donation, recall, recycling, destruction, end of life. You open it to review what has already been recorded, to filter by type or by product, and to add an event by hand.

![The console product events log, with its filters and its table](/console/evenements-produit.en.webp)

## What the screen shows

The "Lifecycle event history: repairs, warranties, resales..." subtitle, then two filters side by side: a type dropdown whose first option is "All types", and a numeric "Product ID" field.

A table with seven columns: ID, "Type", "Title", "Product", "Brand", "By", "Date". It shows 20 rows by default, from the most recent to the oldest on the date of occurrence. The type is rendered as a coloured badge: red for a recall or a destruction, orange for a repair, a servicing or a return, green for a warranty activation or extension, a certification, a recycling.

With no event: "No event recorded. Events are created during product scans, transfers or repairs.".

## What you can do here

Open the form with "New event", close it with "Cancel". It asks for "Product ID *", the brand, the type, "Title *", "Description (optional)" and "Performed by (optional)". The type is chosen among eighteen values, `custom` being offered by default.

Filter on a given type or on a product identifier: each of these two filters resets pagination to the first page. Sort on the identifier, the title, the product, the brand and the date. Change the number of rows per page and move from page to page.

## What governs access

A signed-in administrator account, otherwise the screen only shows "Loading...". The "Product events" sidebar entry is visible for every brand profile, and no plan is required. The list only shows the events of the brands the account can reach.

The "Create" button stays inactive as long as the product identifier, the brand and the title are not all filled in. Creation also requires the target product to belong to the chosen brand.

## What the screen refuses

A brand the account has no access to: 403. An unknown product: 404, "Product not found". A brand that does not match the product's own: 400, "Product brand_id does not match event brand_id".

A type outside the closed list is rejected at validation; the value entered is lowercased before being compared. A title that is empty or reduced to spaces is refused with "title must not be empty". Asking for more than 100 rows at once is refused.

This screen offers neither editing nor deletion: only creation, listing and reading of an event exist.
