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 :
Microsoft Dynamics AX (Archived)

How to make the grid data have hyperlink to another Form

(0) ShareShare
ReportReport
Posted on by 319

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

I have the same question (0)
  • Blue Wang Profile Picture
    on at

    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.

  • ATMA-Jen Profile Picture
    319 on at

    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);

    }

  • nmaenpaa Profile Picture
    101,160 Moderator on at

    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.

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 > 🔒一 Microsoft Dynamics AX (Archived)

#1
Priya_K Profile Picture

Priya_K 4

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#3
Sukrut Parab Profile Picture

Sukrut Parab 2 Moderator

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans