Skip to main content

Notifications

Finance forum
Unanswered

Vendor On-Hold

Posted on by 11
I have to add an enum on the On-Hold having functionality of blocking both Invoice and the requisition. I have named by Enum as Invoice & Requisition and it should block a vendor account at the time of invoicing and requisition. I have been debugging the code from very long but could not found the actual area where I would have to add my code by creating an extension. I mainly debugged the post button on the invoice journal to look for the class where the invoices are blocked.
  • Anton Venter Profile Picture
    Anton Venter 18,504 Super User 2024 Season 2 on at
    Vendor On-Hold
    Which classes have you debugged? What criteria applies to vendors to be blocked at time of invoicing and requisition?
  • CU30091054-0 Profile Picture
    CU30091054-0 11 on at
    Vendor On-Hold
    @Andre Arnauld, I have already tried that but still couldn't find the actual place where these statuses are blocked. Can you suggest some other way ? I have even debugged the code but still it did not catches the actual place. 
  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 290,524 Super User 2024 Season 2 on at
    Vendor On-Hold
    Hi,
     
    You can use cross reference tools and metadata search to check the options where the current enumeration is used. Then you might find the standard validation and you can check if you can extend it for the invoices. You can then also check if the same method can be used for the requisition or another method.
  • CU30091054-0 Profile Picture
    CU30091054-0 11 on at
    Vendor On-Hold
    Yes it is D365 F&O, I really forgot to mention it apologies for it. Thank you @martin Drab
  • Martin Dráb Profile Picture
    Martin Dráb 228,493 Most Valuable Professional on at
    Vendor On-Hold
    You asked your question in the D365 general forum a didn't even mention the product you have in mind, but I believe it's F&O, therefore I've moved this thread to the D365 Finance forum. Please let me know if you disagree.

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,524 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,493 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans