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

Notifications

Announcements

No record found.

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
    237,965 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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Martin Dráb Profile Picture

Martin Dráb 551 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 450 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 278 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans