web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

Community site session details

Community site session details

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

Getting error on the extension report Order(405)

(0) ShareShare
ReportReport
Posted on by 10
We have created a report extension for the standard Purchase Order report (Report 405).
 
The extension and layout are working perfectly in our Development environment. However, after deploying the same extension to SIT/UAT, we started receiving the following error while running the report:
 
Rendering output for the report failed and the following error occurred:
The Group expression for the grouping ‘Group2’ refers to the field ‘No_PurchHeader’. Report item expressions can only refer to fields within the current dataset scope or, if inside an aggregate, the specified dataset scope. Letters in the names of fields must use the correct case.
From the error message, it seems that the grouping expression in Group2 is referencing the field No_PurchHeader, but the system is not recognizing it within the dataset scope in SIT/UAT.
 
What is confusing is that:
The same extension works correctly in DEV.
If we manually upload/add the layout in SIT/UAT, the report runs without any issue.
 
We would appreciate guidance on:
Why this dataset scope error is occurring only after deployment.
Whether this could be related to dataset synchronization, layout binding, or environment differences.
Any recommended steps to properly deploy report extensions to avoid this issue.
Thank you in advance for your support
image (4).png
I have the same question (0)
  • Suggested answer
    Teagen Boll Profile Picture
    946 Super User 2026 Season 1 on at
    I have seen this error before when the report layout in BC isn't updated. You can try the two below options to potentially fix that error.
     
    1. If this is a custom report layout then you can update the layout to use the new objects by selecting Home > Update Layout
    2. If this is an RDLC or Word layout then you can select under the sub-menu in the ribbon under Layout > Update and export layout
     
    In my experience that fixes that error. You can also try to validate the layout. This process should update the layout to add those new objects.

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!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,185 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,151 Super User 2026 Season 1

#3
Dhiren Nagar Profile Picture

Dhiren Nagar 1,068 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans