Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

A save operation on table 'third party' failed accessing SQL data.

(0) ShareShare
ReportReport
Posted on by 350

A customer is running a customization which has a third party table (Extending the SOP Line Details) associated to it. The table is managed by the dexterity customization and has been confirmed to exist in both the Production and Test Copy of the Production Company Database.

THE PROBLEM:

The client is having save operation errors when trying to access the third party table from within a test company when the user does not have user access to the production company database?

We have checked all the usual things like user access, alternate forms security access, security tasks, sql database DynGrp role permissions and user security.

What we have determined.

Client maintains 1 Production Company Database, 1 Test Company Database based on the the Production Company Database, and TWO (Fabrikam).

The customization works fine in the Production Company Database and Fabrikam.

And will work in the Test Company Database, so long as the "user access" is enabled for the Production Company Database.
"But the user is logged into the Test Company Database?"

However, if the user access if turned off for the Production Company Database, the user can no longer save to the customization table within the Test Company Database. Further, I do observe that the data from the third party table is retrieved correctly to the GP alternate window, the error occurs when I change a record in the third party table and attempt to save.

I have never seen this before where user access to one company would affect the operation in another company and hope that someone can shed some light on why this would occur?

I am thinking it may be the test company database, a copy of the production database, could be the problem.
And it has been confirmed that the security tsql scripts were run after restoring the production to the test database and grant was executed as well.

Any help would be appreciated, as I say, been developing for years and have never seen this.

Michael Smith
DTM Systems Corp.

*This post is locked for comments

  • Michael W. Smith Profile Picture
    Michael W. Smith 350 on at
    Re: A save operation on table 'third party' failed accessing SQL data.

    I will confirm  and was thinking the same thing. Any ideas why the third party table which does not contain this field would be affected and why a power user does not get the error. I would not think the Intercompany ID would be related when the power user works.

    Will confirm your suggestion.

  • Dan Liebl Profile Picture
    Dan Liebl 7,320 on at
    Re: A save operation on table 'third party' failed accessing SQL data.

    Have you run the test company script to update the InterID field?   Find the KB of copying the live to test and the script exists in there.   Sounds like that may help.

    Dan Liebl, CMA CPIM | Senior Consultant | OTT,Inc | DLiebl@OTT-inc.com

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,575 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,493 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans