Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics SL (Archived)

Timecard Correction

(0) ShareShare
ReportReport
Posted on by 790

Good afternoon,

SL 2011 FP1 in a remote desktop environment, Server 2008 R2. Back end is SQL 2008 R2.

Had a user enter a timecard with incorrect time, that got approved and posted. We used timecard correction to open a timecard we could enter the correct time on.

User corrected the time card, and when the supervisor went to approve it, it failed. threw an event log:

System Message 6124: Process started: Mon Jun 24 04:16 P.M.

================================================================================

Processing: Posting Document 0000031022 && Line -32408

System Message 245: [Microsoft][SQL Server Native Client 11.0][SQL

                   Server]Conversion failed when converting the varchar value

                   '000Y020771' to data type int.

 Debugging info: SELECT *

                   FROM PJLABDIS WHERE  docnbr IN (0000031013) AND dl_id01 <>

                   'R' ORDER  BY docnbr, hrs_type, linenbr DESC

                   Cursor(c_PJLABDIS) SELECT * FROM PJLABDIS WHERE  docnbr IN

                   (000003101

 Optional info: SqlState = 22018 NativeError =

                   245 ErrorMsg = [Microsoft][SQL Server Native Client

                   11.0][SQL Server]Conversion failed when converting the

                   varchar value '000Y020771' to data type int. pcbErrorMsg =

                   136

ODBCRowNumber = 1 Column = -1 SSrvrLine = 1

                   SSrvrMsgState = 1 SSrvrSeverity = 16 SSrvrProcname =

                   SSrvrSrvname = DLMS02

System Message 6127: Error occurred during an abortable transaction.  Processing

                    will continue.

================================================================================

================================================================================

Processing: Posting Document 0000031022 && Line -32408

System Message 56: [Microsoft][ODBC Driver Manager] Function sequence error

                  Debugging info: SqlCompile - SQLNumResultCols Failed

                  Cursor(c_PJLABDIS) SELECT * FROM PJLABDIS WHERE  docnbr IN

                  (000003101

 Optional info: SqlState = HY010 NativeError = 0

                  ErrorMsg = [Microsoft][ODBC Driver Manager] Function sequence

                  error pcbErrorMsg = 56

ODBCRowNumber = -1 Column = -1

                  SSrvrLine = 1 SSrvrMsgState = 0 SSrvrSeverity = 0

                  SSrvrProcname =  SSrvrSrvname = DLMS02

System Message 6127: Error occurred during an abortable transaction.  Processing

                    will continue.

================================================================================

System Message 6125: Process ended: Mon Jun 24 04:16 P.M.

I rejected the time card with no problem, had the user delete all the lines and re-enter them. Went to approve it and got the same results.

Any ideas?

Thanks,

Chris

*This post is locked for comments

  • Community Member Profile Picture
    on at
    RE: Timecard Correction

    I believe this is bug 25504:  When correcting any timecard. when pjlabdis has a docnbr with an alpha character.  

    This error started in ver 8.01  (sp1) . There is currently no update for it.

    The workaround is:

    Remove the alpha character from any docnbr in pjlabdis.

  • Community Member Profile Picture
    on at
    RE: Timecard Correction

    Do you have the Hotfix number for this bug?

  • Philippe Boulos Profile Picture
    330 on at
    RE: Timecard Correction

    Chris, did you get a bug number or have the scripts they provided?

  • Verified answer
    Chris McCoy Profile Picture
    790 on at
    RE: Timecard Correction

    Well, I opened an incident, turns out there is a bug, got some update statements and now it works again.

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,865 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,723 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans