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

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

Dialog Box creation

(0) ShareShare
ReportReport
Posted on by 535

Hi All,

I want to create a dialog box using classes .In that, I've Site & warehouse field.

In Dialog, If I choose site, warehouse field has to show only already selected site(warehouse).

Kindly let me know, How to achieve it?

Thanks in advance

I have the same question (0)
  • Suggested answer
    nmaenpaa Profile Picture
    101,160 Moderator on at
    RE: Dialog Box creation

    First of all, you need to develop a lookup method that provides you warehouses for selected sites.

    Then you need to attach this lookup method to your warehouse field.

    - If you use a dialog form, you simply override the lookup method of the Warehouse field.

    - If you use Runbase dialog, you can check this discussion on how to override the lookup method: axforum.info/.../showthread.php

    - If you use a SysOperation dialog, you can check this article on how to override the lookup method: https://community.dynamics.com/ax/b/klaasdeforche/posts/ax2012-sysoperation-part-3-sysoperationautomaticuibuilder

  • Suggested answer
    Sergei Minozhenko Profile Picture
    23,093 on at
    RE: Dialog Box creation

    Hi,

    And there is already standard method to lookup warehouses by siteId, InventLocation::lookupBySiteIdAllTypes.

  • Blue Wang Profile Picture
    on at

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…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

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

#2
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 678

#3
Martin Dráb Profile Picture

Martin Dráb 526 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans