I am developing the app where I can create an order after that I can add work and material from another two tables. I would like to get an email with csv that contains all the data related to that order. So also all the data from related tables. Right now, what I can do is just an email with csv with data just from order. Is there a way to include related data from another tables also? In every table I have just one row connected to that specific order.
Thanks for your help guys.