Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics SL (Archived)

SL 7, SP3 AP Chk Register error 515

Posted on by Microsoft Employee

Client is running SL 7.0, SP3. They have at least 13 years of data in AP. I don't know if they ever ran Delete Detail in the past, but they don't believe they've done so in a long time. The AP Check Register report is standard, un-customized.  Same with the Pre-process stored procedure - standard, un-customized.

If client tries to run a Check Register that includes the years 1999 or 2000, they get the SQL error message below. If the beginning period is in 2001 or later, there's no error.

--------------------------------------------------

SQL Server Message 515

 

 

Cannot insert the value NULL into column ‘Vendor_Name’, table APPDBNAME.dbo.AP03630MC_Wrk’; column does not allow nulls. Insert fails.

Debugging info: dbsqlexec,SqlCompile – ExecuteDbproc 2

Cursor(DefaultCreated) AP03630_pre33

Optional info: AP03630_pre33

--------------------------------------------------

I'm trying to figure out how to resolve this, wondering if anybody has seen this before and might have any ideas?

THanks,

John

*This post is locked for comments

  • Manfy Profile Picture
    Manfy 5 on at
    RE: SL 7, SP3 AP Chk Register error 515

    Thank you. The Script seems to have worked for my environment. My users have confirmed.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: SL 7, SP3 AP Chk Register error 515

    Thanks Carolyn, your script appears to have resolved the problem, but will confirm w/ client tomorrow.

    THanks!

  • Verified answer
    Re: SL 7, SP3 AP Chk Register error 515

    Hi John,

    I believe you are running into bug 16102.  Here is a script to run to work around the bug.  Let me know if this resolves the issue.

    ALTER TABLE AP03630MC_Wrk ALTER COLUMN Vendor_Name CHAR(30) NULL

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,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans