Best done with Spanner AI
Each step is simple, but they have to happen in the right order, with the right code in the right place. Spanner AI knows the steps, checks the planogram's key field before it matches anything, asks you before it changes your library, and tells you what changed after each step. Read this guide once to understand the process, then ask Spanner AI to do it.
- "Open this planogram, match its products to my soft drinks library and tell me which ones are new."
- "Bring in my classifications for the matched products, but keep the planogram's dimensions."
- "Add the retailer's codes to Matches for every product."
- "Give the new products their barcodes as IDs, then add them to my library."
- "Fill in any dimensions my library is missing from this planogram, without changing what it already has."
The steps at a glance
- Open the planogram and let Spanner keep the retailer's codes in Retailer ID and Retailer UPC.
- Check the key field and the barcodes, so you know which column holds the real barcode.
- Match it to your library and bring in your IDs and classifications, keeping the planogram's dimensions.
- Keep the retailer's codes in Matches, so their next planogram and their sales data find your products.
- Give the new products your IDs, if your library's IDs are barcodes.
- Add the new products to your library.
- Fill the gaps in the products you already had: only what your library is missing.
- InputRetailer's planogramPSA file
- Steps 1–2Open and checkKey field, barcodes
- Steps 3–4MatchYour IDs, retailer's codes kept
- Steps 5–6New productsAdded to your library
- Step 7Fill gapsOnly what's missing
- ProductionYour product libraryYour codes kept
Before you start
- A product library with barcodes, such as one built as in Part 1.
- A way to match on the barcode. The planogram's IDs are the retailer's codes, so products are matched on their barcode instead, in one of two ways:
- An interface keyed on the barcode. Map your library's barcode column to UPC, and under Custom Commands click Add Custom Commands and type
key UPC. Map ID, Matches, the dimensions and your classifications too. - Your usual interface, matching on ID, if your library's IDs are the barcodes, as in Part 1. Then do step 5 before step 3, so the planogram's products take their barcodes as IDs first.
- An interface keyed on the barcode. Map your library's barcode column to UPC, and under Custom Commands click Add Custom Commands and type
- For a planogram whose UPC holds the retailer's own code (see step 2), a classification holding the real barcode, such as Real UPC. To key on it, use a second interface: map your library's barcode column to Real UPC instead of UPC, and type
key Real UPC. - Spanner 2.5.1.1 or later, and for Spanner AI the Read Files and Write Files permissions.
Each step in detail
1. Open the planogram
Open the planogram file. When Spanner asks, let it convert the planogram and copy the codes into Retailer ID and Retailer UPC. These classifications keep the retailer's codes exactly as they were, whatever happens to ID and UPC in the steps that follow.
2. Check the key field and the barcodes
Most planograms are keyed on ID, with the real barcode in UPC. Some retailers, such as Morrisons and Waitrose, key on UPC instead, so UPC holds their own code. Spanner notes this in the document's comments: open Edit › Edit Document and look under Comments for PSA key field: UPC or PSA key field: UPC + ID. No note means the key is ID.
- Keyed on ID: the barcode is in UPC. Barcodes in planograms often lose their leading zeros or check digits, so check a few against your library first; Spanner AI can fix them for you.
- Keyed on UPC: add a Real UPC classification and fill it with each product's barcode, from a list the retailer gives you, or by asking Spanner AI to match products to your library by description. Then use your interface keyed on Real UPC, or Real UPC in place of UPC in step 5.
With an interface keyed on the barcode, a product with no barcode can't be matched, and Spanner leaves it out of the exports in steps 6 and 7, so it can't create a duplicate in your library.
3. Match it to your library
Open the product library window with Interface › Product Library › your library › Open. In the filter between the buttons (see Choosing what's copied), untick the Physical group, then click Update at the top to update the existing products in Spanner.
Each product the library has, matched on its barcode (or on ID, if you did step 5 first), takes your library's ID, Matches and classifications. It keeps the planogram's dimensions, because they're what the retailer built the planogram with. The products that weren't matched are new to you, and still carry the retailer's codes.
4. Keep the retailer's codes in Matches
Run the Copy Product Strings automation command with Automation › Enter Automation Command:
| Parameter 1 | Retailer ID for most retailers; Retailer UPC for a planogram keyed on UPC. |
| Parameter 2 | Matches. |
Each product's retailer code is added to its Matches, never replacing the codes already there. When you send the products to your library in steps 6 and 7, the codes go with them, so this retailer's next planogram and their sales data find your products. Edit › Undo takes the codes off again.
5. Give the new products your IDs
The new products still have the retailer's code as their ID, and that's the ID they'd have in your library. If your library's IDs are barcodes, as in Part 1, give the new products theirs first. The easiest way is to ask Spanner AI. To do it yourself, run the Merge Many Products automation command, as described in Part 1, with Parameter 1 UPC (or Real UPC) and Parameter 2 Pad14, ID. Every product with a barcode gets it as its ID, and its old ID, the retailer's code, moves to Matches. The products matched in step 3 have their barcode as ID already, and any two products with the same barcode become one. If you're matching on ID, you've done this before step 3.
6. Add the new products
In the product library window, choose New on the left to list the products that aren't in your library, check them, then click Export new, the button with the star. Only products your library doesn't have are added; nothing already there is changed.
7. Fill the gaps
For the products your library already had, click Fill gaps, the export button with two bars and an arrow between them, below Update:
- a unit, tray, case or other pack your library hasn't got is written whole, with its counts;
- any other value, such as a size or a classification, is written only where your library's is blank;
- everything your library already has stays as it is, including its ID, its barcode and its dimensions;
- the retailer's codes are added to Matches.
Packs without counts
Retailers' planograms often give a tray or case size but no count, and Spanner shows a missing count as 1. Exported as it is, your library would get a tray holding one unit. So from Spanner 2.5.1.1, an export leaves out a pack a product hasn't really got:
- a unit, tray, case or other pack with a dimension of 0;
- a tray, case or other pack with a count of 1 that's at least one and a half times the size of the unit.
Two units can't fit in less than twice the space of one, so a pack about the size of the unit really does hold one, such as a 24-pack of beer sold as a single unit, with the same unit, tray and case. Its count of 1 is written. A bigger pack's count was never given, so the pack is left out whole: your library keeps its own, and a new product is added without it.
The automation commands
To repeat the process with each new planogram, save these commands as an automation in Tools › Settings › Automation, or ask Spanner AI to run them. Your interface is the one keyed on UPC, or on Real UPC for a planogram keyed on UPC.
| Step | Command | Parameter 1 | Parameter 2 |
|---|---|---|---|
| 3 | Product Library | your interface | ImportMatched |
| 4 | Copy Product Strings | Retailer ID or Retailer UPC | Matches |
| 5 | Merge Many Products | UPC or Real UPC | Pad14, ID |
| 6 | Product Library | your interface | ExportNew |
| 7 | Product Library | your interface | ExportFillGaps |
What comes next
Repeat this with each planogram a retailer sends you. Between planograms, keep the library current from market data, as in Part 2, Keeping a Product Library Up to Date.
For the rest of the work with a retailer's planograms, from coding and sales data to sending a PSA back, see Using Retailers' Planograms.