Announcements
No record found.
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
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
Hi,
And there is already standard method to lookup warehouses by siteId, InventLocation::lookupBySiteIdAllTypes.
Hi Vignesh,
To lookup inventLocation by inventSite, Please read these blog:
community.dynamics.com/.../lookup-inventlocation-by-inventsite-on-method-lookup-field-datasource-form-example
https://aristonjavier.wordpress.com/2019/09/25/d365fo-performs-invent-locations-lookup-by-inventsiteid/
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.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Giorgio Bonacorsi 649
André Arnaud de Cal... 447 Super User 2026 Season 1
Syed Haris Shah 242 Super User 2026 Season 1