Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

How to make the grid data have hyperlink to another Form

(0) ShareShare
ReportReport
Posted on by 305

Hello,

I need make the Grid Data have the hyperlink to open the another Form for user reference quickly.

please help and thanks in advance.

please give me step by step way or reference web page.

I try use the field EDT and setup the property about formhelp and referenceTable,

but no work...

I had survey the relation information in google,

That Grid is not List Page.

The Grid is in On-Hand Form, I need when user click the on order Qty field, 

It can link to InventTrans Form and open and filter the field of the on order...That is my necessary.

Thank you.

*This post is locked for comments

  • nmaenpaa Profile Picture
    nmaenpaa 101,156 on at
    RE: How to make the grid data have hyperlink to another Form

    Seems you posted the same question twice (community.dynamics.com/.../318088). Please post only one question about one problem. Let's continue the discussion in the other thread.

  • ATMA-Jen Profile Picture
    ATMA-Jen 305 on at
    RE: How to make the grid data have hyperlink to another Form

    Hello Blue,

    Thanks.

    below is my code that compile is OK.

    but when in running (use mouse that right click the view detail function) get the error message:

    Could not process the lookupRecord value on the Args instance. The table 'InventTrans' does not exist as a root FormDataSource for the form 'InventTrans'.

    ==========================>My code

    public void jumpRef()

    {

       //super();

       Args                        locArgs = new Args();

    //*    DirPartyTable               locDirPartyTable;

       InventTrans                 inventTrans;

       locArgs.caller(this);

       // Find and set buffe

    //*  locDirPartyTable = DirPartyTable::findRec(CustTable::find(SalesTable.CustAccount).Party);

       inventTrans.ItemId  =  InventSum.ItemId;

       // Set record

    //* locArgs.record(locDirPartyTable);

       locArgs.record(inventTrans);

       locArgs.lookupRecord(inventTrans);

       new MenuFunction(menuitemDisplayStr(InventTransItemIdx), MenuItemType::Display).run(locArgs);

    }

  • Blue Wang Profile Picture
    Blue Wang on at
    RE: How to make the grid data have hyperlink to another Form

    Hi ATMA-Jen,

    You can try to override method called jumpRef() .

    please refer: https://ztirom.at/2016/12/ax-2012-override-the-jumpref-method-to-modify-view-details/

    I hope it will help 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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans