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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

How to locked lookup field in d365fo

(0) ShareShare
ReportReport
Posted on by 16
Hi all,
 
Can anyone pls let me know, how we can lock lookup field? 
For example- Suppose
I have 2 lookup fields 
 
InventLocationIdFrom
 
InventLoctionIdTo
 
So, based on InventLocationIdFrom the value is displaying on InventLocationIdTo.
 
For example-
InventLocationIdFrom - 104096
 
InventLocationIdTo - 101107, 22095,134567
 
So, here in Inventlocationidto I like to lock the lookup so that user only can see the values. Nothing more than this. I mean they cant do the clear button to clear at all.
 
Kindly let me know how to acheive this?
 
 
  • Suggested answer
    GirishS Profile Picture
    27,845 Moderator on at
    Hi,
     
    I am assuming you have added the lookup for InventLocationIdTo field and add the ranges to it. In addition to the range add the range status to Locked, so that user cannot clear the ranges and it will hidden from the user.
    Refer to the below blog.
     
    Thanks,
    Girish S.
  • Suggested answer
    GirishS Profile Picture
    27,845 Moderator on at
    One more option will be creating an intermediate table. Insert all the InventLocationIdTo values to that table and build the query based on that table.
     
    Thanks,
    Girish S.
  • André Arnaud de Calavon Profile Picture
    308,171 Super User 2026 Season 2 on at
    Hi,
     
    The InventLocationID is representing a warehouse. Can you tell how these warehouses are linked for valid options? Would it be possible to use sites to separate which warehouses are linked to each other? 

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

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

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287 Super User 2026 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 232 Most Valuable Professional

#3
Aayush Tiwari Profile Picture

Aayush Tiwari 222

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans