Skip to main content

Notifications

Announcements

No record found.

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
 
  • André Arnaud de Calavon Profile Picture
    294,777 Super User 2025 Season 1 on at
    Adding Customized Fields to Proposed vendor changes workflow
    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?
  • MA-07051407-0 Profile Picture
    41 on at
    Adding Customized Fields to Proposed vendor changes workflow
    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
    294,777 Super User 2025 Season 1 on at
    Adding Customized Fields to Proposed vendor changes workflow
    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?

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

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

#1
Martin Dráb Profile Picture

Martin Dráb 353 Most Valuable Professional

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 276

#3
Jonas "Jones" Melgaard Profile Picture

Jonas "Jones" Melgaard 190 Super User 2025 Season 1

Overall leaderboard

Product updates

Dynamics 365 release plans