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 :
Finance | Project Operations, Human Resources, ...
Answered

Receive get/change first operation on table 'GL_Options_TEMP' failed accessing SQL data

(0) ShareShare
ReportReport
Posted on by 6

Hi,

I recently setup a new GP environment with version 18.3.1200 in order to setup a test server. I imported the companies that were in my production server, which is also version 18.3.1200. It appears to work, except for the Trial Balance report. When I go to this report (e.g. from "Financial"),

pastedimage1650934835758v1.png

I get the following error:

pastedimage1650934861639v2.png

It says "a get/change first operation on table 'GL_Options_TEMP' failed accessing SQL data.". When I clock on the View Info button, I get:

pastedimage1650934935812v3.png

It says "Number of results columns doesn't match table definition.". I was wondering if anyone has encountered this problem in the past?

Jason

I have the same question (0)
  • Jason Yeung Profile Picture
    6 on at

    Hi Friedrich,

    Thanks. The server name would be different as I grabbed the report from a different server. Is there a way to check the password that this report uses (and change if necessary)? The rest of GP works, but it's just this report.

    Sincerely,

    Jason

  • Suggested answer
    Derek Albaugh Profile Picture
    on at

    Sometimes, the 'Number of results columns....' message can occur if the dex procedure being called (i.e. zDP_  ......) is setup to expect a structure from the table, in this case the GL70500 table, different than what is actually in the table, for one reason or another.

    That can happen if the table has been upgraded recently with new structure but the dex procs have not, and vice versa.

    You can drop and re-create the dex procs for the GL70500 table, within the SQL Maintenance window, within Dynamics GP.

    Thanks

  • Verified answer
    Beat Bucher  GP Geek  GPUG All Star Profile Picture
    28,058 Moderator on at

    Jason,

    Ignore the replies from members like "Friedrich" or the like.. they are just spammer that try to get their embedded links inserted randomly in the forums here with content that looks like legit, but is just unrelated or garbage.

    Anytime there is a suspicious or hidden link within the reply or at the end, those posts should be reported as spam.

    As for your problem,
    I agree with Derek and it looks like you didn't restore the GP environment in whole.. You said that you "created" a new enviornment, and then "imported" the GP companies... this is exactly what can cause this kind of problems, because if you did not restore also the DYNAMICS (system) database, then your Chart of Account structure might be different as in your production setup and this will cause GP to throw all kinds of messages... 

    When you recreate a TEST-DEV environment, you need to make sure to restore all the Databases, including the DYNAMICS (or your system DB, whatever the name is). 

    PS: you may have to force the GP client to resync the COA structure with your Database definition by setting the DEX.ini value to true (I believe it's called Initial=TRUE and Sychronize=TRUE)

  • Jason Yeung Profile Picture
    6 on at

    Hi Beat Bucher,

    Thanks for the info. I was able to rectify this problem. You were correct that it's related to the installation process. I may have installed different GP modules that were not part of the original installation. I grabbed the GP files from the orignal installation, changed the database connection on the config files and put it in the new environment. It seemed to have fixed the problem.

    Sincerely,

    Jason

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 449 Super User 2025 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 422 Most Valuable Professional

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 239 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans