Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

Cannot insert the value NULL into column 'CONTACT' error when clicking on Items List in Navigation Pane

Posted on by 732

Hello everyone!

I'm writing because when I click on the items of the navigation pane, the following error shows up: 'Cannot insert the value NULL into column 'CONTACT', table tempdb.dbo.##0065516, column does not allow nulls. INSERT fails'

I found a post where the explanation of this issue was a bad data in the Vendor ID (VENDORID) column in the Purchasing Receipt History table (POP30300). In summary, if you have a purchasing receipt with a blank vendor ID or a vendor ID that does not exist in the Vendor Master table (PM00200), it will cause the Items list to fail with the error above.

I checked the receipts with no vendor data (used the following SQL statement: SELECT * FROM POP30300 WHERE VENDORID NOT IN (SELECT VENDORID FROM PM00200), but all this receipts are from in transit transfers. So, it's ok not to have vendors information. 

Also, I checked this receipts with SmartList, and they appear with no transaction type, I enclose the print.

Purchase-Receipts-SmartList.JPG

Could anyone help me to solve this error?

*This post is locked for comments

  • Syrus Profile Picture
    Syrus 4,156 on at
    RE: Cannot insert the value NULL into column 'CONTACT' error when clicking on Items List in Navigation Pane

    How about it you reset the temp db or keep on clicking ok? I remember of running a query to fix that issue but somehow can't find it. keep on looking

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,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans