community postAL Developmentcommunity - not Microsoftreviewed - checked by Opus

Business Central 2026 release wave 2 (BC29): Developers can define indexes that span fields from a base table and its table extensions (Table extension keys can now mix both base table fields and extension fields)

Business Central 2026 release wave 2 (BC29) enables developers to define database indexes that span fields from both base tables and their table extensions. Previously, keys could only contain fields from either the base table or the extension, not both, which required workarounds like data duplication or complex joins.

post Dynamics 365 Lab

Yun Zhu · 2026-09-07 · 508 words · about 2 min

"This often forced unnecessary data duplication or heavy SQL joins."

Key points

  • Table extension keys now support mixing base table fields and extension fields in key definitions (KeyFields, SumIndexFields, SqlIndex, IncludedFields)
  • This eliminates previous AL compiler error AL(AL0423) that prevented unified keys across table and extension boundaries
  • Developers can create more efficient database indexes without performance compromises or awkward workarounds
  • Mixed-field indexes improve data modeling efficiency and reduce the need for unnecessary data duplication

Quotes

  • “This often forced unnecessary data duplication or heavy SQL joins.” (Explains the practical pain point that developers faced before this feature was available)

AL objects mentioned

As named in the post. A name that matches one object page by exact type and name links to it; the others stay as named.

No source states these links: they share an object, a model read them, or a person found the same subject.

Context

  • Features: Table extension keys with mixed fields, Index spanning base table and extension fields, KeyFields property, SumIndexFields property, SqlIndex property, IncludedFields property, Index Management, Database index optimization
  • Versions: BC29, 2026 release wave 2

Source: Dynamics 365 Lab - Yun Zhu, community blog. Summary, key points and quotes are derived (CONTENT-NOTICE.md); read the original for the full text.