Document Setup · Part 2

Classifications and Outlets

Classifications are how a document describes its products, and outlets are whose sales it holds. This guide covers changing both lists, classifications that work themselves out, and clearing an outlet's figures.

Classifications

A classification is a heading that every product has a value for: Category, Brand, Pack Type. They are what you filter by, highlight by and total by, so they are worth getting right.

Open Edit › Edit Document and click Classifications. Each classification is a row, with its name on the left.

ToDo thisWhat happens to the products
Add oneClick the green plus on a row. A new row appears below it, called Classification 1. Type its name.Every product has it, empty.
Rename oneType over the name.They keep their values under the new name.
Move oneClick the up or down arrow.Nothing. Only the order of the headings changes, wherever they are listed.
Delete oneClick the bin.Every product loses its value for it.

Adding a classification here only makes the heading. The values are filled in elsewhere: in the product editor, in the Product Coding report, from a product library, or by an import from Excel. A document always keeps at least one classification, so the last one has no bin.

A retailer's file brings its own classifications. A converted planogram file has the retailer's headings first and yours after them. Retailer ID and Retailer UPC hold the retailer's original codes: leave those two as they are.
The Classifications list open, with five rows: Category, Sub-Category, Manufacturer, Brand and Sub-Brand. Each row has arrows, a bin and a green plus, then an empty Calculation box. An example formula is shown in grey above the boxes
The Classifications list. The grey text above the Calculation boxes is an example of a formula, not part of the document.

Calculated classifications

To the right of each name is a wider box, headed Calculation. Leave it empty and the classification is an ordinary one, typed or imported. Put a formula in it and Spanner works the value out for every product, and again whenever anything changes.

Use one to band other data into fewer, more useful values:

  • pack sizes into Small, Medium and Large;
  • many brands into Premium, Mainstream and Value;
  • every variant of a brand into one family.

A new product is placed the moment it arrives, with no coding to remember. That is why the demand model leans on them.

To make oneAdd the classification, then type its formula in the Calculation box.
To change it backEmpty the Calculation box. The classification keeps the values it had, and can be typed in again.
While it is calculatedIts values can't be typed, pasted or imported. The formula would only replace them.

Writing a formula

A formula is a list of parts with semicolons between them. Each part is a value in double quotes, the word if, and a rule. Spanner tries the parts in order, and the first rule that is true gives the value.

"Small" if ProductSize < 1000; "Medium" if ProductSize < 4000; else "Large"

A last part beginning else catches every product that met no rule. Without one, those products are left empty.

A rule tests another classification, by its name, or a property of the product, such as ProductSize, UnitOfMeasurement, Name or Height.

TestExample
Is, is notBrand = "Brand C", Brand <> "Brand C"
Is one ofBrand in ("Brand A", "Brand B")
Part of the textBrand starts with "Brand A", Name contains "pear", Name ends with "ml"
A numberProductSize >= 4000, also <, <=, >
JoinedBrand = "Brand C" or [Own Label] = "Yes", with and, or, not, and brackets to mix them
  • Text goes in double quotes, and must match exactly for = and in. The part-of-the-text tests ignore capitals.
  • A product with no number fails every number test. So a product with no size is not Small: it falls through to else. Give blanks a part of their own if you want to see them.
  • Sizes are in centimetres for Height, Width and Depth. ProductSize is in the product's own unit, so test the unit as well where a document mixes millilitres and grams.
  • Put a name in square brackets when it contains a bracket, a quote, a sign such as =, or one of the words and, or, in.
  • A formula can test another calculated classification, but two can't test each other.

If you rename a classification, the formulas that test it are changed to the new name for you. If you delete one, its own formula goes with it.

Ask Spanner AI: "Add a classification called Size Band: Small under 1 litre, Medium under 4 litres, Large above. Tell me how many products fall in each."

Orange boxes

When you leave a Calculation box, Spanner reads the formula. A box that turns orange needs a look. Hold the mouse over it for the reason.

The reason givenWhat to do
The formula can't be readLook for a missing quote, semicolon or if. The reason says where it stopped.
CircularThis formula tests a classification whose own formula tests this one. Change one of them.
No classification or product property called…A name in a rule is misspelt, or the classification has been renamed or deleted. That rule is false for every product.
It tests… worked out from the planogramsThis is a caution, not a fault. See below.

The last one appears when a rule tests something that depends on the planograms and not on the product alone, such as how many positions or facings a product has. The formula works, but the value is only worked out again when the product is, so it can be out of date after a planogram changes. For coding that must always be right, test the product's own data.

The Classifications list with the Calculation box of the last row coloured orange. Its formula tests Brnd, which is not a classification of the document
A formula that tests Brnd, a heading the document does not have. Hold the mouse over the orange box for the reason.

Outlets

An outlet is one body of sales data: a retailer, a group of stores, a market. A document holds a full set of figures for each product in each outlet.

Each planogram then reads two of them. Its Outlet is whose sales it is judged on, and its Channel is what it is compared with: for a planogram in one retailer, often that retailer and the whole market. Both are chosen from this one list, in the Planogram Editor.

Click Outlets in the Document Editor. The rows work as the classifications do.

ToDo thisWhat happens to the data
Add oneClick the green plus on a row, and type the new outlet's name.It starts with no figures.
Rename oneType over the name.Its figures stay with it.
Move oneClick the up or down arrow.Its figures move with it.
Delete oneClick the bin.Its figures are deleted for every product.
  • You seldom need to add an outlet by hand. A sales data import adds the outlets it brings.
  • A document always has at least one outlet. The last one has no bin.
  • After deleting or moving outlets, look at the top row. Check that Default Outlet and Default Channel still name the ones you mean.
The Outlets list open, with seventeen outlets: retailers, store groups and markets. Each row has arrows, a bin, a green plus and a Clear Sales Data button
The Outlets list. Every outlet here holds figures, so every row has a Clear Sales Data button.

Clearing sales data

An outlet that holds figures has a Clear Sales Data button at the end of its row. It empties the outlet and keeps the outlet itself, with its name and its place in the list, so the planograms that read it still do.

  1. Click Clear Sales Data on the outlet's row. The button disappears, to show it has been asked for.
  2. Click the green tick. Every figure of that outlet is set to zero, for every product.

Use it to start an outlet again, for example before importing a new period into it. An import that updates leaves alone the products that are not in its file, so a product that has since been delisted can keep its old sales.

An outlet with no figures has no button, as there is nothing to clear. Next: Part 3, Measures and Calculated Measures.

Setting documents up for a team?

If every document should start the same way, we can agree your classifications, measures and imports with you and set them up as your defaults.

Email us Book a Demo