web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

how to get for a Workflow Date For PurchPurchaseOrderHeader From WorkflowTrackingSta

(1) ShareShare
ReportReport
Posted on by 405
Hello everyone.
I am new to the X++ language, and I am trying to create a specific logic for a report. I am trying to add 3 fields to the PurchPurchaseOrderHeader table, and these fields should take their values from the WorkflowTrackingStatusTable. What I want to achieve is the approval date for this invoice so that I can store the confirmation date for each employee who approved it.
 
I hope I have explained it well.
 
 
 
Thank you.
I have the same question (0)
  • Martin Dráb Profile Picture
    239,985 Most Valuable Professional on at
    Moved from D365 general forum to the Finance forum, because it's clearly about F&O and not about D365 in general.
     
    The requirement to "store the confirmation date for each employee who approved it" sounds like you need table with 1:N relation to PurchPurchaseOrderHeader instead of putting the information to PurchPurchaseOrderHeader as such.
     
    The class populating PurchPurchaseOrderHeader records (and other tables) is called PurchPurchaseOrderDP.
     
    The relation between WorkflowTrackingStatusTable and PurchTable is implemented through Context* fields on WorkflowTrackingStatusTable.
     
     
  • Suggested answer
    Bharani Preetham Peraka Profile Picture
    3,634 Moderator on at
    You can check workflowLastComment() method in PurchTable.
  • Suggested answer
    Waed Ayyad Profile Picture
    9,212 Super User 2026 Season 1 on at
     
    Do you mean you want to capture the date the 3 managers approved the document?
     
     
     

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.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 463 Super User 2026 Season 1

#2
Subra Profile Picture

Subra 409

#3
Martin Dráb Profile Picture

Martin Dráb 280 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans