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

Notifications

Announcements

Community site session details

Community site session details

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

Adding Customized Fields to Proposed vendor changes workflow

(1) ShareShare
ReportReport
Posted on by 41
 
Hi All,
I am working on a requirement where i have some customized fields on vendtable and i am working on the requirement, once these fields data changed
Proposed vendor changes workflow will trigger and changes required approval.
Here are the steps i am following
1 creating extension VendTableChangeProposalField add required enum e.g. currency
2  Writing COC for VendTableChangeProposalFieldEnablement/InitializeAll method and add currency field
3 extension of VendTableChangeProposal table and add Currency field and an enum filed IsChangedCurrency.
4 Create vend change proposal form extension and add a new group for currency, similar to standard functionality
5 Create extension for vendChangePraposal form write the below code in disableDiscardbutton() method and ShowHideGroups() method and COC for button click method
6 Create extension for table VendTableChangeProposal and extend methods like isRedundant() and setFlagForChangedField() and COC to update IsChangedCurrency field
7 Create extension for vendTable form and COC for formcontrolstr currency field modified
8 creating extenion of VendTableChangePraposalApply  initialzedvendfields method 
 
The issue i am facing is, once i am changing the currency field, workflow starts and once all the approvals are done, currency field data is not updating.
Can someone please guide me what am i missing or what can be the possible solution
 
Anyhelp will be highly appreciated..
 
Thanks
 
I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    301,459 Super User 2025 Season 2 on at
    Hi,

    Have you checked using the debugger if your coding in the class AVAVendTableChangeProposalApplyCls_Extension is executed and if the condition is met? Is the field IsChangedCurrency set to true?
  • MA-07051407-0 Profile Picture
    41 on at
    Hi Andre;
    Thanks for the feedback, yeah i tried to debug this class but this class is not hitting at all, even i am returning
    true or false once the data is inserted vendtablechangeproposal.

     
    Thanks
     
     
  • André Arnaud de Calavon Profile Picture
    301,459 Super User 2025 Season 2 on at
    In case your class is not hit, then possibly the build was not complete. You might to build the whole model, not only the project. Also try a database sync. 
    If it is then still not executed, you might need to find another extension point. Does it trigger the standard code that you extended?

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

News and Announcements

Season of Giving Solutions is Here!

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Abhilash Warrier Profile Picture

Abhilash Warrier 732 Super User 2025 Season 2

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 413 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 289 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans