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

Notifications

Announcements

Community site session details

Community site session details

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

Get the page filters from a SubPageLink

(0) ShareShare
ReportReport
Posted on by 2

I have a page that displays a part containing Customer Ledger Entries.

part(LinkedEntries; "Cust. Ledger Subform")
    {
      Caption = 'Linked Entries';
      ApplicationArea = All;
      SubPageLink = "Customer No." = field("Customer No.");
    }
From within the "Cust. Ledger Subform" page, how can I access the filters ("Customer No.")?

I have the same question (0)
  • Suggested answer
    alaasaad Profile Picture
    120 on at

    create  an action in subpage name it filter

    you can make it like sales lines sub page in sales invoices

    pastedimage1638188278836v2.png

  • Airbird22 Profile Picture
    2 on at

    Thanks Alaa, but I don't see how adding a filter alone will fix the issue?

    I need to be able to read the filter for the subpage from an action on the subpage but cannot seem to get the filter...

  • Inge M. Bruvik Profile Picture
    1,111 Moderator on at

    What is the purpose for reading the filters. Just to display them or what will they be used for?

  • Airbird22 Profile Picture
    2 on at

    I need it to add entries to the subpage but need to know the Customer No. (from the filter set on the subpagelink).

  • Albert Puigvert Bosch Profile Picture
    5 on at

    Yo can get the filter from filter group 4 (Subpagelink)

    rec.FilterGroup(4);

    customerNo := rec.GetFilter("Customer No.");

    Regards,

    Albert

  • Suggested answer
    DAnny3211 Profile Picture
    11,397 on at

    Hi

    can you send a screen shot of your page?

    DAniele

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

News and Announcements

Season of Giving Solutions is Here!

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 1,688

#2
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 784 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 595 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans