×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Anyone know where the Great Plains user directory is located?

Anyone know where the Great Plains user directory is located?

Anyone know where the Great Plains user directory is located?

(OP)
One of my great plains users encounters a '20666' error upon logining onto a great plains database.  This error indicates conflicting information regarding a 'batch close' in progress.  This database is reporting the user has no batch in progress, and the parameters passed into the stored procedure 'smcleanupbeforelogin' upon user login, indicates the user has a batch open.  DOES ANYONE KNOW WHERE GREAT PLAINS OBTAINS THE USER BATCH INFORMATION FOR A PARTICULAR DATABASE?  I presume the info is located in a Great Plains user directory, but just where is that?

Thanks in Advance,
Mark.

RE: Anyone know where the Great Plains user directory is located?

Hi Mark,

There is batch activity information held in various places in the SQL database.

Get all user to log out of the system and then run the following isql on the tempdb

Delete DEX_LOCK
Delete DEX_SESSION

and run this, these are the record locking files.

then try this

in the Dynamics database run

Delete SY00800

This is the system wide batch activity table.

if they don't work do this in the company database

update SY00500 set BCHSTTUS = 0
update SY00500 set MKDTOPST = 0

This is the company batch header file BCHSTTUS is the Batch Status 0 being editable and MKDTOPST is Marked to post 0 being not marked to post

and run these.

If these don't work or you are not on SQL or don't know how to use ISQL drop me a mail and I'll see what I can do

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close