Add column ColumnsAdd
Adds the required columns on import, with the preset value. The values may be different for the 1st and 2nd track.
Example: for a simple (1-track) import
Input data header:
id | name | adress | demand | duration |
To make the import work, you need to add the columns: x; y; from1; to1; sequence:
<ColumnsAdd>
<string>0;x;</string>
<string>0;y;</string>
<string>0;start1;100</string>
<string>0;end1;2300</string>
<string>0;duration;0</string>
<string>0;precedence;2</string>
</ColumnsAdd>
In general:
<string>track;column name;preset value</string>
<string>0;start1;100</string>
<string>0;color;Red</string>
If it is a single-track import, the track will always be set to 0.
In the case of a two-track import, the track has a value of 0 for loading and a value of 100 for unloading.
Example for a two-track import:
For loading:
<ColumnsAdd>
<string>0;x;</string>
</ColumnsAdd>
For unloading:
<ColumnsAdd>
<string>100;x;</string>
</ColumnsAdd>