Skip to content

Product Setup Guide

For: the developer or admin who creates the products, options and prices that salespeople configure. Before this: the add-on is installed and Panel Configurator Settings is filled in.

There are two ways to set up products. Both create the same records.

Way Best for
A. Excel workbook via Panel Configurator Settings → Import A whole catalogue, bulk price changes, and keeping the data under version control
B. Forms in Infinity ERP Learning, small edits, and adding one rule

Start with the worked example in §4. It takes about 15 minutes and shows every part.


1. How it fits together

Item Attribute   a question and its answers         Thickness: 0.40, 0.50
      │
Item Template    Infinity ERP item with "Has Variants"    PRS → variants PRS-050-BL, PRS-040-WH …
      │
Panel Product    the order of questions, pricing basis, width and length limits, BOM recipe
      ├── Panel Option Rule   WHEN <conditions> THEN <attribute> may only be <values>   (filtering)
      ├── Panel Price Rule    WHEN <conditions> ADD <amount> per stock unit            (pricing)
      ├── Panel Weight        WHEN <conditions> kg per metre = <n>                     (Weight basis only)
      └── Panel BOM Recipe    materials per 1 stock unit of finished product           (manufacturing)

When a salesperson finishes a configuration, the app: 1. creates (or reuses) the item variant, with an item code built from the abbreviations; 2. writes its Item Price to the Settings price list; 3. adds a line counted in pieces (Nos); 4. builds the BOM when the Sales Order is submitted.

2. Pricing basis: what one "stock unit" is

Pricing basis Stock UOM Quantity per piece Use for
Area Square Meter cover width (mm) × length (mm) ÷ 1,000,000 Panels, profile sheets, deck. Tick Width Editable for flashings, where the salesperson types the girth.
Weight Kg kg per metre (from Panel Weight) × length (m) Purlins and other sections
Length Meter length (m) Trims sold per running metre
Piece Nos 1 Accessories
  • Rate per stock unit = the sum of every Price Rule that matches.
  • Price per piece = rate × quantity per piece.
  • Line amount = price per piece × pieces.

All dimensions are entered in millimetres.

Quote Quantity As (on the product) decides what the salesperson types:

Quote Quantity As Salesperson enters Quotation line Use for
Total Quantity total Sqm / Rm / kg quantity in the stock UOM, rate per stock unit Panels, sheets, ridge, purlins: quoted from the BOQ before cut lengths are known. Lengths go into the Sales Order cut list; Work Orders need it.
Pieces x Length length (and girth if editable) and pieces pieces (Nos) at the price per piece, or running metres (Mts) at the price per metre Flashings and trims, or anything sold in cut pieces

3. Writing conditions

Conditions are used by Option, Price and Weight rules.

Write Means
(empty) Always matches. Use this for a base price.
Core Type=PIR Core Type is PIR
Core Type=PIR\|PU Core Type is PIR or PU
Core Type=PIR; Core Thickness=100 Core Type is PIR and Thickness is 100

Rules the system enforces: - Attribute names and values must match exactly; for example 0.40, not 0.4. A misspelt value is rejected and the error lists the valid values. - An Option Rule may only depend on questions asked before its target. This keeps the choices flowing downward and stops them looping. - At least one Price Rule must match every possible configuration. Otherwise the salesperson sees "no price", which is deliberately safer than quoting zero. - Option Rules: if several rules target the same question, only values allowed by all of them are shown (an intersection). - Price Rules: every rule that matches is added. A negative amount is a discount. - Weights: if several rows match, the one with the most specific condition wins.


4. Worked example: "Practice Roof Sheet" (forms)

The goal is a sheet with 2 questions, 1 filtering rule and 3 price rules. Log in as Administrator.

Step 1: Item Attributes (/app/item-attribute/new)

Attribute Name Value Abbreviation
Practice Thickness 0.40 040
0.50 050
Practice Colour White WH
Blue BL

Step 2: Template item (/app/item/new) - Item Code PRS, Item Group Products, Default UOM Square Meter. - Tick Has Variants, set Variant Based On to Item Attribute, and add the attributes Practice Thickness then Practice Colour.

Step 3: Panel Product (/app/panel-product/new) - Product Name Practice Roof Sheet, Abbr PRS, Pricing Basis Area, Quote Quantity As Pieces x Length, Stock UOM Square Meter, Template Item PRS. - Cover Width 1000, Min Length 1000, Max Length 12000. - Attributes table: Practice Thickness, then Practice Colour. This is the order the questions are asked. - Print Group / Print Label (optional) control the printed spec. For example group Top Skin, label Material prints the value under a bold "Top Skin" heading as "Material: …". Two rows in a row with the same group and label print joined ("Coating/Color: Polyester/ RAL 9002"). Label - prints the value on its own; inside a group heading that becomes the line's name, e.g. "Gable Flashing".

Step 4: Option Rule (/app/panel-option-rule/new)

When (conditions) Then limit attribute To these values
Practice Thickness=0.40 Practice Colour White

Step 5: Price Rules (/app/panel-price-rule/new, one rule per row)

Label Conditions Amount per m²
Base sheet (empty) 3.000
0.50 mm adder Practice Thickness=0.50 0.800
Blue adder Practice Colour=Blue 0.250

Step 6: Check it. Create a Quotation, click Configure Product, then choose Practice Roof Sheet.

Choose Length × Pieces Expect
0.50, Blue 3000 × 10 4.050/m² × 3 m² = 12.150 per piece, total 121.500, item PRS-050-BL
0.40 3000 × 10 Colour shows only White, already picked; 9.000 per piece
any 3 (typed as metres) Refused, with a hint to use millimetres

The same product as Excel rows is shown in §5.


5. Excel workbook (bulk setup)

Download it: - Open Panel Configurator Settings → Download → Blank Template, or - Download → Sample Catalogue, which is PTI's product list (8 products, 8 accessories, SAMPLE prices) to copy from.

Fill the sheets left to right. The importer loads them in this order:

Sheet Columns Notes
Attributes attribute, value, abbr One row per value. Keep abbr short, because it goes into item codes.
Raw Materials item_code, item_name, item_group, stock_uom, valuation_rate Only needed for BOMs
BOM Recipes recipe, item_pattern, fallback_item, qty_formula, uom See §6
Products product_name, abbr, template_item, item_group, pricing_basis, quote_mode, stock_uom, cover_width_mm, width_editable, min/max_width_mm, min/max_length_mm, default_length_mm, bom_recipe, description quote_mode = Total Quantity or Pieces x Length. The template item is created automatically if it's missing
Product Attributes product, attribute, allowed_values, print_group, print_label One row per question, in the order asked. Separate allowed values with \|; leave empty to allow all values.
Option Rules product, conditions, target_attribute, allowed_values, note allowed_values separated by \|
Price Rules product, label, conditions, amount
Weights product, conditions, kg_per_m Only for the Weight basis
Accessories item_code, item_name, item_group, stock_uom, rate Plain stock items sold as they are (screws, sealant, tape). rate is written to the Settings price list

The practice product from §4, as workbook rows:

Attributes:          Practice Thickness | 0.40 | 040      Practice Colour | White | WH
                     Practice Thickness | 0.50 | 050      Practice Colour | Blue  | BL
Products:            Practice Roof Sheet | PRS | PRS | Products | Area | Pieces x Length | Square Meter | 1000 | 0 | | | 1000 | 12000 | 3000 | |
Product Attributes:  Practice Roof Sheet | Practice Thickness |        Practice Roof Sheet | Practice Colour |
Option Rules:        Practice Roof Sheet | Practice Thickness=0.40 | Practice Colour | White |
Price Rules:         Practice Roof Sheet | Base sheet    |                          | 3.0
                     Practice Roof Sheet | 0.50 mm adder | Practice Thickness=0.50  | 0.8
                     Practice Roof Sheet | Blue adder    | Practice Colour=Blue     | 0.25

Import it: 1. In Panel Configurator Settings, attach the file in Product Workbook (.xlsx) and Save. 2. Click Import → Validate File. Every problem is listed with its sheet and row number, and nothing is saved. 3. Fix the file, re-attach it, and validate again until it reports File is valid. 4. Click Import → Import File. The result is also kept in Last Import Result.

Re-importing is safe: - Products and raw materials are updated. - For each product in the file, its option, price and weight rules are replaced by the rows in the file. - Products not in the file are untouched. - If any row fails, nothing at all is saved.

On a self-hosted bench you can also use the command line:

bench --site <site> execute panel_configurator.importer.load --kwargs "{'path': '/full/path.xlsx', 'dry_run': 1}"


6. BOM recipes (for Work Orders)

A recipe lists the materials needed per 1 stock unit (1 m² or 1 kg) of finished product. Infinity ERP then multiplies by the order quantity.

Column Example Meaning
item_pattern COIL-{facing_material_abbr}-{outer_sheet_thk} Builds the raw material code from the chosen options. {attribute_name} is the value and {attribute_name_abbr} is its abbreviation, both in snake_case.
fallback_item FILM-PE Used when there is no pattern, or the pattern's item doesn't exist
qty_formula 1.12 or insulation_thickness / 1000 A number, or a formula using attribute values. The last number in a value is used: 50mm → 50, 24G /0.50mm → 0.50. + - * / **, min, max and round are allowed.
uom Square Meter The unit of that raw material

Example ("Sandwich Panel" recipe, per 1 m² of panel): - 1.12 m² of outer coil, which allows 12% for profiling; - 1.05 m² of inner coil; - insulation_thickness / 1000 m³ of core; - 1 m² of protective film.

If a pattern builds a code that doesn't exist and there is no fallback, the Sales Order still submits. An orange alert names the missing raw material, and that item gets no BOM, so a Work Order can't be made for it. Add the raw material, then cancel and amend the Sales Order. Submitting the amended order builds the BOM.


7. Changing prices later

  1. Edit the Price Rules, either in the forms or by re-importing the workbook.
  2. Open the Panel Product and click Reprice Existing Variants. Variants that were already created get the new Item Price.
  3. Submitted quotations and orders keep their price. A Sales Order made from a quotation keeps the quoted price even if prices changed in between.

8. Checklist for each new product

  • [ ] Every attribute value has a short, unique abbreviation.
  • [ ] The template item has Has Variants ticked, the same attributes as the Panel Product, and the same stock UOM.
  • [ ] The questions are in a sensible order, with the broadest choice (such as core type) first.
  • [ ] A base Price Rule covers every combination; test the cheapest and the most expensive.
  • [ ] Area basis: cover width is set. Weight basis: a Weight row matches every section.
  • [ ] Min and max length are set, so typing metres by mistake is caught (they also check the Sales Order cut list).
  • [ ] Quote Quantity As matches how the product is sold, and Print Group / Print Label give the printed spec the client's layout.
  • [ ] If Work Orders are used: there is a BOM recipe and its raw materials exist.
  • [ ] Test the product in a quotation before telling salespeople it's available.