Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX forum
Unanswered

Purchase order workflow adds additional actions to process data after review

Posted on by 101
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
  • Danzel Zuo Profile Picture
    Danzel Zuo 101 on at
    Purchase order workflow adds additional actions to process data after review
    @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
    André Arnaud de Cal... 287,696 Super User on at
    Purchase order workflow adds additional actions to process data after review
    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? 

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,696 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,490 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans