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

Looking for an event to merge code done in OnPreReport from Nav

(1) ShareShare
ReportReport
Posted on by 423
Hi,
 
We are currently working on upgrading one of our customers from Nav2018 to BC SaaS.
They have a few modifications in the OnPreReport section of multiple reports.
We are trying to find the proper event subscriber to use to bring in those modifications.
 
1 example is for the Suggest Vendor Payment.
We need to validate that the Bal. account type/no. entered by the user matches the ones specified in the journal batch.
We tried creating a report extension with the trigger OnPreReport, however, we do not have access to the values filled in by the user in the request page, which are needed
Event recorder didn't call anything that I think we can use.
 
We would like to avoid creating a copy of the reports if possible to make sure they get the new features/changes with the updates.
 
Any ideas/suggestions?
 
-Julie
 
  • Gerardo Rentería García Profile Picture
    27,623 Super User 2026 Season 2 on at
    Hi
    As you indicate, you have to evaluate each report and see if it is feasible to extend it or not.
    There are also some other options like this tool.
    BR
    GR
  • YUN ZHU Profile Picture
    104,096 Super User 2026 Season 2 on at
    Hi, Is there any problem with using ReportExtension Object?
     
    Hope this helps.
    Thanks.
    ZHU
  • Juliem Profile Picture
    423 on at
    Hey Zhu, 
     
    the problem is that I do not have access to the variables from the the request page using the OnPreReport trigger in a report extension.
    I need to compare the bal. account type and no. the user entered with the values from the related batch. Unless I'm missing something.
     
    -Julie
  • YUN ZHU Profile Picture
    104,096 Super User 2026 Season 2 on at
    Hi, hope the following can give you some hints.
    Dynamics 365 Business Central: Can we change default options/filters on the request page of Report???
     
    Thanks.
    ZHU

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 665 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 418 Super User 2026 Season 2

#3
Teagen Boll Profile Picture

Teagen Boll 280 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans