Vitreo Help

How every part of Vitreo works, in short pages

\ERP\Field Mapping

Field Mapping

With field mapping you make a list of fields. Each field has the name your ERP system expects and the Vitreo value that goes in it. Vitreo writes the file itself.

To set up field mapping:

  1. In the ERP Tools pane, under File, click Field mapping. Vitreo builds the file.
  2. Under Format, click CSV, Excel, XML or JSON.
  3. In the ERP design, right-click and choose Add field. Or click the + button in the header.
  4. In Field name in the ERP file, type the name your ERP system expects, for example ItemNumber.
  5. Under Vitreo value, click a token, for example File name. You can add text and separators around it.
  6. Click Save.
The field dialog box
The field dialog box with a field name and a value made of tokens.

The field name

Format The field name becomes
CSV, Excel The column header
XML The element name
JSON The property name

The order of the fields is the order of the columns or elements in the file.

The value

The value is text with tokens. A token is replaced by data of each record, for example {QtyTotal} by the total quantity. Typed text stays as it is, so a fixed value like EA is allowed. Other property... adds a property of the item. Level 0 property... adds a property of the level 0 item. See ERP Tokens for every token.

Field commands

Right-click a field in the ERP design:

Command What it does
Add field Adds a new field after this one.
Edit field Opens the field. Double-click or Enter does the same.
Duplicate Adds a copy named with a 2 behind it.
Move up / Move down Changes the order of the fields.
Remove field Removes the field. Delete does the same.

Important Remove field does not ask first and cannot be undone. Use Export under Template to keep a copy of a finished template.

Good to know

  • A field shown in red holds a token Vitreo does not know. Double-click it to fix it.
  • Hover a field to see its value and the value of the first record.
  • Two fields cannot have the same name.
  • XML and JSON names for the list, the record and the children are set under Options. See File Name, Location and Options.
  • XML and JSON files also get the export date and time, as exported.