#230 Knowledge: report layouts and dataset contract, query join and grouping defaults
Five knowledge articles were added to cover report layout declaration, report dataset column contracts, and query defaults for joins and grouping that differ from SQL conventions.
- 18files
- 17AL files
- 0objects
Pull request · merged into main on 2026-10-20 by demiliani · 18 files (+529 -3), 17 AL · feature · tier official · reviewed (checked by Opus)
What changed
- New reports should declare layouts in the rendering section instead of the legacy DefaultLayout, RDLCLayout, WordLayout and ExcelLayout properties, which are set to be deprecated
- Report dataset column names are a contract with Excel Data sheets, Word XML parts and user-defined layouts, so renaming or removing them breaks those layouts
- A layout added in a reportextension does not replace the base layout automatically; DefaultRenderingLayout cannot be set there and the layout must be selected
- Query dataitems default to LeftOuterJoin when SqlJoinType is omitted, and every non-aggregated column becomes a group key
- The al-reporting-review and al-query-review skills and the review fixtures were updated to use the new articles
AL objects touched
microsoft/knowledge/query/every-non-aggregated-query-column-is-a-group-key.bad.al: added, not in the BC? snapshot yetmicrosoft/knowledge/query/every-non-aggregated-query-column-is-a-group-key.good.al: added, not in the BC? snapshot yetmicrosoft/knowledge/query/every-non-aggregated-query-column-is-a-group-key.md: added, not in the BC? snapshot yetmicrosoft/knowledge/query/query-dataitems-default-to-left-outer-join.bad.al: added, not in the BC? snapshot yetmicrosoft/knowledge/query/query-dataitems-default-to-left-outer-join.good.al: added, not in the BC? snapshot yetmicrosoft/knowledge/query/query-dataitems-default-to-left-outer-join.md: added, not in the BC? snapshot yetmicrosoft/knowledge/reporting/declare-report-layouts-in-the-rendering-section.bad.al: added, not in the BC? snapshot yetmicrosoft/knowledge/reporting/declare-report-layouts-in-the-rendering-section.good.al: added, not in the BC? snapshot yetmicrosoft/knowledge/reporting/declare-report-layouts-in-the-rendering-section.md: added, not in the BC? snapshot yetmicrosoft/knowledge/reporting/do-not-rename-or-remove-shipped-report-dataset-columns.bad.al: added, not in the BC? snapshot yetmicrosoft/knowledge/reporting/do-not-rename-or-remove-shipped-report-dataset-columns.good.al: added, not in the BC? snapshot yetmicrosoft/knowledge/reporting/do-not-rename-or-remove-shipped-report-dataset-columns.md: added, not in the BC? snapshot yetmicrosoft/knowledge/reporting/reportextension-layouts-are-not-selected-automatically.bad.al: added, not in the BC? snapshot yetmicrosoft/knowledge/reporting/reportextension-layouts-are-not-selected-automatically.good.al: added, not in the BC? snapshot yetmicrosoft/knowledge/reporting/reportextension-layouts-are-not-selected-automatically.md: added, not in the BC? snapshot yetmicrosoft/skills/review/al-query-review.md: modified, not in the BC? snapshotmicrosoft/skills/review/al-reporting-review.md: modified, not in the BC? snapshot
Context
- Systems: reporting, development
- From the description: “Report layout declaration and the report dataset/layout contract had only incidental mentions.”
Source: metadata of a merged pull request in microsoft/BCQuality (bcquality): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).