Who else like me missing the actionable message where you can click on the link that take you to the subject document like in AX2012?
Fortunately, this was released back to FinOps in 2020. I haven't seen a blog post talking about it, so, I thought to make one.
Right into the subject, here is a working code I used when done from creating a purchase requisition:
And the result is a link in my case will open the generated PR like below:
Here is a bonus!
As I am fan of building reusable code I though of wrapping this chunk of code into a simpler call and a more or less satisfying result looked like this:
What's magic behind the wrapper class? Just some simple defaulting logic:
There is the other part where you can provide objects to the message action that you can fetch at the destination, I will cover that in another post soon.
Hope you can start including more actions to your info from now!
*This post is locked for comments