Welcome Guest |
Join Now!
|
Help
|
Sign in
Site Search:
Home
Profile
Product
Microsoft Dynamics AX
Microsoft Dynamics CRM
Microsoft Dynamics GP
Microsoft Dynamics NAV
Microsoft Dynamics RMS
Microsoft Dynamics SL
Networking
Organization
Resources
CustomerSource
PartnerSource
Marketplace
Microsoft Dynamics
Product Suggestions
Convergence
Microsoft Dynamics GP Home
Blogs
Videos
Forums
Executive Insights
MVP's
Related Communites
Community Home
»
Microsoft Dynamics GP
»
Blogs
»
Microsoft Dynamics GP Learn & Discuss
» cbm checkbook 91 checkbook id 93 is already in use...
Related Content
Tag Cloud
Dexterity Programming
General
GP
GP 2010
GP 2010 R2
GP Administration
GP Functionality
Microsoft Dynamics GP
Resources
SQL
CBM - Checkbook [checkbook id] is already in user by user [username].
Microsoft Dynamics GP Learn & Discuss
A blog by an independent Microsoft Dynamics GP technical consultant, dedicated to learning about and discussing Microsoft Dynamics GP and related concepts.
RSS for Posts
Tweet
CBM - Checkbook [checkbook id] is already in user by user [username].
Anonymous
12 Apr 2010 10:42 PM
Comments
0
I often come across this request from GP Users:
This happens when the User try to reconcile from CBM Reconcile. And once he/she selects the Checkbook which needs to be reconciled.
After some SQL Profiling & Dex Script Log, I found the following:
Cause
:
The table CB100006 contains the User Checkbook Activity records, as and when a User reconciles a Checkbook. This table for some reason is not cleared properly. Sometimes:
1. If you open the form, enter the Checkbook ID and just close it without any activity, this record is not cleared.
2. If you open the form, enter the Checkbook ID and just close GP directly without any activity, this record is stuck.
The above scenarios are faced by me and have not heard of this from any other consultants, so the above need not be recreated consistently.
Resolution
:
I. Consultants must open SQL Management Studio, log on to the Data Server and connect to relevant company DB.
II. Run the following queries against DYNAMICS and the respective companies:
/*
This below queries will delete all stranded and unwanted SQL Sessions.
*/
DELETE
TEMPDB..DEX_LOCK
WHERE
SESSION_ID
NOT IN
(
SELECT
SQLSESID
FROM
DYNAMICS..ACTIVITY)
DELETE
TEMPDB..DEX_SESSION
WHERE
SESSION_ID
NOT IN
(
SELECT
SQLSESID
FROM
DYNAMICS..ACTIVITY)
/*
The below queries will ensure that the respective user, against whom the error message was thrown, would be cleared from GP Application Session(s).
*/
SELECT
*
FROM
DYNAMICS..ACTIVITY
WHERE
USERID = '[username shown in the CBM error message]'
--Ask that user to log off, if this user has logged on for the day.
III. Run the below query to clear the CBM Checkbook Lock:
DELETE
CB100006
WHERE
USERID = '[username shown in the CBM error message]'
That's it. We are good to go with our Checkbook Reconciliation in CBM.
NOTE
: I will be posing another article on CBM Payments Batch Lock Error (which is identical to this error message).
VAIDY
0 Comments
Read the complete post at
http://www.vaidy-dyngp.com/2010/04/cbm-checkbook-checkbook-id-is-already.html
Most Viewed Posts From This Author
Merry Christmas & A Prosperous New Year 2011
Posted by
Vaidy
on
Posted
12-23-2010
0
Comments
Crystal Reports for Visual Studio 2010 (64 Bit) - Don't Rush Till Nov'10
Posted by
Anonymous
on
Posted
6-24-2010
0
Comments
Solution to "File not found: VBA6.DLL" Error Message
Posted by
Anonymous
on
Posted
8-24-2010
0
Comments
Dynamics GP 2010 - Issue in Editing Word Template in MS Word
Posted by
Anonymous
on
Posted
2-5-2010
0
Comments
CRM 4.0 Outlook Client Error Message - There was an error while executing action for this menu item/button.
Posted by
Vaidy
on
Posted
12-5-2010
0
Comments