Skip to main content

Notifications

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.
  • Vendor On-Hold
    CU30091054-0 and CU14101025-0 I assumed you have debugged the "Blocked" method on VendTable?
     
  • CU14101025-0 Profile Picture
    CU14101025-0 2 on at
    Vendor On-Hold
    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!
  • Anton Venter Profile Picture
    Anton Venter 18,788 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 17 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... 291,359 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 17 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 230,370 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

News and Announcements

Announcing Category Subscriptions!

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,359 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,370 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans