Skip to main content

Price grids

How to create a price grid: product, VAT, parameters, variants and the price matrix.

A Price grid is the price table of one product. The rows are the bands of a scale (the boat's size category); the columns are the combinations of the variants (e.g. fuel, number of engines). Each cell holds the price. Prices can be calculated by a formula, typed by hand, or a mix of the two.

Where to find it

Settings → Prices lists, products and services → Price grids (detailed pricelist) opens the list of grids. At the top you find the buttons “Reorder price grids” (reorders the grids), “Cross-grid % revision” (adjusts the prices of several grids together by a percentage, see Price revision and export: cross-grid, Excel and PDF), the “Import / Export” menu, “Regenerate all” and “Create price grid”, and the filter bar (“Reset” / “Search”). Each row has the actions View, Edit, Duplicate and Delete and the columns ID, Slug, Type, Product, Scale, Cells, Enabled, Status (badge) and Expiry. To see the grids you need the Prices lists → Read permission; to create, edit and delete them, Prices lists → Create, Edit and Delete (see Detailed pricelist: getting started).

The “Import / Export” menu gathers, in the group “Excel: the prices of every grid”, “Export all (Excel)” and “Import from Excel” (see Price revision and export: cross-grid, Excel and PDF) and, in the JSON group, “Export package (JSON)” and “Import package (JSON)” (several grids in a single file, see Moving several grids in a package (JSON file)) and “Import grid (JSON)” (recreates a grid from a .json file, see Moving a grid between marinas (JSON file)).

A grid's detail page is organised in three tabs — “Main”, “Configuration” and “Diagnostics” — and has the Actions panel with the groups Price grids, Try it out, Rates over time and Export. Among the actions you find “Export matrix (CSV)”, “Export matrix (Excel)” and “Export PDF (customer pricelist)” (see Price revision and export: cross-grid, Excel and PDF), “Export grid (JSON)” (see Moving a grid between marinas (JSON file)), “Prepare next edition” (see Dated editions of the pricelist: validity and next edition) and “Save as template” / “Price grid templates” (see Reusable grid templates).

Typical flow

  1. Create the grid (from scratch with “Create price grid”, or start from a preset). The first screen is a fork, “What is this price grid for?”: choose the area “Shipyard” (services on an order → “Shipyard grid” button) or “Marina” (berth/mooring on a contract → “Marina grid” button). The choice decides which fields and which price lists you will see; you can go back with the “Change kind” button at the top of the form (it is there while the grid is new).

  2. Set the required fields: Product, Price list, Tax rate.

  3. Add any Parameters, Variants (columns) and Options.

  4. Write the expressions (generation formula and, if needed, applicability/quantity/unit price) — all optional.

  5. Press “Generate” in the Matrix panel to create/fill the cells.

  6. If you like, correct single cells by hand (they turn yellow).

The grid's fields

Field

Required

Meaning

Name

no

Free name of the grid.

Slug

no

Short name by which another grid refers to this one with GRID('slug') (see Building a grid from another one with GRID()). Empty = derived from the name. Changing it breaks existing references.

Scale

no

The scale whose bands become the rows. Empty = a single row, labelled “(all)”.

Price list

yes

The price list from which the generated order line takes the product's price reference.

Enabled

no

Whether the grid is active.

Valid from / Valid to (empty = open-ended)

no

The grid's validity window. Empty = always valid. To keep several dated editions see Dated editions of the pricelist: validity and next edition.

Product group filter

no

Only helps narrow the product search (it is not saved).

Product

yes

The priced product. Search field (type name or code/SKU).

Prices include VAT

no

Net — VAT excluded / Gross — VAT included: says whether the numbers you type in the matrix are net or gross.

Default VAT rate

yes

The VAT applied to the generated lines and used to split net/gross.

Description template

no

Free text used as the description of the generated line. Empty = the product's dynamic description with its placeholders already replaced (boat name, dates, resource…). It is plain text, not a formula.

Generation expression

no

The formula that calculates each cell. Empty = empty cells to fill in by hand.

Applicability / quantity / unit price

no

Optional pricing logic (see the article Expressions).

Measure this instead (same bands)

no

Keeps the scale's bands but measures another quantity (for example an HP scale read on the tender's HP instead of the engine's). Empty = the scale decides.

Net or gross? The “Prices include VAT” field decides whether the values you type in the cells already contain VAT. Setting it the opposite of how your price list is makes every price wrong by the amount of the VAT. The generated order line always stores the net price and the VAT separately.

Price adjustments

Five optional fields, in the Price adjustments section of the form. The first four apply to every cell after the formula, in this order: Surcharge (€), then the limits Min price and Max price, then Round to (step) (for example 1, 5, 0.5). They only apply to the sales rate. The fifth, Round the cost to (step), rounds only the purchase cost (see Purchase costs and margin in price grids). Leave them empty so the formula's result is not touched.

Where the grid is used

In the Main tab, if the grid has already priced something, the Usage box appears: it says how many contract lines and how many order lines use it. Changes and regenerations only apply to future prices: existing lines do not change.

Parameters

Parameters are named numbers, reusable in the formula as params.CODE. They are used to adjust prices in one place only.

In the “Parameters” panel press “Add parameter” and enter:

  • Code (e.g. eur_per_hp) — it is the name you call it by: params.eur_per_hp.

  • Label — readable name.

  • Value — the number.

Parameters are optional: a grid may have none.

If you already have the parameters in an Excel sheet, press “Import from Excel” in the panel's header: you paste the rows of the editable parameters, one per line. The last number of each row is the value; the rest becomes the label (and an automatic code). Codes already present stay.

Variants (columns) and options

Variants are the boat's characteristics that become columns. In the “Variants (columns)” panel press “Add variant” and enter:

  • Name (e.g. Fuel),

  • Code (e.g. fuel) — you call it as variant.fuel,

  • Value expression (e.g. engine.fuel) — the boat's data that picks the option,

  • Ordering.

Then on each variant press “Option” to add the options: Label (column heading), Match value (the code the variant must match, e.g. DIESEL) and Ordering.

One dimension = one variant. For several values of the same characteristic (e.g. three fuels) create one Fuel variant with three options → you get 3 columns. Three separate variants (one option each) would instead be merged into a single combined column.

Cartesian product. Two variants multiply: one with 3 options × one with 2 = 6 columns.

Exact codes, in capitals. The match value is compared as text and is case-sensitive: DIESEL works, Diesel does not. Use the “See the allowed values for categorical boat fields” link to copy the exact codes. See also the article Expressions.

Duplicating a column with a factor

On an option's pill you find a clone icon: it opens the “Duplicate column with a factor” modal, with which you create a new column starting from an existing one. Enter “New label” (the new column's heading), “New match value” (the code the new option must match) and an “Adjustment %” (the percentage by which to shift the copied prices). Only the cells already filled in are copied. See the article Matrix tools: Excel-style editing, heat map and deviations for all the matrix tools.

The Matrix

In the “Matrix” panel:

  • “Generate” creates/fills the cells from the formula. Without a formula, it creates empty cells to fill in by hand. (If there is neither a scale nor variants, there is nothing to initialize.)

  • To customise a cell, click into it and type a price: the cell turns yellow, the calculated value stays as faded grey text, saving is automatic (the cell stays yellow as long as it holds a custom value; if you type an invalid value a warning appears). Numbers are right-aligned.

  • “Clear custom prices” removes all the values typed by hand: those cells go back to the generated values (irreversible operation).

To go back to a cell's calculated value, CLEAR it (leave it empty). Don't type 0: zero creates a custom value equal to zero, which “Generate” keeps.

“Generate” always keeps custom values. It only regenerates the cells calculated by the formula; it does not delete your custom values. (If you change scale or variants, the “orphan” cells of a combination that no longer exists are removed.)

Other matrix tools. The matrix also offers “Heatmap”, “Copy as TSV”, “Compare with Excel” with the deviation indicator and “Reset to formula”: they are described in the article Matrix tools: Excel-style editing, heat map and deviations.

Marina grid: mooring on contracts

If at creation you chose “Marina”, the grid prices a berth/mooring on a contract instead of a service on an order. You recognise it by the blue “Marina grid” label at the top (“prices a berth/mooring on a contract”). The basic fields are the same (Name, Scale, Price list, Product, VAT); in the “Price list” field the first entry “+ Create a new price list (named after this grid)” creates a price list with the same name on the spot, so you don't have to prepare it beforehand.

In addition the “Marina berth pricelist” section appears: these are the constraints that tell the system when to use this grid. Leave a field empty to make it count for any value.

Constraint

What it is for

Marina pricelist

The Marina pricelist (with its seasons) the grid is linked to.

Contract type

The type of contract served (empty = any).

Frequency (duration)

The billing frequency: annual, monthly, daily… (empty = any).

Customer segment

The segment it applies to; empty = any customer.

Apply hull surcharge

Applies the tenant's hull multiplier (catamaran/multihull). Switch it off if the grid is a tail at €/m.

Segment discount %

Optional discount applied after the price is calculated (e.g. residents).

Formula above band index

Above this band index the unit price switches to the expression (formula tail, e.g. €/m).

If the grid has no price list, or its price list has no Contract Duration, the grid's page shows Not auto-selectable: the grid will never be chosen automatically on a contract. In the first case the link “Fix the grid” opens the form to link a price list; in the second the link “Set the Contract Duration on the price list” opens the price list.

The “Output target” of a marina grid is “Contract (mooring/berth)”: the generated lines end up on a contract, not on an order line.

Seasonal prices are elsewhere. In a marina grid the prices per season are not typed in the matrix, but on the “Seasonal & temporal rates” page (Actions panel, Rates over time group). See Marina pricelist: seasons and prices.

Generation happens on the contract. From this grid you don't generate order lines: mooring rates are produced starting from a contract. See Generating mooring rates on a contract.

Ready or Incomplete

A grid is “Ready” (green badge) only if it has Product + Price list + Tax rate. Otherwise it is “Incomplete” (yellow badge) and is skipped. The detail page shows at the top a warning with what is missing and a “Complete it” link: “This grid is incomplete and will be skipped until you set: …”.

Checking the grid

The Diagnostics tab of the grid's page flags zero prices, falling prices and undefined references, and lets you pin regression cases: see Checking a grid: diagnostics and regression cases.

Duplicating a grid

“Duplicate this grid” (or the Duplicate action in the list) creates a complete copy — structure, parameters, variants/options and the whole matrix (generated and custom values) — called “<name> (copy)”, and takes you to the copy. The copy reuses the same scale. Handy for making a similar service starting from an existing one.


Did this answer your question?