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 to get InventSiteId from LedgerJournalTable/LedgerJournalTrans?

(0) ShareShare
ReportReport
Posted on by

Hi All,

I need to print inventsiteId and name on my report. but there is no sign of any relation with inventsite table. I have tried with custtrans followed by custtable but that was no use. LedgerJournalTable and LedgerJournalTrans are my Data Source.

Please help me with this.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    startax Profile Picture
    1,845 on at

    Hi,

    You can use these method

    LedgerJournalTrans.getCustTable()

    LedgerJournalTrans.getVendTable()

    Or

    Check Relation you will get custTrans and VendTrans Table relation.

  • Community Member Profile Picture
    on at

    i tried this one but no use.

    any thing apart from that

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

    Hi,

    As Dinkar responded, you can get CustTable and CustTable.Inventlocation =  InventLocation.InventLocationId, so you will get an invetLocationId for the actual customer. Is that what you need?

  • Community Member Profile Picture
    on at

    @ Sukrut The requirement is to print Site Name on the top and Report is Customer Receipt.

  • Community Member Profile Picture
    on at

    In that i have checked that method and gone through the method. i am getting ledger type instead of Cust in the records. how can i get it it is the question. i have tried almost everything what i know? please help me with this

  • Community Member Profile Picture
    on at

    Customer Payment Receipt is the report that i am developing

  • Community Member Profile Picture
    on at

    Scenario can be against invoice customer payment and against the customer only.

    That is the main thing. As per business policy there would not be the scenario for multiple lines. One customer and one line of payment.

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 April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 44

#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