Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Audit trail code

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello,

I noticed that when am entering journal transaction the trx code is empty.

Also when am posting from bank transaction it  doesn't give it audit trail code and the trx code too is empty.

How can I resolve this issues.

Thank you

*This post is locked for comments

  • Suggested answer
    soma Profile Picture
    soma 24,410 on at
    RE: Audit trail code

    See the below link for correcting the issue 'glpBatchCleanup.  Error occurred attempting select from Batch_Headers'.

    support.microsoft.com/.../860710

    Hope this helps!!!

  • L Vail Profile Picture
    L Vail 65,271 on at
    RE: Audit trail code

    Hi,

    Is this something you can re- create? I would like to see it in action. This is not standard behavior .

    Kind regards,

    Leslie

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Audit trail code

    Thanks for your response.

    But my main issue is that if I post from bank transaction and it create the journal. if I go to journal entry to call up the transaction it tells me that I should go to batch recovery to recover the batch. If I recover the batch the issue is that the source document field is empty.

    I have another issue.

    I just posted a transaction from bank transaction and it gave me an error 'glpBatchCleanup.  Error occurred attempting select from Batch_Headers'

    After which I cant even find the batch.

    Please I really need help.

    Thank you

  • L Vail Profile Picture
    L Vail 65,271 on at
    RE: Audit trail code

    Hi,

    I don't know which field you are referring to as the 'trx code' and I don't think the GL has an 'audit trail code', but let me give this a shot. Looking at the YTD Transaction Open table in GL, here's what we have.

    If you enter a transaction directly in the general ledger

    SOURCDOC SOURCE DOCUMENT

    While this can be changed on the GL transaction entry window, this is typically GJ for transactions that originated on the GL entry window. Bank transaction also come across as GJ. I normally change these

    ORGNTSRC ORIGINATING SOURCE

    Audit trail code of subledger = orgntrc of GL

    ORCTRNUM ORIGINATING CONTROL NUMBER

    when ORGNNTSRC IS 1 THEN ORCTRNUM IS BLANK

    ORDOCNUM ORIGINATING DOCUMENT NUMBER

    DOCUMENT NUMBER OF TEH ORIGINATING TRANSACTION (THE SUBLEDGER)

    ORTRXSRC ORIGINATING TRX SOURCE

    AUDIT TRAIL CODE OF SUBLEDGER

    TRXSORCE TRX (TRANSACTION) SOURCE (AUDIT TRAIL CODE)

    SOURCDOC SOURCE DOCUMENT

    IAJ is CMTRX

    Bank trx check is GJ

    So, the short answer is that you do not have any issues to resolve. If I understand your transactions correctly, the system is working as designed.

    Kind regards,

    Leslie

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

Announcing Our 2025 Season 1 Super Users!

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

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

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,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,309 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans