
Dear community,
I read many questions from us consultants as well as some blog posts regarding workflow e-mail approvals. I saw Ludwig's blog regarding using Power automate to have buttons Approve/Reject directly in the email. However nowadays I see flow "Complete Dynamics 365 for Finance and Operations workflow work items (PU29)" in Power automate. I tried to take advantage of this new solution, however I encountered 2 issues:
1) The business event does not carry important invoice header information, such as vendor invoice number, amounts...
2) It does not transfer attachments of course. If we want to approve invoices via emails, approvers want to see the invoice as attachment. This point is solved in Ludwig`s video - OK.
Regarding point 1) I thought I would take advantage of the "Get a record" from VendInvoiceHeaders entity, however in the ObjectID, it requires the legal entity ID - that is OK, BUT it requires the vendor invoice header reference. But this header reference obviously changes every time based on the invoice itself. Do you have solution for this? Thank you, Lukas