web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

document number value was different between LedgerJournaltrans and generaljournalentry table

(0) ShareShare
ReportReport
Posted on by 1,174

Hi expert,

I use Document number in the General Journal entry. when journal was posted. I saw in the general journal entry table, value in the field document number was different with LedgerJournaltrans table.

why did this can happen ? any suggest ?

thanks before

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Brandon Wiese Profile Picture
    17,788 on at

    I suspect some customization to your system may be responsible.

    In class LedgerJournalCheckPost method postJournal, we can see the ledgerJournalTrans.DocumentNum and ledgerJournalTrans.DocumentDate being supplied directly to LedgerVoucherObject, where it is copied directly to to the GeneralJournalEntry table.

    Can you investigate your customizations?

  • Brandon Wiese Profile Picture
    17,788 on at

    I think part of the issue may be that more than often more than one LedgerJournalTrans record is involved in a given voucher in GenearalJournalEntry, which means the DocumentNumber field could get copied from a different LedgerJournalTrans record that you are comparing it against.  Also some types of ledger journals will have specialized behaviors, i.e. Vendor payment journals, or if an Invoice number is specified then the post process can create invoices (either customer or vendor) and the behavior of DocumentNum can be slightly different.

  • Verified answer
    agus Profile Picture
    1,174 on at

    hi Brandon,

    thanks in advice.

    after investigated, I found 1 Voucher contains various document number in each lines. I thought that the problem was.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans