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 ?

  • D365_Wibes Profile Picture
    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
    232,044 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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,280 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,044 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans