Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

S0022: [Microsoft][ODBC SQL Server Driver][SQL Server]Invalid column name 'PeriodID'.

(0) ShareShare
ReportReport
Posted on by 35

A client received the following error when selecting a default company in FRx:

Error 40002

S0022: [Microsoft][ODBC SQL Server Driver][SQL Server]Invalid column name 'PeriodID'.

(This error occured while populating the frl_year_ctrl table in the GLX database)

 

**Once this error was received, FRx reports were unable to be generated for any company and the same error message was received.

The Solution:

The original default company in FRx that caused this error, did not have the current Fiscal Periods setup and calculated. Once setting up and calculating the current Fiscal Periods, FRx was able to build the GL Index and generate reports without error.

*This post is locked for comments

  • Suggested answer
    Biser Marinov Profile Picture
    30 on at
    RE: S0022: [Microsoft][ODBC SQL Server Driver][SQL Server]Invalid column name 'PeriodID'.

    You will get the same error if for a company that is reported on, all the periods for a reporting year are closed, so keep at least one open

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
Almas Mahfooz Profile Picture

Almas Mahfooz 3 User Group Leader

Featured topics

Product updates

Dynamics 365 release plans