Hi Richard,
Here are some troubleshooting steps you can try and test in-between: (make a current backup first please.) (steps in no particular order).
1. Stop and restart the SQL server. (refresh the temp tables)
2. Check activity tables. When all users are logged out of GP, all of these tables should be empty: (maybe something locked in the tempdb dex tables)
SELECT * FROM DYNAMICS..ACTIVITY
SELECT * FROM DYNAMICS..SY00800
SELECT * FROM DYNAMICS..SY00801
SELECT * FROM TEMPDB..DEX_LOCK
SELECT * FROM TEMPDB..DEX_SESSION
DELETE DYNAMICS..ACTIVITY
DELETE DYNAMICS..SY00800
DELETE DYNAMICS..SY00801
DELETE TEMPDB..DEX_LOCK
DELETE TEMPDB..DEX_SESSION
**Make a current backup before doing the next steps or do in a test company first (if the issue can be recreated):
3. In GP, go to Microsoft Dynamics GP/Maintenance/ Check links. Under Financial, insert over 'CM Setup' and 'CM Transaction' and click OK. Test again.
4. In GP, go to Microsoft Dynamics GP/Maintenance / SQL. Select the company database. Find 'CM Transaction'. click the bottom two options to drop/recreate the auto procedures. Repeat for the 'CM Transfer' table. If this doesn't work, you can do all 6 options on the right, but you must have backups of these tables so you can insert the data back in when you are done as the data is lost in these tables, or use the PSTL Tookit to recreate these tables, as this tool has the option to 'recreate data for selected table' so you don't lose the data. Using the GP/SQL option, you will have to insert the data back in. You need to have all users out of GP when doing either option.
If any questions or this doesn't work, it would be best to open a support case with Microsoft to get additional assistance.
Thanks,
Cheryl W.
Microsoft Support - Applications