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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Ax09 - What database table\field should I use to check for duplicate invoice header entry

(0) ShareShare
ReportReport
Posted on by 2,470

Hi

I want to validate that an invoice hasn't already been inserted into AX (I am using X++ code to insert a PO invoice).

PS Are the DB tables used,  the same for NON PO Invoice as those for PO Invoice (when inserting an invoice header)?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at

    Need more details on this question.

    You should not be inserting a record into VendInvoiceJour on its own.  You should be calling the proper invoicing classes.  For example PurchFormLetter.

    As far as checking for duplicates, you should be able to bounce the PurchId field off of the table but make sure you realize that you can post multiple invoices per PO.

    Best.

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 21

#2
dekion Profile Picture

dekion 4

#2
Virginia99 Profile Picture

Virginia99 4

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans