The package carries several grids together, in a single .json file: for example from testing to production, or from one marina to another. It has nothing to do with product bundles (the order model: Product bundles): here the package is a file that moves grids. You find it in Settings → Prices lists, products and services → Price grids (detailed pricelist), in the “Import / Export” menu. It is meant for whoever manages the marina's price lists.
1. What it is for
With the single-grid file (Moving a grid between marinas (JSON file)) you have to repeat the operation grid by grid, and then link article, price list and VAT rate by hand. The package instead:
carries many grids in one go;
also carries the articles and price lists the grids use, and can create them where they are missing;
is all or nothing: if something goes wrong, nothing is left half-done;
shows you a preview of what will happen first.
If several grids share the same scale, after the import they still share it.
2. Export a package
Open the “Import / Export” menu, group “JSON: to another environment or marina”, and choose “Export package (JSON)”.
In the window choose what to carry:
“Grids”: pick some grids;
“Price list”: pick a price list to take all its grids;
leave both empty to export them all.
Press “Download the package”.
The file is named something like pricegrids-<marina>-<date>.json. For each grid it contains scale, parameters, columns, formulas and prices, plus the article, price list and VAT rate it uses. Limits: up to 200 grids and 16 MB.
If no grid matches your choice you see “No grid matches the selection: nothing to export.”
3. Import a package
In the destination marina open “Import / Export” → “Import package (JSON)”. In the window choose the file (“Package file (.json)”) and the options:
Option | What it does |
|---|---|
“Preview first: nothing is saved until you confirm” | On by default: you see what the import would do, without saving. |
“Create the articles and price lists that are not here” | On by default: the articles and price lists in the file that do not exist in the marina are created. |
“Enable the grids that are enabled in the file and whose article, price list and VAT rate were found” | Off by default: all the grids arrive disabled. |
Press “Import”. With the preview the “Package preview” page opens (“Preview: nothing has been saved. This is exactly what the import will do.”); to save, press “Import N grids”. Without the preview the import happens straight away and the page is called “Package imported”.
You need the Prices lists → Create permission to import; to export, Prices lists → Read is enough. Permissions are granted in Settings → Users and access → Users and roles → Roles.
4. Read the preview
The page has up to three tables.
Articles and price lists — what happens to each one:
Status | Meaning |
|---|---|
Already here | It is already in the marina with the same name: it is used as it is. |
Will be created | It is not there: the import creates it. |
Not here, not created | It is not there and you are not creating it (you turned the option off): the grid is left without it. |
More than one here: choose on the grid | Several items with that name: the import does not guess, you choose on the grid. |
Scales — New; Already here, identical: reused (an identical scale is already there and is reused); New, renamed: a different scale here has the same name (your scale is not touched).
Grids — for each grid name, scale, cells, what it is linked to and the status: Will be enabled or Will be disabled. In Notes you find the warnings, for example “A grid with this name is already here: importing adds a second one.” (did you import the same package twice?) or “Left disabled: set {list} on the grid, then enable it.”
5. What is matched and what is created
Article, price list and VAT rate are found by name. What is already there is never modified and its prices do not change.
Missing articles and price lists are created only if the option is on; prices are written only for those just created.
VAT rates, categories, accounting accounts, Marina pricelists, contract types and segments are not created: they are looked up in the marina, and if they are missing you find it reported in the notes.
A grid without an article, price list or VAT rate comes in disabled: link it by hand and then enable it.
Test cases, history and the grid's templates do not travel.
6. Which tool to choose
I want to… | Tool |
|---|---|
move several grids, with articles and price lists | the package (this guide) |
move one grid between marinas | |
revise the prices of grids that already exist | Excel export and import: Price revision and export: cross-grid, Excel and PDF |
redo a grid in the same marina | “Duplicate” or a template: Reusable grid templates |
If something goes wrong
Message | What to do |
|---|---|
“Choose a .json file to import.” | Choose the file in the window. |
“The file must be a .json package of price grids.” | You chose a file of another type. |
“This file holds a single grid: import it with "Import grid (JSON)".” | It is a single-grid file, not a package. |
“The package holds more than {n} grids: split it into smaller packages.” | Export in two or more goes. |
“Could not import the file: …” | The file is rejected: the text says why. Nothing was saved. |
