Skip to main content

Notifications

Community site session details

Community site session details

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

Opening a page with SetTableView for a filtered subset

(1) ShareShare
ReportReport
Posted on by 385
Using the latest BC 365 SaaS version. I have a cue page that displays a tile for the current user's open purchase order count, among other things. I am filtering purchase orders that have the current user listed as the purchaser code, and iterating through the purchase lines to only capture those purchase orders that have remaining quantities to receive. Since that purchase line iteration is out of scope for basic purchase header filtering, I am inserting any matching records into a temporary purchase header table. The temporary purchase header table's record count correctly appears as the tile's document count. But when I drill down into this same temporary table to bring up the purchase order list, all hundreds of purchase orders appear. I'll include screen shots below.
 
Any suggestions as to what could be happening? Like I said, the document count based on this same temporary purchase header table is correct. There are 14 open PO's. Not the hundreds that appear when I drill down. That's what's puzzling me. :)
 
//
//
 
// 
  • Verified answer
    Greg Kujawa Profile Picture
    385 on at
    Opening a page with SetTableView for a filtered subset
    I didn't initially see the Completely Received boolean field in the purchase header. Especially good, since I understand that you cannot SetTableView on a temporary table, as I was originally trying. All good now!

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

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

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 1,452

#2
YUN ZHU Profile Picture

YUN ZHU 1,313 Super User 2025 Season 1

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 1,083 Most Valuable Professional

Featured topics

Product updates

Dynamics 365 release plans