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...
Suggested Answer

Report for current table

(0) ShareShare
ReportReport
Posted on by 225

We are using Business Central on Prem. I have created a report in VS Code and add it to a table (sales order). But the report allways shows me a different Sales order. But I want to see the actual Sales order on the report without set the filter manually. Who can I achiev this? 

  • Suggested answer
    THE Italian Profile Picture
    Microsoft Employee on at

    You have to add a Request Page and set the RequestFilterFields (e.g. No.). 

    If you want to mimic how a report has to be built in you have to look for report 206 (tailored for RDLC) or 1306 (tailored for Word Layout) depending what are you developing for or targeting your output. 

    If you want to run the report after selecting one record or more record in the field, you have to look for the code in the OnAction in one of the printing actions in sales order list.

    I would better ask your CSP Partner or Reseller to guide you through the basics of the report development, just to have a more organic way how to create and master report developments with AL. 

    A milestone page to bookmark - if this concerns report - is the folllowing

    http://thinkaboutit.be/2017/08/how-do-i-create-a-report-and-layout-in-vscode/

    Steven also deliver very good reporting class and is author of several books about reporting with dynamics NAV (hopefully he could make one also for BC)

  • Suggested answer
    John Ray Patajo Profile Picture
    837 on at

    Hi Ar0x,

    You should have copied the  Standard Sales order first. Then create your own report from there. Also, you might want to check your report lay-out selection. 

    pastedimage1590118657442v1.png

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

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 624 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 440 Super User 2026 Season 2

#3
Teagen Boll Profile Picture

Teagen Boll 244 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans