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

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?
 
 
I have the same question (0)
  • Suggested answer
    GirishS Profile Picture
    27,825 Moderator on at
    How to locked lookup field in d365fo
    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,825 Moderator on at
    How to locked lookup field in d365fo
    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
    299,846 Super User 2025 Season 2 on at
    How to locked lookup field in d365fo
    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

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