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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

GeneralJournalEntry Table when it gets popuplated,while posting a Customer Free Text

(0) ShareShare
ReportReport
Posted on by

Hi Team,

GeneralJournalEntry  Table has one field called Document Number,I want to populate that field while Posting of Free Text Invoice,

Where whould I write the code,I am not able to find where GeneralJournalEntry Table fields are getting populated.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    István Orosz Profile Picture
    2,137 on at

    Hi,
    You can use the cross reference check to see where is it populated now.

  • Thomas Vogt Poulsen Profile Picture
    345 on at

    These are the cross references that WRITE the field in lines of code.

    But when I need to find that sort of publication I usually turn on debug and put a breakpoint in the table INSERT-method. When the debugger hits the point a backtrack from there to where the field in published with value.

    Reference Path Line Column

    Write \Classes\SubledgerJournalTransferCommand\insertGeneralJournalEntryRelated 153 42

    Write \Classes\LedgerConsolidate\createTotals 114 33

    Write \Classes\AccountingSourceExplorerProcessor\insertSourceDocJournalEntryFiltered 45 9

    Write \Classes\AccountingSourceExplorerProcessor\insertSourceDocJournalEntryUnfiltered 45 9

    Write \Classes\AccountingSourceExplorerProcessor\insertNonSourceDocJournalEntryFiltered 36 9

    Write \Classes\AccountingSourceExplorerProcessor\insertNonSourceDocJournalEntryUnfiltered 36 9

    Write \Data Dictionary\Tables\RPayTaxTransOpen\Methods\documentInfo 35 30

    Write \Classes\ProjCashFlowCalcEngine\getActualCashOutflow 35 28

    Write \Classes\AccountingSourceExplorerProcessor\insertGeneralJournalEntriesFiltered 31 9

    Write \Classes\AccountingSourceExplorerProcessor\insertGeneralJournalEntriesUnfiltered 31 9

    Write \Data Dictionary\Tables\RPayTaxTransOpen\Methods\documentInfo 26 30

    Write \Classes\GBTDataProvider_GL_CN\fillLedgerVoucher 25 30

    Write \Classes\LedgerVoucherObject\parmDocument 18 25

    Write \Classes\LedgerVoucherObject\parmDocumentNumberDefault 4 25

    Write \Classes\LedgerVoucherObject\parmDocumentNumber 3 25

  • Community Member Profile Picture
    on at

    Hi Thomas,

    How did you find this,How can I cross reference for DocumentNumber Field in GeneralJournalEntry Table.

  • Suggested answer
    István Orosz Profile Picture
    2,137 on at

    Hi,

    Go to that DocumentNumber field in GeneralJournalEntry table in AOT, then right click AddIns-CrossReference-Used by. Be sure to have an update cross reference at main menu Tools/CrosReference/Periodic/Update, or you can refresh it from batch outside working hours (community.dynamics.com/.../245705).

    Please refer to this article to understand the process: msdn.microsoft.com/.../aa626961.aspx

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 26

#2
imran ul haq Profile Picture

imran ul haq 8

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 4 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans