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

Announcements

News and Announcements icon
Community site session details

Community site session details

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

Vendor On-Hold

(1) ShareShare
ReportReport
Posted on by 17
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.
I have the same question (0)
  • Martin Dráb Profile Picture
    240,538 Most Valuable Professional on at
    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.
  • CU30091054-0 Profile Picture
    17 on at
    Yes it is D365 F&O, I really forgot to mention it apologies for it. Thank you @martin Drab
  • André Arnaud de Calavon Profile Picture
    306,900 Super User 2026 Season 2 on at
    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
    17 on at
    @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. 
  • Anton Venter Profile Picture
    21,175 Super User 2026 Season 2 on at
    Which classes have you debugged? What criteria applies to vendors to be blocked at time of invoicing and requisition?
  • CU14101025-0 Profile Picture
    2 on at
    To block invoices and requisitions with your enum, focus on the classes related to the invoice journal, particularly methods that handle posting or validation. Consider creating an extension to incorporate your logic there. Debugging with logging statements can also help identify the right integration point. Good luck! Lab reports are not my strong suit, so when I needed help with one of my biology assignments, I turned to academized.com/buy-lab-report-online The lab report they provided was detailed, accurate, and followed the format required by my professor. It was delivered on time, and I was able to submit it without any stress. The service saved me hours of work, and I’ll definitely use them again in the future. Highly recommend for students who need help with lab reports!
  • Jonas "Jones" Melgaard Profile Picture
    5,016 Most Valuable Professional on at
    CU30091054-0 and CU14101025-0 I assumed you have debugged the "Blocked" method on VendTable?
     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

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

#1
Martin Dráb Profile Picture

Martin Dráb 345 Most Valuable Professional

#2
CU10121822-0 Profile Picture

CU10121822-0 304

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 283 Super User 2026 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans