/type 

Use

This line defines the type of BOM involved. You must include this line – if you do not, you will not be able to process your data. You must specify only one command line for this processing group. If you specify several, an error message will be issued, and the program terminated.

For an overview of all the commands available for changing templates for BOM evaluation, please refer to Changing Templates for BOM Evaluation.

Syntax 1:
[Itemized BOM];%Comment%

[Itemized BOM]:
You can also simply enter 'p' or 'P' instead of ‚itemized BOM‘ – the effect is the same. If you enter anything else, though, this will cause errors, and cause the program to terminate.

p;

Syntax 2:
[Summarized_BOM],#[Total_field]%([Format])%%,...%%,{#[Field]%..#[Field]%%,...%}%;%Comment%

[Summarized BOM]:
You can also simply enter 's' or 'S' instead of "summarized BOM‘ – the effect is the same. If you enter anything else, though, this will cause errors, and cause the program to terminate.

[Total_field]:
A whole number identifying the data field of the data record to be totaled up.

[Format]:
Output format of the total field; you can omit this value (see also the topic Formatting). The format determines the maximum length of the character string that can be output.

,...:
You can now continue to make as many entries of the previous type as required (# [Total_field] % ...([Format]) %).

#[Field]%..#[Field]%

Here, you must specify all fields that are to be tested when two data records are compared.

,...:
You can now continue to make as many entries of the previous type as required (#[Field]%..#[Field]%).

Example 1: s,#3(3.2),#9(3.0),{#4..#9,#11};

Explanation of the example:
You want to create a summarized BOM. The fields to be used for the comparison are the fields "four" through "nine", and the field "eleven". If these fields are the same, a total is formed by adding the records totaled up already to the new data record. The third and ninth field of each data record are totaled up. The results of the calculation are stored in the data record that is to be output, and the totalized data record is removed. This means that the first data record of data records that are the same is used for output. All other data records are totaled up in this first data record.

Example 2: s,#3(3.2),#9(3.0),{#4,#5,#6,#7,#8,#9,#11};

Explanation of the example:
As for example 1 above, but this time all fields to be compared are specified individually. Example 1 is the shorter form.