This example illustrates an older approach to create master-detail documents with the RichEditDocumentServer, by using the DOCVARIABLE field.
To learn about a newer and more convenient approach to master-detail mail merge, refer to How to automatically create mail-merge documents using the Snap Document Server.
This project uses a three-level Supplier-Product-OrderDetail hierarchical data source that implements the ITypedList interface. The data source implementation is described in the following example: E137: How to create a hierarchical master-detail datasource. Because the GridControl supports displaying hierarchical data sources in the most natural manner, it is used to preview data.
The application screenshot is shown below.