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 :
Small and medium business | Business Central, N...
Suggested Answer

Table relation or lookup with multiple conditions and tables

(1) ShareShare
ReportReport
Posted on by 234
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
    26,509 Most Valuable Professional on at
  • Suggested answer
    YUN ZHU Profile Picture
    100,644 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,995 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,147 Super User 2026 Season 1

#3
AndrewThomas81 Profile Picture

AndrewThomas81 893

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans