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)

Error assigning users access in Analytical Accounting

(0) ShareShare
ReportReport
Posted on by 214

Hey

I hope someone can help? we have a client on Dynamics GP 2016 R2 they have upgraded from 2010 and now when they go into Admin > Setup > Analytical accounting > User Access and  choose the Trn Dimension and Trn Dimension Code then add a user and when they save the get the following error:

A get/change next operation on table "aaUserAccessToCodesSetup" failed. A record was already locked.

I have ran a SQL trace and nothing seems to be coming up that will point to what the issue is.

I have also got the dexsql log and there are a couple of errors showing 'Cannot insert duplicate key' and 'Cannot drop the procedure because it does not exist or you do not have permissions'

if you close the window and click ok on the message it does save the changes you have made but it comes up every time.

I have ran a check links on the GL and analytical accounting but there isn't anything for AA setup just transactional data.

I also cleared the dex_session, dex_lock, activity, SY00800 and SY00801 tables and still get the same error

Can anyone help?

*This post is locked for comments

I have the same question (0)
  • Lynn Knowles Profile Picture
    on at

    Hi Laura

    Have you been able to resolve this as I have a client with the same issue, also running GP 2016.

    Many Thanks

    Lynn

  • Verified answer
    Laura Bowie Profile Picture
    214 on at

    Hi Lynn

    I was given some great advise from Jeff Banks on the Partner Network who advised this can happen if there are blank User IDs in the AAG02000 table.

    He advised to run the following script to identify them:

    SELECT * FROM AAG02000 WHERE USERID = ''

    I would then make sure you have a backup of the company database and run the following script to remove:

    DELETE FROM AAG02000 WHERE USERID = ''

    Hope this helps

    Laura

  • Community Member Profile Picture
    on at

    A new feature in GP2016 *might* be applicable. If you upgraded from previous versions of GP this Checkbox is Checked. It may be preventing your ability to provide access.

    6180.screenprintAA_2E00_.PNG

    community.dynamics.com/.../mdgp2016-aa-user-access

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