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, ...
Suggested Answer

Lookup on address

(0) ShareShare
ReportReport
Posted on by 12
Form ProjSalesItemReq, Datasource SalesLine, Field DeliveryPostalAddress, method lookupReference()
Is it possible to modify LookupReference() using extensions? How?
The request from customer is that the lookup should be filtered on 'Other address' and 'Sites' by default.
Any ideas how to solve this?
I have the same question (0)
  • Martin Dráb Profile Picture
    238,069 Most Valuable Professional on at
    Moved from D365 general forum to the Finance forum, because it seems to be about F&O and not about D365 in general. Please let me know if you disagree.
  • Layan Jwei Profile Picture
    8,133 Super User 2025 Season 2 on at
    Hi Community User,

    You can do that via event handlers, check this link:
    https://thinkinginax.blogspot.com/2019/03/reference-group-control-lookup-in-d365.html?m=1

    And I think you can do it with CoC, did you try to create an extension class and override the lookupRefernece but it didn't work? please share with us your code.

    Thanks,
    Layan Jweihan
  • Suggested answer
    Waed Ayyad Profile Picture
    9,042 Super User 2025 Season 2 on at
     
    You can follow this link to override LookupReference, it explains Lookup but in this same way you can use it to override your reference group field, you should register lookup field with your override lookup method. 
     
     
     
    Thanks
    Waed Ayyad
    Please mark this answer as "Verified" if it solved your issue. In order to help others who will face a similar issue in the future
     

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 679 Super User 2025 Season 2

#2
André Arnaud de Calavon Profile Picture

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

#3
Martin Dráb Profile Picture

Martin Dráb 264 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans