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)

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

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
Priya_K Profile Picture

Priya_K 4

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#3
Ali Zaidi Profile Picture

Ali Zaidi 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans