Skip to main content

Generating mooring rates on a contract

Add the mooring lines to a contract from the marina detailed pricelists, with a guided procedure or fully automatic, with a line-by-line preview.

This is the everyday use of the detailed pricelist for mooring: from a contract page you can have the cost lines of the berth/mooring generated from the dated price lists and the seasons. Whoever sets up the pricelist has already defined the rules (see Marina pricelist: seasons and prices): all you do is pick the resources and press a button.

They coexist with the classic methods. The Detailed methods always work, even if the marina calculates rates with the classic price lists: you do not have to change any setting to get started.

The “Add details” menu

Open the contract and scroll down to the “Details” box. At the top right press the green “Add details” button: a dropdown opens, split into two groups.

  • “Classic” — the usual methods: “Manually”, “Automatic by configuration”, “Based on resources”, “Based on vector”.

  • “Detailed” — the two methods that use the detailed pricelist engine: “Guided with wizard” (the step-by-step procedure with preview) and “Fully automatic” (immediate insertion in one click).

Note. The “Detailed” group appears only if the marina has at least one grid linked to a price list shown on contracts, and only for people with the permission to edit contracts (Contracts → Update). If you only use the classic price lists, the section stays hidden.

Guided with wizard

From “Add details” → “Guided with wizard” the “Generate from detailed pricelists” page opens, split into two panels. To go back use “Back to contract”.

“Resources to price” panel — it lists the contract's berths (each with the “berth” label and the linked boat; if there is none you see “(no boat)”). Leave ticked the ones to price, untick the ones to exclude. For each resource you can correct “Length”, “Width”, “Draught / height”, “Surface (m²)”, “Dimension class”, “Vector type”, the propulsion data (“Engines”, “Hp Power”, “Fuel”, “Transmission class”, “Generators”, “Generator 1 (kW)”, “Generator 2 (kW)”) and the “From” / “To” dates.

Important: the changes apply only to this run, unless you tick “Also propagate the edited boat data back to the boat (engines and generators included: the missing records are created, the existing ones aligned)”: a single tick for the whole run.

“Grids to apply” panel — the grids are pills: green = included, grey = excluded. They start green when they match the contract. Narrow down the list with “Filter by contract type” and “Filter by duration” (empty option “(any)”), or tick “Show all grids (ignore the filters and the price lists this contract type is not offered)” to see them all. At the top you can recall a Grid preset (see Grid presets: saving and recalling a selection). If you tick grids with different validity (for example high and low season), each one prices only the days of its own validity. The filters hide or show the pills but do not untick them.

When you have chosen resources and grids, press “Preview” (or “Cancel” to leave): the preview is mandatory, without it nothing is generated.

Preview and line-by-line selection

The preview shows all the lines that would be created, grouped by boat and, below, by grid (with the “VAT” percentage). The columns are “Period”, “Qty”, “Net unit”, “Net total” and “Gross total”.

  • 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 “Net total” / “Gross total” totals update in real time with every tick.

  • Grids that do not apply produce no lines: they appear with the reason (e.g. “not applicable to this boat/contract”, “no price cell matched (band/column)”, “no billable period”).

When the selection is right, press “Generate lines”: only the lines with the pill on (green) are created. When it finishes you go back to the contract with the message “Marina pricelist details added.”

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” (press “Refresh” to recalculate). If nothing is generated, the system says so and suggests checking boat data, grids and period.

Fully automatic

From “Add details” → “Fully automatic” the system inserts directly one line for every berth of the contract, splitting the stay where a Marina pricelist or a grid edition starts or ends: each stretch is priced by the grid valid on those days. Days not covered by any price list are not priced and “Days not covered by any price list” appears, with “Open the marina pricelists”. There is neither a wizard nor a preview. You are only asked for a confirmation:

“Automatically generate marina lines for every berth, using the default grid per resource? Existing lines are kept.”

Confirm and the lines are added, with a summary like “{c} line(s) generated on {r} resource(s) from the detailed pricelists.”

Golden rule: the operation is idempotent. Running it again does not create duplicates and keeps the lines already there. If no resource matches a detailed price list it generates nothing and invites you to use the guided wizard.

From the contract's guided creation

In the Prices step of the guided procedure (Creating a contract with the guided procedure), if the marina has grids on contracts, you find Who chooses the grids. The price list chooses the grid according to the contract type and the rate type (“Grid chosen by the price list: …”). I choose lets you choose the grids to bill (for example, an annual rate that exists in three prices): each grid says how much it bills for this stay, or why it bills nothing; when you tick it, its lines take the place of the price list's choice and the table recalculates at once. When you switch to I choose, you start from the grids chosen by the price list; changing the choice loses the edits made to the lines.

“Why this price?”

Every mooring line generated has the blue Why this berth price? icon, which explains step by step how the rate came about: see Why this price?.

The lines are frozen

The generated lines fix the calculated rate: if you later change the price list, the seasons or the rates, the contract does not change. To realign a contract, delete the lines to reprice and regenerate with Guided with wizard or Fully automatic: regeneration skips the lines that already have the same berth, product and period. To see where an already fixed price comes from use Why this berth price? (Why this price?).


Did this answer your question?