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. |
The assembly
Assembly-100
Bracketx2
Sub-assembly-200x1
Boltx4
Item list
| Item | QtyTotal |
|---|---|
| Assembly-100 | 1 |
| Bracket | 2 |
| Sub-assembly-200 | 1 |
| Bolt | 4 |
BOM lines
| Parent | Child | Qty |
|---|---|---|
| Assembly-100 | Bracket | 2 |
| Assembly-100 | Sub-assembly-200 | 1 |
| Sub-assembly-200 | Bolt | 4 |
Structure
- Assembly-100
- 1 Bracket2
- 2 Sub-assembly-2001
- 2.1 Bolt4
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:
- Click the pencil next to Filters. The Record filters dialog box opens.
- Click + Add filter.
- Pick the property, then type or pick the value.
- 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.