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)

how can i get bank account number any relation between bankaccounttable and ledgerjournaltrans table?

(0) ShareShare
ReportReport
Posted on by 327

hi all,

 i am passing journal number as parameter in my report for that journal number i am doing payment form some bank account that account number  presented in bankaccounttable.i have seen one relation between both tables

"ledgerjournaltrans.paymentaccount==bankaccounttable.accountid"

this relation is not working any onother way to get bankacccount number from journal number

here is the path:Accountspayble->journals->payments->payment journal

thanks in advance....

*This post is locked for comments

I have the same question (0)
  • Verified answer
    DavidGunawan Profile Picture
    1,381 on at

    Hi Karthik,

    For AP payment Journal, the bank account is recorded in LedgerJournalTrans.OffsetLedgerDimension. However, this field doesn't direct relation with BankAccountTable. You need to look into DimensionAttributeValueCombination table (DimensionAttributeValueCombination.RecId = LedgerJournalTrans.OffsetLedgerDimension) then use DimensionAttributeValueCombination.DisplayValue to look into BankAccountTable.

    2017_5F00_06_5F00_07_5F00_18_5F00_23_5F00_35_5F00_BritishClub_5F00_1_5F00_AX2012R3_5F00_Demo_5F00_BritishClub_5F00_D2_5F00_3149df91a23eccbc.cloudapp.net_5F00_55744.png

    Best regards,

  • karthik143 Profile Picture
    327 on at

    hi devid thanks for reply,this is working for me

    bankAccountTable = BankAccountTable::findByLedgerDimension(LedgerJournalTrans.OffsetLedgerDimension);

  • DavidGunawan Profile Picture
    1,381 on at

    If you don't mind please mark as verified. Thank you

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 39

#2
Michel ROY Profile Picture

Michel ROY 14

#3
imran ul haq Profile Picture

imran ul haq 8

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans