Here's the DEXSQL.log for the non-working machine when I simply clicked "Number" on the Checkbook Register Inquiry window. Clicking "Number" then opened the Bank Transaction Entry Zoom window:
/* Date: 07/31/2015 Time: 13:14:05
stmt(52776288):*/
SELECT TOP 25 CMRECNUM,sRecNum,RCRDSTTS,CHEKBKID,CMTrxNum,CMTrxType,TRXDATE,GLPOSTDT,TRXAMNT,CURNCYID,CMLinkID,paidtorcvdfrom,DSCRIPTN,Recond,RECONUM,ClrdAmt,clearedate,VOIDED,VOIDDATE,VOIDPDATE,VOIDDESC,NOTEINDX,AUDITTRAIL,DEPTYPE,SOURCDOC,SRCDOCTYP,SRCDOCNUM,POSTEDDT,PTDUSRID,MODIFDT,MDFUSRID,USERDEF1,USERDEF2,ORIGAMT,Checkbook_Amount,RATETPID,EXGTBLID,XCHGRATE,EXCHDATE,TIME1,RTCLCMTD,EXPNDATE,CURRNIDX,DECPLCUR,DENXRATE,MCTRXSTT,Xfr_Record_Number,EFTFLAG,DEX_ROW_ID FROM COM.dbo.CM20200 WITH ( NOLOCK) WHERE CHEKBKID = 'PAYROLL-CHK' AND CMTrxNum >= '76564' AND CMTrxNum <= '76564' AND CMRECNUM = 278716.00000 ORDER BY CMRECNUM ASC
/* Date: 07/31/2015 Time: 13:14:05
stmt(52771440):*/
SELECT TOP 25 CMSortType,CMTrxType,DOCTYNAM,DOCABREV,DEX_ROW_ID FROM COM.dbo.CM40101 WITH ( NOLOCK) WHERE CMTrxType = 3 ORDER BY CMTrxType ASC
/* Date: 07/31/2015 Time: 13:14:05
stmt(52776288):*/
SELECT TOP 25 CMRECNUM,sRecNum,RCRDSTTS,CHEKBKID,CMTrxNum,CMTrxType,TRXDATE,GLPOSTDT,TRXAMNT,CURNCYID,CMLinkID,paidtorcvdfrom,DSCRIPTN,Recond,RECONUM,ClrdAmt,clearedate,VOIDED,VOIDDATE,VOIDPDATE,VOIDDESC,NOTEINDX,AUDITTRAIL,DEPTYPE,SOURCDOC,SRCDOCTYP,SRCDOCNUM,POSTEDDT,PTDUSRID,MODIFDT,MDFUSRID,USERDEF1,USERDEF2,ORIGAMT,Checkbook_Amount,RATETPID,EXGTBLID,XCHGRATE,EXCHDATE,TIME1,RTCLCMTD,EXPNDATE,CURRNIDX,DECPLCUR,DENXRATE,MCTRXSTT,Xfr_Record_Number,EFTFLAG,DEX_ROW_ID FROM COM.dbo.CM20200 WITH ( NOLOCK) WHERE CHEKBKID = 'PAYROLL-CHK' AND CMTrxNum >= '76564' AND CMTrxNum <= '76564' AND CHEKBKID = 'PAYROLL-CHK' AND CMTrxNum = '76564' AND CMTrxType = 3 ORDER BY CHEKBKID ASC ,CMTrxNum ASC ,CMTrxType ASC ,DEX_ROW_ID ASC
/* Date: 07/31/2015 Time: 13:14:05
stmt(52807984):*/
{ CALL DYNAMICS.dbo.zDP_SY02100SS_1 ( 2, 2404, 3, 0 ) }
/*
/* Date: 07/31/2015 Time: 13:14:05
SQLSTATE:(S0022) Native Err:(207) stmt(52764168):*/
[Microsoft][SQL Server Native Client 10.0][SQL Server]Invalid column name 'desSPRkmhBBCreh'.*/
/*
/* Date: 07/31/2015 Time: 13:14:05
SQLSTATE:(00000) Native Err:(207) stmt(52764168):*/
*/
/*
/* Date: 07/31/2015 Time: 13:14:05
SQLSTATE:(00000) Native Err:(207) status(41):*/
SWSTATUS DUMP*/
/* Date: 07/31/2015 Time: 13:14:05
stmt(52774672):*/
{ CALL COM.dbo.zDP_ME27601SS_1 ( 'PAYROLL-CHK' ) }
And now here's the DEXSQL.log from the working machine ... it's 24 lines shorter:
/* Date: 07/31/2015 Time: 13:14:56
stmt(12232168):*/
SELECT TOP 25 CMRECNUM,sRecNum,RCRDSTTS,CHEKBKID,CMTrxNum,CMTrxType,TRXDATE,GLPOSTDT,TRXAMNT,CURNCYID,CMLinkID,paidtorcvdfrom,DSCRIPTN,Recond,RECONUM,ClrdAmt,clearedate,VOIDED,VOIDDATE,VOIDPDATE,VOIDDESC,NOTEINDX,AUDITTRAIL,DEPTYPE,SOURCDOC,SRCDOCTYP,SRCDOCNUM,POSTEDDT,PTDUSRID,MODIFDT,MDFUSRID,USERDEF1,USERDEF2,ORIGAMT,Checkbook_Amount,RATETPID,EXGTBLID,XCHGRATE,EXCHDATE,TIME1,RTCLCMTD,EXPNDATE,CURRNIDX,DECPLCUR,DENXRATE,MCTRXSTT,Xfr_Record_Number,EFTFLAG,DEX_ROW_ID FROM COM.dbo.CM20200 WITH ( NOLOCK) WHERE CHEKBKID = 'PAYROLL-CHK' AND CMTrxNum >= '76564' AND CMTrxNum <= '76564' AND CMRECNUM = 278716.00000 ORDER BY CMRECNUM ASC
/* Date: 07/31/2015 Time: 13:14:56
stmt(12232976):*/
SELECT TOP 25 CMSortType,CMTrxType,DOCTYNAM,DOCABREV,DEX_ROW_ID FROM COM.dbo.CM40101 WITH ( NOLOCK) WHERE CMTrxType = 3 ORDER BY CMTrxType ASC
I found this link that explains it might be a security issue, but then again, if the user logs into the Production server, it works fine:
https://community.dynamics.com/gp/f/32/t/105143