# The supply chain

The overview of a product model: its tree of components, materials and suppliers, a summary table and the distribution by country.

Source: https://docs.sealtrust.io/en/console/chaine-approvisionnement/

---

This screen puts into a picture what has been declared in the components, the materials and the suppliers, for one given product model. It serves to see at a glance where the gaps are: a component with no country of origin, a material with no category, a supplier with no country or deactivated. The view is read-only, corrections are made on the components and suppliers screen.

![The supply chain view of a model, with its tree, its table and its distribution by country](/console/chaine-approvisionnement.en.webp)

## What the screen shows

A product model selector, which loads at most 100 models. As long as no model is chosen, the screen invites you to select one.

Once the model is chosen, the page gives four tiles (number of components, of materials, of suppliers and of countries), a tree on three levels (the product at the top, the components in the middle, the materials and the suppliers at the bottom in two columns), a summary table of Component, Material, Supplier, Country, Recyclable, and a histogram of distribution by country, from the most represented to the least represented.

The table shows the country of the supplier, and failing that the country of origin of the component. The components appear in the declared display order, then by identifier. A material or a supplier shared by several components appears only once.

A colored ring surrounds each card, with a legend: green for certified or recycled, orange for a missing value, red for a problem.

- A material is green if it is recycled, organic or certified, orange if it has no category.
- A component is green if it is recyclable, orange if its recyclable character and its country of origin are both absent.
- A certified supplier is green. Failing that, it turns orange if it has no country. Red is reserved for the deactivated supplier that has a country and no certification.

When the graph contains only the product node, the screen shows "No components registered for this model."

## What you can do here

Choose a product model in the list, then refresh its graph. The refresh button only appears once a model is chosen.

From the detail page of a unit, the "View supply chain" link opens the model concerned directly: an identifier passed in the address preselects that model, if it appears in the loaded list.

## What conditions access

The screen is hidden for the `basic` brand profile, in the menu as well as at its direct address: the page redirects to the dashboard without showing anything of its content.

The models offered are limited to the brands the account has access to. The graph is only requested after a model is chosen.

## What the screen refuses

A model that cannot be found, or that is outside the scope of the account, is refused with 404 and "Product model not found". The error message returned by the server is displayed as is in a red box.
