How to show signature image of an SSRS Report based on workflow userid approval - d365fo x++
rajborad, your code won't compile at all and the logic is wrong. You apparently wanted to use a while select statement to iterate all PO-related records in WorkflowStatusTrackingTable (and than check Document field), but it would be very inefficient even if it worked. Instead, you should use ContextTableId and ContextRecId fields.
How to show signature image of an SSRS Report based on workflow userid approval - d365fo x++
Great, when you've identified your problem, we can finally get into solutions. The first step is using a search engine to see if the answer doesn't already exists - and it does. For example, look at Getting Workflow Approvers In Dynamics AX.
How to show signature image of an SSRS Report based on workflow userid approval - d365fo x++
Now you seem to be saying that you're struggling already with getting the user ID. Please tell us more about this particular problem. You're talking about a PO confirmation, therefore you already have the PO on-hand. Is the problem that you don't know how to get the workflow history for the PO?
How to show signature image of an SSRS Report based on workflow userid approval - d365fo x++
As you see, you are unable to make any progress if you want to do everything at once. You need to decompose the requirement to smaller pieces and implement them one by one. If you know at least something about X++ programming (e.g. to find records and use the "if" statement), you should be able to implement some of them, and then you can ask here about the things you don't know.
How to show signature image of an SSRS Report based on workflow userid approval - d365fo x++
i want to get the userid position that accepted the workflow. and if the position is CEO, to print CEO signature, if the position is CFO, to print CFO signature. thats it.
Martin Dráb230,371Most Valuable Professional
on at
How to show signature image of an SSRS Report based on workflow userid approval - d365fo x++
Are you saying that you don't know how to get user's position and that's the information you want to get from us?
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.