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 :
Microsoft Dynamics GP (Archived)

Unable to open new fiscal year

(0) ShareShare
ReportReport
Posted on by

Hello I want to open another fiscal year on GP  but its giving me the following errors.

[Microsoft][SQL Server Native Client 10.0][SQL Server] Violation of PRIMARY KEY constraint "PKSY40100'. Cannot insert  duplicate key in object 'dbo.SY40100'. The duplicate key value is (0,2014, 0,2 Budget Transaction Entry)

Please how can I resolve this issue I need urgent help.

Thank you and God bless

*This post is locked for comments

I have the same question (0)
  • Richard Whaley Profile Picture
    25,195 on at

    What exactly were you doing when this occurred.  It sounds like you were loading a budget.  Opening a fiscal year involves going to the Fiscal Periods window, changing the date to 2014, making sure the dates are correct for each period. and saving this record.

  • Community Member Profile Picture
    on at

    I wasn't doing anything.

    Just the fiscal year window that was opened.

    Thank you

  • Ruth  Ali Profile Picture
    730 on at

    I add my voice to this request. I also tried creating a new fiscal period and got the same error. Am using GP 2013 and would appreciate if anyone has a fix.

    Thanks

  • Richard Wheeler Profile Picture
    75,850 Moderator on at

    So the next fiscal year exists and you are sitting on Tools->Setup->Company->Fiscal Years, Do you then click the Calculate button or just try to exit the window?

  • Bob Callanan Profile Picture
    789 on at

    Same issue for me. I don't see any thing unusual in SY40100 or SY40101 and we've never used Budget transaction entry (tables GL32000 and GL12000 are empty). Also running GP2013

  • Community Member Profile Picture
    on at

    I clicked on calculate. and it gave the error.

    Please help

  • Bob Callanan Profile Picture
    789 on at

    Correct - the fiscal year is getting created properly in SY40100 but no records in SY40101. The fiscal year window is open and the error occurs when you press Calculate. Also, you can not exit the window as it continue to prompt you to recalculate. I tried change the start date and the number of periods to get around it but always come back to the same error. I've run Checklinks against Fiscal Periods with no errors reported.

  • Frank Hamelly | MVP, MCP, CSA Profile Picture
    46,625 Super User 2025 Season 2 on at

    Try running Check Links and Reconcile on the Period Setup tables.  Sounds like possible data corruption in SY40100.

    I opened a new Fiscal Year in my 2013 install and didn't have an issue.

  • Richard Wheeler Profile Picture
    75,850 Moderator on at

    I agree with Frank. Do you have the ability to run SQL Profiler to catch what is happening behind the scenes?

  • Ruth  Ali Profile Picture
    730 on at

    I have run check links with no errors but problem still persists.

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 > 🔒一 Microsoft Dynamics GP (Archived)

#1
mtabor Profile Picture

mtabor 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans