# Work-order settings

Export templates with a live preview, the quality-control catalogues a review picks from, and the work-order tags you file jobs under.

import { Aside, Steps } from "@astrojs/starlight/components";
import DocUpdated from "~/components/DocUpdated.astro";

In Assemblified, **Settings → Catalogues → Work orders** is where you set up the things a work order reads from the store rather than from itself: how the **Materials** tab displays prices, the **export templates** its documents are rendered with, the **quality-control catalogues** a review picks from, and the **work-order tags** you file jobs under.

<Aside type="note">
    The people a work order can be assigned to live on their own page, **Settings → Catalogues → Assignees**. See
    [assignees](/features/work-orders/assignees/).
</Aside>

## On this page

- Materials
- Export templates
- Building a template
- Previewing a template
- Quality control catalogues
- Work-order tags

## Materials

**Show retail prices on work-order materials** adds each material's Shopify selling price and a running retail total to every work order's Materials tab. Use it when you fill boxes to a retail budget, such as gift hampers. It is off by default, it changes no cost figure, and it saves as soon as you switch it. See [retail prices on the Materials tab](/features/work-orders/material-planning/#retail-prices-on-the-materials-tab).

## Export templates

A template decides what an export contains. Each document has PDF templates for printing and spreadsheet
templates for the XLSX and CSV downloads.

The section is organised by document, and each document carries two tables:

| Document            | What it is                                                                                            |
| ------------------- | ----------------------------------------------------------------------------------------------------- |
| **Pick list**       | The materials to pick for a work order, grouped and sorted the way the floor works.                   |
| **Build overview**  | What a work order builds: planned, built and remaining quantities, with the quality-control snapshot. |
| **Shortage report** | What a work order is missing, optionally costed, for procurement.                                     |

- **PDF templates** — the print layout. A default one is created for you the first time you open this page.
- **Spreadsheet templates (XLSX/CSV)** — shared by both spreadsheet formats. Without one, the export just uses that document's default columns.

Each table shows **Name · Status · Updated · Actions**, with **Add template** above it.

**Status** is where the default lives. One template per table can be starred; it wears a **Default** badge, and every other row offers **Set as default** to take the star. The default is what the [Export dialog](/features/work-orders/reporting/#the-export-dialog) pre-selects.

**Actions** are, right to left: **Preview** (PDF templates only), **Edit**, and **Delete**. Deleting asks first, and tells you what happens: exports that used the template fall back to the default one.

## Building a template

<Steps>

1. **Name it.** Something you will recognise in the export dialog — _Warehouse pick list_, say.

2. **Decide whether it is the default**, with the **Set as default** switch. The default is pre-selected whenever that document is exported.

3. **Pick the columns.** The column picker has two lists — **Selected columns (drag to reorder)** and **Available columns** — and the order you drag them into is the order they print in. Leave the selection empty and the export uses that report's default columns. The picker is keyboard-operable: space to pick a column up, arrows to move it, space to drop it.

4. **Group and sort** _(pick list templates only)_:
    - **Group by** — **Pick location** (the default), **Product type (Shopify)**, **Category (Shopify)** or **Vendor**. Each value becomes its own headed section.
    - **Stock display** — **Don't separate by stock**, **Out-of-stock / in-stock sections**, or **Out-of-stock first (highlighted)**.
    - **Sort materials by** — material name, SKU, quantity, available or shortage — and a **Sort direction**, ascending or descending. Sorting sets the row order _inside_ each group; the group order is set by the grouping above.

5. **Set the display options** _(PDF templates only)_. Switches, and which ones you see depends on the document you are building the template for. The full set is in the table below.

6. **Save.**

</Steps>

| Switch                                            | Appears on                                 |
| ------------------------------------------------- | ------------------------------------------ |
| **Show company logo**                             | Pick list, Build overview, Shortage report |
| **Show company details**                          | Build overview, Shortage report            |
| **Show SKU column**                               | Pick list, Build overview, Shortage report |
| **Show material notes**                           | Pick list                                  |
| **Show assignee**                                 | Pick list                                  |
| **Show due date**                                 | Pick list                                  |
| **Show items to produce**                         | Pick list                                  |
| **One page per component**                        | Pick list                                  |
| **Show item notes**                               | Build overview                             |
| **Show quality-control snapshot**                 | Build overview                             |
| **Show location column**                          | Shortage report                            |
| **Show unit cost column**                         | Shortage report                            |
| **Show total cost column (shortage × unit cost)** | Shortage report                            |
| **Black and white (no colours)**                  | Shortage report                            |

<Aside type="note" title="Category vs product type">
    Choosing **Category (Shopify)** shows a warning worth heeding: category comes from each product's Shopify category and only updates on
    the next material refresh, while product type updates immediately. Unless your Shopify categories are filled in, **Product type** is the
    more reliable dimension to group by.
</Aside>

A spreadsheet template asks only about columns — there is no layout to lay out.

## Previewing a template

PDF template editors show a sample document that updates as you change options, including before
you save a new template. On desktop, the controls and preview appear side by side. You can enlarge
the preview and close it again without losing your edits. Closing an editor with unsaved changes
asks before discarding them.

A failed template save keeps the editor and its draft open with an inline error. Try **Save** again
after the problem is resolved. Changes made while a save is pending remain in the editor for another save.

The **Preview** button on a saved PDF template opens the same viewer with its saved options. Samples
use illustrative work orders and branding. The document fits an A4-width view and scrolls to show
all its content; page breaks can differ in the downloaded PDF. Spreadsheet templates keep their
column editor and do not have a document preview.

The [Export dialog](/features/work-orders/reporting/#the-export-dialog) on a work order has no preview of its own. Check a template here, then use it there.

## Quality control catalogues

A quality-control review picks from these catalogues when items pass or fail. There are two, and they behave
identically.

### Failure categories

One category is chosen per disposition when items fail a review. A starter set is created for you the first time you open this page.

### Defect reasons

Reasons are multi-select: a rejected item can carry several at once. Nothing is created for you here — add the reasons your reviewers should be able to pick from.

### Editing either one

Both tables show **Colour · Code · Name · Description · Created · Actions**, with **Add category** / **Add reason** above them. The editor asks for:

- **Name** — required, and the only field that is. The form suggests _Cosmetic defect_ for a category, _Surface scratch_ for a reason.
- **Code** — leave it blank and a unique one is generated (`CAT-001`, `DEF-001`).
- **Description** — optional.
- **Colour** — optional, from a swatch picker. It is what the badge wears.

Deleting is safe by design. An entry used by an existing review is deactivated rather than deleted, and the dialog says so before you confirm. Past reviews keep reading correctly; the entry just stops being offered.

A reviewer who needs an entry that isn't there doesn't have to come here — the [Quality review dialog](/features/work-orders/qc/#running-a-qc-review) has an **Add to catalogue** button that creates one on the spot, and it lands in these tables.

## Work-order tags

Tags are internal labels for organising work orders, and this page is the one list they all live in.

The table shows **Tag** (with its colour dot), **Used by** (how many work orders carry it), **Created**, and per-row **Edit** and **Delete**. **Add tag** is in the section's heading row.

- A tag name **cannot contain a comma** — the field says so.
- **Renaming updates every work order carrying this tag.**
- **Deleting** asks first and counts the damage: _"… is used by 12 work orders. Deleting it removes it from all of them."_ A tag nobody uses says so instead.
- You do not have to create tags here first. A tag typed onto a work order is added to this list automatically, and this page is where you then give it a colour, correct a spelling, or clean it up.

The same tags are what the work-order list filters and bulk-tags by, and what the **Manage tags** entry in that page's **More actions** menu opens.

## Related

- [Exports & documents](/features/work-orders/reporting/) — the dialog that uses these templates.
- [Quality control & rework](/features/work-orders/qc/) — the review that picks from these catalogues.
- [Assignees](/features/work-orders/assignees/) — the other work-order catalogue.
- [Work orders overview](/features/work-orders/overview/).

<DocUpdated date="2026-11-19" />