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

Filter List Page based on a procedure calculation.

(0) ShareShare
ReportReport
Posted on by 16
Hi BC community,
 
Looking for some advice on how to filter a List page based on a procedure calculation. (main goal is to filter a list for everything that will = 0 for the field i am showing on the page /rdy to ship qty/)
 
field(/rdy to Ship qty/; Rec.CalcOutstandingQty())
                {
                    ApplicationArea = all;
                    Caption = 'rdy to Ship';
                    ToolTip = 'rdy to Ship.';
 
                }
I have a boolean on the page 
 ShowReadytoShip = true then
this doesnt work
  rec.SetRange(CalcOutstandingQty(), 0)
this also doesnt work
  rec.SetRange(/rdy to Ship qty/,0)
 
 
Table extension for the procedure
 procedure CalcOutstandingQty(): Decimal;
    var
        ReservedQty: Decimal;
    begin
        ReservedQty := CalcReservedInvQuantity();
        exit(Rec./Outstanding Quantity/ - ReservedQty);
    end;

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 711 Super User 2026 Season 2

#2
Teagen Boll Profile Picture

Teagen Boll 377 Super User 2026 Season 2

#3
AndrewThomas81 Profile Picture

AndrewThomas81 367 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans