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 :
Dynamics 365 Community / Forums / Finance forum / Add new field for Prop...
Finance forum

Add new field for Proposed vendor changes workflow

(0) ShareShare
ReportReport
Posted on by 210

Hi,

Is it possible to add new field in AP->Setup->AP Parameter->General->Vendor Approval.

 

a1.png

 

Thanks

 

  • Suggested answer
    Community Member Profile Picture
    on at

    check if that ENUM is extensible and if yes then can add and map it to field VendTable

  • darshana.parnaik Profile Picture
    210 on at

    ENUM is extensible but that fields is belong to Table- VendTableChangeProposalFieldEnablement , and I am not able to insert record in this table.

  • Suggested answer
    André Arnaud de Calavon Profile Picture
    307,271 Super User 2026 Season 2 on at

    Hi Nikita,

    There is some more work involved. If you go to Visual Studio, you can select the enum VendTableChangeProposalField in the AOT. Then right click and select 'Find references'. You will now get a list with objects where this enum is used. You have to verify all methods and add your field also. Also check from the table VendTableChangeProposalFieldEnablement and classes which starts with VendTableChange for references and see if more needs to be done.

  • kscerri Profile Picture
    10 on at

    After adding the enum to the list and enable it, have you managed to link your added field to the vendTable please?

  • Mr Kenneth Profile Picture
    65 on at

    Hello,

    Nikita, did you find the way to do that? I´m looking to do exactly the same.

    Thanks.

    Kenneth

  • Suggested answer
    kscerri Profile Picture
    10 on at

    Hi Kenneth,

    I have managed to do this, however you will require technical skills to achieve it:

    1. Extend VendTableChangeProposalField BaseEnum and add required field name.

    2. Extend table VendTableChangeProposalFieldEnablement and replicate similar to standard method initializeAll().

    3. Entend table VendTableChangeProposal methods setFlagForChangedField() and isRedundant() similar to standard. You will also need to add display methods here to replicate standard functionalities.

    With those points above you will add the field in the mentioned screen above by Nikita. However you will need to add fields in the VendTable and VendTableChangeProposal tables to reflect the changes during runtime. The code you will need to use to insert/update in VendTableChangeProposal table is:

    VendTableChangeProposal change = VendTableChangeProposal::findOrCreate(vendTable.RecId, true);

    I would advise to enable one of the standard fields, find its references and use call stacks to understand the flow. Once that is understood, you will just need to replicate the functionality similar to standard.

    Regards,

    Kurt

  • Suggested answer
    Mr Kenneth Profile Picture
    65 on at

    Hi Kurt,

    Thanks for all the explanation!, it´s very clear.Yeah I would need some technical support to do this but it´s ok.  I´ll try and come back to confirm that everything works.

    Regards,

    Kenneth

  • NeerajSingh Profile Picture
    87 on at

    Hi Nikita,

    Are you able to get the newely field added?

    Regards

    Neeraj

  • NeerajSingh Profile Picture
    87 on at

    Hi Kurt,

    In the 3rd step, you have mentioned to add display method to replicate standard functionalities. Could you please explain this in detail?

  • NeerajSingh Profile Picture
    87 on at

    Hi Kenneth,

    Is the steps, working for you?

    Regards

    Neeraj

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Finance

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans