Vitreo Help

How every part of Vitreo works, in short pages

\ERP\ERP Templates

ERP Templates

An ERP template is the definition of one ERP file: which records, which fields, which file name, where it goes. Make one template per file your ERP system imports, for example one for the item list and one for the BOM lines.

You manage the templates under Template at the top of the ERP Tools pane. The drop-down list shows the template in use. Everything else in the pane belongs to that template.

Template buttons

Button What it does
New New template starts a template with four fields: Number, Description, Type and Quantity. Duplicate current template copies the current template with all its fields and settings.
Rename Gives the current template another name. Nothing else changes.
Delete Removes the current template from the list. Files you exported stay where they are.
Examples Adds a ready template, or saves example template files. See below.
Import Adds a template from a .vitreo-erp.json file and makes it active.
Export Saves the current template as one .vitreo-erp.json file.

Examples

Click Examples and choose:

  • Add "Item list (CSV)": one line per unique item with number, description, type, material, quantity and configuration.
  • Add "BOM lines (CSV)": one line per parent and child, with the quantity in that parent.
  • Add "Structure (JSON)": the assemblies with their components nested.
  • Save example template files...: writes an XML, a JSON and a CSV example file and a README into a folder you choose. Use them as a start for your own template file.

A ready template is added to the list and made active. Your current template stays as it is.

Share a template

Click Export to save the template as one file, for example My ERP.vitreo-erp.json. Send it to a colleague or keep it with your ERP import specification. On the other PC, click Import, or drop the file on Vitreo.

Good to know

  • Template names must be unique. Upper and lower case do not matter.
  • The last template cannot be deleted. There is always one.
  • ERP templates are the same in all projects.
  • An imported template with a name that is already used gets (2) behind its name.
  • Import refuses a file that is not an ERP template made with Export, such as an XML template file.