web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

How to open a form with a specific loadId?

(0) ShareShare
ReportReport
Posted on by 843

Hello,

I have created a functionality that, allows you to move load rows between loads or possibly move rows to a completely new load. Everything works OK. I display to the user in the infolog if the operation was successful and to which load the selected rows were moved.
However, I would like that if the rows are moved to a new load, the form with the newly created load opens instead of the infolog.

Is this possible?

Thanks.

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    301,587 Super User 2025 Season 2 on at

    Hi Shooowtek,

    It is possible to open forms and set focus to a particular record. Is your question about AX2012 or Dynamics 365? What is the difficulty you need help with?

  • Shooowtek Profile Picture
    843 on at

    Hi Andre,

    My question is about D365. The difficulty is that I have a value WHSLoadTable.LoadId. After performing the logic, I display the infolog with the loadId. Instead, I would like to open a WHSLoadTable form for the current WHSLoadTable.LoadId.

  • Verified answer
    Shooowtek Profile Picture
    843 on at

    The problem has already been solved.

    Thanks.

            Args args;
            Object formRun;
            args = new Args();
            args.record(WHSLoadTable::find(loadId));
            args.name(formstr(WHSLoadTable));
            formRun = classfactory.formRunClass(args);
            formRun.init();
            formRun.run();
            formRun.wait();

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

News and Announcements

Season of Giving Solutions is Here!

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
Abhilash Warrier Profile Picture

Abhilash Warrier 791 Super User 2025 Season 2

#2
André Arnaud de Calavon Profile Picture

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

#3
Martin Dráb Profile Picture

Martin Dráb 333 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans