Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics SL (Archived)

Error In Timecard Approval

(0) ShareShare
ReportReport
Posted on by

I am approving timecard and got the following message for a Timecard

Unable to post PJLABDIS, possible dup key.

Any solution for this.

*This post is locked for comments

  • RE: Error In Timecard Approval

    KB 847959 may provide some help with the error.  

    Unable to post to PJLABDIS, possible dup key. Timecard #999999, Line #999999, Hours Type XXX. in TM.

    Resolution - Check to ensure that the Timecard approval posting did not update PJTRAN.

    CORRECTION STEPS

    1. Open Transaction Detail Inquiry (PA.TDI) in Project Controller  

    2. Select the PROJECT, TASK and ACCOUNT CATEGORY used on the Timcard Transaction.

    3. Input the Period of the Timecard fiscal period to post.

    4. Look for the transaction by Employee and Date.

    5. If the transactions are present in Transaction Detail Inquiry screen the Timecard posted through the system.

    6. The Timecard status will need to be updated to remove the Timecard from the approval screen (TM.TRA)

    The Timecard released properly to the Project Controller and Labor distribution tables however the PJLABHDR.LE_STATUS field is set to A = Approved, C = Completed, or R = Rejected.

    CORRECTION STEPS:

    1. Make a BACKUP of the database that can be restored in case an undesired data loss occurs.

    2. Open Query Analyzer and connect to the appropriate application database.

    3. Run the following statement to update the PJLABHDR table for the timecard document

    UPDATE PJLABHDR SET LE_STATUS = 'P' WHERE DocNbr = 'XXXXXX'

    (where XXXXXX = the appropriate Document Number).

    If the Timecard did not update the Project Controller Module (PJTRAN table)

    CORRECTION STEPS:

    1. Make a BACKUP of the database that can be restored in case an undesired data loss occurs.

    2. Reject the timecard using Time Review and Approval (TM.TRA).

    3. Delete the Timecard that was rejected in step1 in Timecard Entry (TM.TCE).

    4. Open Query Analyzer and connect to the appropriate application database.

    5. Run the following SQL statement to delete the Timecard from the PJLABDIS table:

    DELETE PJLABDIS WHERE DocNbr = 'XXXXXX'

    (where XXXXXX = the appropriate Document Number).

    6. Recreate the Timecard in Timecard Entry (TM.TCE).

  • RE: Error In Timecard Approval

    Stuck with the same error. Any Help will be appreciated.

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…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 231,403 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans