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...
Answered

Order No field not searchable and filterable

(0) ShareShare
ReportReport
Posted on by 4

Following Situation:

I created a pageextension to make the Order Number field (ID 65) of table Purch. Rcpt. Line (121) visible on the Get Receipt Lines page (5709)

pageextension 50000 "My Get Receipt Lines" extends "Get Receipt Lines"
{
    layout
    {
        moveafter("Document No."; OrderNo)
    }
}
 
In BC I create a new purchase invoice and open the Get Receipt Lines page from there.
I do get all receipts for that vendor, but i am not able to search for the Order Number in the search field
pastedimage1671625330611v1.png
The field is also not filterable.
pastedimage1671625388766v2.png
Any ideas, why this happens?
Using Version 21.2. (SaaS)
Thanks a lot
Björn
I have the same question (0)
  • Suggested answer
    Nitin Verma Profile Picture
    21,794 Moderator on at

    Hi,

    seems that you are using variable on page if yes then you can not search or filter on page variable 

  • Suggested answer
    IB-29041624-0 Profile Picture
    1,165 Moderator on at

    Nitin is right.

    You need to try another approach where you display the order no. as a table field instead of a variable to make it searchable.

    Maybe you can try to create a flowfield instead?

  • Verified answer
    YUN ZHU Profile Picture
    99,968 Super User 2026 Season 1 on at

    Hi, You can display the fields below. This field can be sorted.

    pastedimage1671672801586v1.png

    pastedimage1671672880758v2.png

    pastedimage1671673026249v4.png

    pastedimage1671673019443v3.png

    Hope this helps as well.

    Thanks.

    ZHU

  • Bjoern Waninger Profile Picture
    4 on at

    Thank you all for your replies. That helped me figure out my blockade :-)

    My intention was to use field 65, but did not see, that Get Receipt Lines page has a variable OrderNo (which I used), that is loading the field value.

    Not exactly sure, why Microsoft did it like that and is not directly taking the field from the Record.

    pastedimage1671702709688v1.png

  • Suggested answer
    pankaj.k Profile Picture
    1,020 on at

    Hi Bjoern Waninger

    We can't search with Variables, you need to add field on the page as per Yun Zhu that will helps you for Search with Order Number.

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 March 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,969 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,143 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 688 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans