Vitreo Help

How every part of Vitreo works, in short pages

\ERP\Records

Records

A record is one line or one element in the ERP file. Under Records in the ERP Tools pane you choose which records Vitreo writes: one per item, one per BOM line, or the whole structure.

Record types

Option One record per Use it for
Item list. One record per unique item Unique part or assembly, however often it is used. {QtyTotal} is the total over the whole structure. The article import of your ERP system. This is the default.
BOM lines. One record per parent/child Parent and child pair. {Qty} is the number in that parent, {ParentFileName} names the parent. The bill of materials import.
Structure. Items with their components nested Level 0 item, with its components inside it, as deep as the structure goes. XML and JSON files that keep the nesting. CSV and Excel write the rows in tree order. Add {Level} or {Position} to see the depth.
Assembly-100 holds 2 brackets and a sub-assembly with 4 bolts. Item list: one record per item with the total. BOM lines: one record per parent and child. Structure: the tree.

For an XML or JSON template file, these three options are hidden. The vitreo-repeat marker in the file decides the records. See Your Own Template File.

Options

Option Default What it does
Skip suppressed components On A suppressed component is not written and not counted.
Skip components excluded from BOM On A component marked Exclude from bill of materials is not written and not counted.
Skip virtual components Off Off: a virtual component is written with the folder of the assembly as its location.
Include drawings Off On: every drawing gets a record too, with {Type} = Drawing.
Skip the level 0 items Off On: the level 0 items are not written, only what is inside them. {Level0:FileName} still names them.
Configurations: As the app setting says Click the row to switch. See below.

Configurations of one file

A part used in two configurations can be two records or one record with the quantities added. Click the row to switch between three states:

Row text Result
Configurations: as the app setting says The Configurations as One Item setting of the flat view decides.
Configurations: always separate items One record per configuration.
Configurations: always one item One record per file.

Pin one of the last two when your ERP system needs the same shape on every PC.

Filters

Filters write only the items where a property has a certain value.

To add a filter:

  1. Click the pencil next to Filters. The Record filters dialog box opens.
  2. Click + Add filter.
  3. Pick the property, then type or pick the value.
  4. Click Save.

Good to know

  • All filters must match. Upper and lower case do not matter.
  • The value must be the whole property value. Material = Steel does not match Stainless Steel.
  • Several values: put a | between them. Material = Steel|Aluminium matches both.
  • A file without the property never matches.
  • An item that does not match is skipped with everything inside it.
  • An assembly ordered as one article keeps its record. Its contents are left out.
  • The same file and configuration twice under one parent is one BOM line, with the quantities added.