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)

Display method in voucher transactions

(0) ShareShare
ReportReport
Posted on by 12

Hi,

I'm using the display method in 'Ledgerjournaltable' to get the workflow submitter name against the journal and i need to include that column in GL-Inquiries-Voucher transactions form so i tried to link 'Journal number' from 'Ledgerentryjournal'(which is DS used in that form) with ledgerjournal table but it fetching the value only for one record and when i checked in 'Ledgerentryjournal' table the journal number is present only one time but voucher transactions showing two records i.e.the journal has been posted with two ledger accounts (debit and credit).so how can we fetch the display value for all voucher transactions against the journal ?

*This post is locked for comments

I have the same question (0)
  • VV-22040800-0 Profile Picture
    12 on at

    Hi,

    Any input for the above issue ?

  • VV-22040800-0 Profile Picture
    12 on at

    Hi 

    i'm using the below code for relation,can you guide how to change this to loop through all debit and credit transactions against the journal voucher transactions

    select LedgerAccount from generalJournalAccountEntry join generalJournalEntry where generalJournalAccountEntry.GeneralJournalEntry==generalJournalEntry.RecId
    join RecId,JournalNumber from ledgerentryjournal where ledgerentryjournal.RecId==generalJournalEntry.LedgerEntryJournal join JournalNum from ledgerjournaltable where ledgerjournaltable.JournalNum==ledgerentryjournal.JournalNumber;

  • Suggested answer
    Sukrut Parab Profile Picture
    71,735 Moderator on at

    Look at this old thread wchich shows  how you can join ledgerjournaltrans to generalJournalAccountentry. Use it as a reference and modify query according to your need.

    community.dynamics.com/.../145749

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
Joris dG Profile Picture

Joris dG 5

#2
Andrew Jones a1x Profile Picture

Andrew Jones a1x 2

#3
Basit Profile Picture

Basit 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans