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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

Purchase order workflow adds additional actions to process data after review

(1) ShareShare
ReportReport
Posted on by 131
Dear All
We have started the purchase order review process. Now there is a requirement to update the DeliveryDate field of the purchase order when the purchase order review is completed, and the Approval status(DocumentState) changes from in process to Approved. 
I tried to monitor the changes of the DocumentState field in the validateField method of the PurchTable, but it did not work. Please help me, where can I add the relevant code to update this data?
 
Thanks again!
 
dynamics ax 2012 R3
  • André Arnaud de Calavon Profile Picture
    307,704 Super User 2026 Season 2 on at
    Hi Danzel,
     
    Can you clarify about the exact requirement? Should a user update the delivery date after the PO got approved or should the system automatically fill the delivery date upon approval? If so, what is the calculation of that date? 
  • Danzel Zuo Profile Picture
    131 on at
    @André Thanks for your reply.
    After review, the system automatically uses the current date to fill in the delivery date
  • André Arnaud de Calavon Profile Picture
    307,704 Super User 2026 Season 2 on at
    Hi Danzel,

    Thanks for your reply. Can you tell me about your attempts where you mentioned "it did not work"? What coding did you add and what was the actual and expected behavior? Did you get an error?

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 August Top 10 Community Leaders

These are the community rock stars!

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

#1
Martin Dráb Profile Picture

Martin Dráb 511 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 426 Super User 2026 Season 2

#3
CU-1234529-002 Profile Picture

CU-1234529-002 159

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans