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)

Infolog Show - Posted General Journal

(0) ShareShare
ReportReport
Posted on by

For the infolog, you can have a 'show' button which allows a user to drill down to a document. In my case I'm opening a General journal batch. The problem is when the General journal form first opens, only open journals will be shown so if the journal is posted the user must manually change the Show option to All.

Take the following job example and you will see the behavior I'm referring to (change '000410_010' to a posted journal):

LedgerJournalTable ledgerJournalTable = LedgerJournalTable::find('000410_010');

info('Test message', '', SysInfoAction_TableField::newBuffer(ledgerJournalTable));

I had the same issue when the journal is on the form, but overriding the jumpRef() method solved that. I'm hoping the fix is just as easy for the infolog.

Not a big deal as it's just an extra step for the user, but it would be nice if there was a solution for this. Any ideas?

Thanks,

Nehal

*This post is locked for comments

I have the same question (0)
  • Ihab Barghout Profile Picture
    605 on at

    Dear Nehal,

    If you have access and privileges to customize the LedgerJournalTable Form adding the below script at the end of the init method of the form will solve it.

    if(!element.args().menuItemName() && element.args().caller() == null)

       {

           AllOpenPostedField.selection(AllOpenPosted::All);

           journalFormTable.designSelectionChangeAllOpenPosted();

       }

    Regards,

    Ihab

  • Verified answer
    Nehal Mistry Profile Picture
    on at

    I found a way without having to customize the LedgerJournalTrans form. The only difference is the button label on the infolog will be 'General Journal' instead of 'Show', which is fine by me. Please see the code below:

    LedgerJournalTable ledgerJournalTable = LedgerJournalTable::find('000410_010');
    SysInfoAction_MenuFunction menuFunction = SysInfoAction_MenuFunction::newMenuItem('LedgerJournalTable3', MenuItemType::Display);
    menuFunction.parmCallerBuffer(ledgerJournalTable);
    info('Test message', '', menuFunction);

  • Suggested answer
    Community Member Profile Picture
    on at

    To change the description of the button, We must use the parmDescription() Method, like the following,

    SysInfoAction_MenuFunction menuFunction;

    menuFunction = SysInfoAction_MenuFunction::newMenuItem('InventJournalTableTransfer', MenuItemType::Display);
    menuFunction.parmCallerBuffer(inventJournalTable);
    menuFunction.parmDescription('Show');
    info(strFmt('Custom Invoice Journal created: %1', inventJournalTable.JournalId), '', menuFunction);

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