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 :
Finance | Project Operations, Human Resources, ...
Suggested Answer

How to get current screen journal no

(0) ShareShare
ReportReport
Posted on by

how to get current journal no from form  LedgerJournalTransAsset

I have the same question (0)
  • Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hi community1,

    Can you elaborate what you are looking for exactly?

    What journal no are you looking for and what do you try to extract from that no?

    Best regards,

    Ludwig

  • Community Member Profile Picture
    on at

    i have a form in fixed asset module i.e LedgerJournalTable

    in LedgerJournalTable form i have different journal

    when i select any journal and after selecting i go to line button on header

    another child form get open,

    on this child form i have created one button

    now i want the journal no which i selected on parent form

  • Suggested answer
    ergun sahin Profile Picture
    8,826 Moderator on at

    Try element.args().record() (If the dataSource property is full in the button on the caller form and it is the same as the table you want to come, you can get it without any problem.)

    In addition, if the second form you open uses the LedgerJournalTrans table, an automatic relationship will be established via JournalId. You can also look directly at LedgerJournalTrans.JournalId.

  • Suggested answer
    ergun sahin Profile Picture
    8,826 Moderator on at

    Finally, it is possible to find the Trans table from the Asset_Trans you are on by using the following relationship.

    LedgerJournalTrans_Asset.RefRecID == LedgerJournalTrans.RecId

  • Community Member Profile Picture
    on at

    i have parent form and same form having different journal

    if i select any journal and go to line new child form get open having grid here i can create new records

    Now i have added action menu item for the new class to the child form 

    what is want is to get the journalnum which i selected on parent form 

    how to get that on class

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 451 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 428 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 239 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans