Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Suggested answer

Table relation or lookup with multiple conditions and tables

(1) ShareShare
ReportReport
Posted on by 210
I have a scenario with two tables A and B ,where I have to provide a lookup or table relation of table B in table A but the catch is that only those records should be visible in lookup which are not already present in table A and its posted table , say table C. How can I do it?Is there any other way to achieve this.I tried settableview but Filtering records before trigger onvalidate is not happening. 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 75,848 Super User 2024 Season 2 on at
    Table relation or lookup with multiple conditions and tables
    Hi, I may not fully understand your question, but in the TableRelation property you can specify different tables based on conditions.
     
    Hope this helps.
    Thanks.
    ZHU
  • Suggested answer
    gdrenteria Profile Picture
    gdrenteria 13,057 Most Valuable Professional on at
    Table relation or lookup with multiple conditions and tables

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,711 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,458 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans