Here we define the columns you want displayed in the view result grid.
They may be different search criteria. The tag is used <result-fields> .
Each column in the grid view Result is defined using the tag <field>. structure of the tag is as follows:
Details of tags used:
The field types are used:
Widgets used are:
Example:
<result-fields>
<field name="customer" type="string" />
<field name="company" type="string" />
<field name="product" type="string" />
<field name="date" type="date" />
<field name="value" type="decimal" />
</result-fields>
The first column of the search grid defines the name of the subject of the record found. This makes it easy to visualize the type of line: Order, customer, invoice, ...