In-Table Master-Detail in Email Document
Leave feedback
NoteIn this article, we will use GroupDocs.Assembly to generate a In-Table Master-Detail report in Email Document format.
Practicing the following steps you can create In-Table Master-Detail Template in MS Outlook 2013.
- Create a new Email.
- Click the email where you want to add the table.
- Press “Insert” tab to insert the table.
- Insert a 2x4 table.
- Save the template.
As a report developer, you are required to represent the following key requirements:
- Report must be in .eml or .msg format.
- It must add email recipient, css and subject of the email.
- Report must show each manager along with his total contract prices.
- It must also show each individual client within the contract.
- It must show sum of the contract prices.
- It must represent all the information in tabular form.
Manager/Client | Contract Price |
<<foreach [in getManagers()]>><<[getName()]>> | <<[getContracts().sum(c => c.getPrice())]>> |
<<foreach [in getContracts()]>> <<[getClient().getName()]>> | <<[getPrice()]>><</foreach>><</foreach>> |
Total: | <<[getManagers().sum(m => m.getContracts().sum(c => c.getPrice()))]>> |
Please download the sample In-Table Master-Detail document we created in this article:
NoteThe code uses some of the objects defined in: The Business Layer
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.