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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Table relation or lookup with multiple conditions and tables

(1) ShareShare
ReportReport
Posted on by 236
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. 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
I have the same question (0)
  • Suggested answer
    Gerardo Rentería García Profile Picture
    27,507 Most Valuable Professional on at
  • Suggested answer
    YUN ZHU Profile Picture
    102,476 Super User 2026 Season 1 on at
    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

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

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 707 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 481 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 328 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans