web
You’re offline. This is a read only version of the page.
close
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

Purchase Quote - Filtring Item No. field from Purchase Header customized field

(5) ShareShare
ReportReport
Posted on by 28
In my project, I added a customized field to the Purchase Header table to make it a mandatory field in the Purchase Quote Card. For example, this field is called "Customized Field" and I also added the same field in the Item table. My issue is that when I want to select an Item in the Purchase Card, I want the field to be filtred with the value from "Customized Field" in the header. I cannot use SubPageLink because "Customized Field" is not a primary key in these tables. I tried adding the same field to the Purchase Line table and specifying it as a FlowField. I attempted to use CalcField, but it didn’t work. 
Do you have any suggestions for a solution to this problem? 
Thank you in advance.
I have the same question (0)
  • Suggested answer
    Nitin Verma Profile Picture
    21,708 Moderator on at
    Can you elobrate it more? Or share some screen shot.
  • Gerardo Rentería García Profile Picture
    25,236 Most Valuable Professional on at

    Hi, good day
    I hope this can help you, and give you some hints.Gather user data using the AL data type FilterPageBuilder - Business Central Musings

    Best Regards
    Gerardo

  • Suggested answer
    YUN ZHU Profile Picture
    95,729 Super User 2025 Season 2 on at
    Hi, Use the following method to add a filter at the arrow position.
    More details:

    Or you can use the TableRelation property to do it
    For exmaple,
     
    Hope this helps.
    Thanks.
    ZHU
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    20,603 Super User 2025 Season 2 on at
    You can achieve this by dynamically filtering the "Item No." lookup in the Purchase Quote Card based on the "Customized Field" from the Purchase Header. Since SubPageLink is not an option, you can use the OnLookup trigger in AL.

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,238

#2
YUN ZHU Profile Picture

YUN ZHU 773 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 630

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans