Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

Table relation in request page of report

(1) ShareShare
ReportReport
Posted on by 210
I have a report where user has to fill in the type of account say bank,vendor,employee,G/L account etc on the request pge and according to that the table realtion for the next field account no. should be there but I am unable to set it.For setting conditional table relation ,it is not letting me use ACCtype variable,How can i do it or any other approcah for the same that anyone can think of.
 
requestpage
    {
        SaveValues = true;
 
        layout
        {
            area(content)
            {
                group(GroupName)
                {
 
                    field(AccType; AccType)
                    {
                       
                    }
                   
                    field(AccNo;AccNo)
                    {
                        TableRelation = if (acctype = filter(Vendor)) Vendor
                    }
                   
                   
 
                }
            }
  • Suggested answer
    Bilal Haider Profile Picture
    Bilal Haider 232 on at
    Table relation in request page of report
    Hi,
     
    The conditional table relation does not work on report request page. But you can try to use trigger OnAssistEdit and then can open the page based on Account Type.
     
    You can also get the value that user has selected in list.

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,321 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans