This is the everyday use of the detailed pricelist: from an order or quote page, have the lines (the jobs) generated automatically from the price grids. Whoever sets up the pricelist has already defined the rules: all you do is pick the services and press a button.
Berths on contracts. This procedure is for orders and quotes. To price the berth/mooring on a contract, use the dedicated marina procedure instead (see Generating mooring rates on a contract).
Opening the generation
Open the order (or quote) page. In the side menu click “Generate from detailed pricelist”. The entry is there on orders and quotes, but not on a frozen document: in that case, work on the active revision. The “Generate from detailed pricelist” page opens, split into two panels.
If you get here by adding a product bundle to an order, the page is titled Wizard: Add Bundle with Advanced Pricelists: for each product that has a detailed pricelist you choose whether to take it from the bundle or from the pricelist; Use Standard Flat Prices skips the detailed pricelist and adds everything at the bundle price, Apply Advanced Prices applies the pricelists. The bundle is explained in Product bundles.
Panel 1 — Boat data for this order
This is a snapshot of the boat data, pre-filled from the record of the boat linked to the order. All the fields can be edited.
Your changes apply only to this order and do not touch the boat record…
…unless you tick, at the bottom, “Also propagate the edited boat data back to the boat”: in that case the data is also written back to the boat record. Propagation also writes engines and generators (it creates the missing ones, aligns the existing ones, deletes nothing), the boat type and the class; an empty field does not erase the boat's data. When it is done: “Boat updated: …”.
The same panel has “Period from” and “Period to” (with the calendar), used by the time-based services. They are pre-filled with the order's work date and due date, if present.
No field is mandatory.
Panel 2 — Services to generate
It lists the enabled price grids, grouped by the price list the price comes from. Each grid is a checkbox: by default all ticked, but only if the document has no lines generated from the pricelist yet. Otherwise none is pre-ticked, the grids already used carry the “already used” label, and you should tick only what you want to add (regenerating a grid already used is refused). Each group has “Select all” / “Deselect all”.
At the top you can recall a Grid preset: see Grid presets: saving and recalling a selection.
Only the grids whose price list is enabled, shown on orders and offered for the order type appear (plus a final “Without price list” group); one edition per grid, the one valid on the work date. The other price lists are listed with “Show them anyway”.
Grids that are not ready yet carry the “Incomplete” badge (product, price list or VAT is missing): they can still be ticked but in practice they are skipped.
If there is no suitable grid, you see “No price grids to show. Create some (with an active price list shown on orders) under Settings → Price grids.”
Preview and line-by-line selection
The preview is mandatory: “Generate lines” appears only after a successful preview (“Run the preview to enable the generation.”). On a document that is already priced the button is called “Show what changes”. Press “Preview”: the “Preview — what will be inserted” panel opens with the “Dynamic lines (from detailed pricelists)” section, one row for each calculated service (service, resolved rate, quantity, net unit price, VAT and totals).
Each row has the “Include this line” pill: green = included, grey = excluded (the excluded row stays visible but struck through). One click turns it on or off.
The “Include all” / “Include none” bar acts on all the rows at once.
The “{n} of {m} line(s) included” counter and the totals (“Net”, “VAT”, “Grand total”) update in real time with every tick.
Grids that do not apply produce no lines: they appear in the “Selected grids that would be skipped” list with the reason (e.g. “Boat falls outside the price bands”).
When you press “Generate lines”, only the included lines (green pill) are created.
Lines already on this document
If the document already has lines generated from the pricelist and the boat data has changed, the preview also shows “Lines already on this document”: for each one “Unit price now”, “New unit price” and “New net total”, with the change in the total. Tick the ones to update: manual discounts stay (a percentage stays that percentage, an amount stays those euros). Lines already invoiced are offered unticked. On a quote already sent to the customer it is better to freeze it and open a revision first: see Revising a quote and comparing revisions.
Note. Turning a line pill on or off does not make the preview stale; changing the boat data or the grids instead shows the warning “Values changed — refresh the preview”.
Generating
Check/correct the boat data (it applies only to this order).
If needed, set Period from/to for the time-based services.
Leave the services to apply ticked, or untick them.
(Optional) Tick “Also propagate…” to update the boat record too.
Press “Preview” (or “Show what changes”) to review the lines and, if you like, exclude some (see above): without a preview nothing is generated.
Press “Generate lines”.
If you select no grid and press “Generate lines”, the boat data is saved anyway but no line is created: “Boat data saved. Select at least one grid to generate lines.” appears (normally, though, the grids are already all ticked).
The system saves the snapshot of the boat data, (if requested) propagates the data, calculates each selected grid on the boat/period and creates the order lines. When it finishes you go back to the order view with a message like “{n} line(s) generated, {m} skipped (not applicable / out of range).”; if you updated existing lines, “{n} existing line(s) brought up to date with the new boat data.”
Each line created has: quantity, net unit price, VAT and totals; the description is the grid's Description template, if set, otherwise the product's dynamic description. If the grid's prices were VAT included, the system splits out the VAT: the line always stores net and VAT separately.
Some grids give not an amount but a wording (for example “Final account” or “Quote to follow”). In the preview the row shows the wording in place of price, VAT and totals; on the order the line goes in at zero and the quote prints the wording instead of the amount. On contracts this feature does not exist.
The generated lines are normal order lines: after generation you can add, remove or edit them freely. The detailed pricelist only speeds up the first draft.
Why some services are “skipped”
A selected grid is skipped (no line created) when:
its applicability is not met for that boat;
the boat falls outside the bands of the scale;
no column matches the boat, or the cell has no value;
the grid is “Incomplete”.
It is not an error. The final message tells you how many lines were generated and how many skipped. To understand exactly why, use the “Test with a sample boat” function on that grid with that boat's data.
When you come back to the page you find the snapshot of the boat data already saved for that order. If in the meantime the boat record has changed, the page says so (“The boat record has changed since these values were taken: …”): press Reload from the boat to bring back the current values. Nothing is saved until you generate.
