Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Answered

Which class or table methods involved in invoice matching validation while submitting workflow in pending vendor invoices?

Posted on by 184

Hello All,

Can some one please let me know, Which class or table methods are involved for Invoice matching validations?

I am tying to complete workflow for a pending vendor invoice and it is ending in error saying "Stopped (error): Invoice quantity is greater than the quantity matched to product receipts"

Hence I want to debug this issue.

Could someone please let me know the class or table methods names involved in validating Invoice matching policies ?

  • D365_Wibes Profile Picture
    D365_Wibes 184 on at
    RE: Which class or table methods involved in invoice matching validation while submitting workflow in pending vendor invoices?

    Hi Martin.

    This is what I exactly.

    And while debugging it is exactly hitting the line.

    Thanks a lot once agai

  • Verified answer
    Martin Dráb Profile Picture
    Martin Dráb 230,235 Most Valuable Professional on at
    RE: Which class or table methods involved in invoice matching validation while submitting workflow in pending vendor invoices?

    You can use label search to find the label and then references to see where it's used. It seems to be in PurchInvoiceJournalPost.checkBeforePostingLine(). It's at line 502 in my version of the application.

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

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 Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans