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 :
Finance | Project Operations, Human Resources, ...
Answered

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

(0) ShareShare
ReportReport
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 ?

I have the same question (0)
  • Verified answer
    Martin Dráb Profile Picture
    239,451 Most Valuable Professional on at

    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.

  • D365_Wibes Profile Picture
    184 on at

    Hi Martin.

    This is what I exactly.

    And while debugging it is exactly hitting the line.

    Thanks a lot once agai

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

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

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 593 Super User 2026 Season 1

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 543

#3
CP04-islander Profile Picture

CP04-islander 430

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans