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)

Get Vendor account for a LedgerJournalTrans record

(0) ShareShare
ReportReport
Posted on by 2,470

Hi

I am looking to get the vendor for the line items of an NPO - I don't see any reference in the LedgerJournalTrans table - and in the Invoice Journal screen - using the "Personalize" option I see that vendor is "LedgerJournalTrans(LedgerJournalTrans).LedgerDimension" - but I don't understand that - I think that might be related to the dropdown?

Thanks

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Denis Macchinetti Profile Picture
    16,444 on at

    Hi

    The Vendor is store on LedgerDimension field as Recid.

    On LedgerJournalTrans Table, you can use the "accountDisplay" method or "accountNameFind" for the description.

  • Suggested answer
    Amir Nazim Profile Picture
    5,994 on at

    VendTable::find(DimensionStorage::ledgerDimension2AccountNum(_dimensionDynamicAccount))
    _dimensionDynamicAccount is the ledgerdimension recid

  • Suggested answer
    Christiaan Profile Picture
    380 on at

    Journal lines use dimension values.

    To convert dimension records use the DimensionStorage Class methods. for example:

    find the Vendor AccountNum corresponding to ledgerdimension (recid) = DimensionStorage::ledgerDimension2AccountNum(LedgerDimension)

  • Suggested answer
    Community Member Profile Picture
    on at

    to get account number for vendor or customer or etc use LedgerJournalTrans.accountDisply().

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!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Joris dG Profile Picture

Joris dG 5

#2
Alexey Lekanov Profile Picture

Alexey Lekanov 2

#2
Henrik Nordlöf Profile Picture

Henrik Nordlöf 2 User Group Leader

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans