RE: Add related order lines to an email template
Hi ringel,
to rearch your goal, proceed as follows:
1) create a N:N relation between salesorderdetail and email
2) add a subgrid into email form pointing to salesorderdetail
3) create a plugin which will fire on email regardingobjectid change
4) if regarding object id is salesorder, then:
4.1) retrieve all salesorderdetail order related object
4.2) associate email to salesorderdetails
5) you are done!
Please, let me know if you solve.
If you found the answer helpful, please mark as Verified
Join my network on LinkedIn Follow me on Twitter
Thank You & Best Regards
Francesco Picchi
Microsoft Dynamics CRM Consultant, Bologna+Milano, ITALY
Independent Contractor
http://www.francescopicchi.com