code change · performanceAL Developmentofficial - Microsoftreviewed - checked by Opus

#11822 Added missing indexes for GP historical snapshot

Added missing indexes to three GP historical snapshot staging tables to improve query performance during data migration.

Pull request · merged into main (BC30) on 2026-09-30 by jaymckinney-enavate (community contribution) · 3 files (+9 -0), 3 AL · performance · tier official · reviewed (checked by Opus)

What changed

  • New index on CUSTNMBR, APTODCTY, APTODCNM added to GP RM20201 and GP RM30201
  • New index on IVDOCTYP, DOCNUMBR, LNSEQNBR added to GPIVSerialLotNumberHist
  • Only key definitions added; no logic changes
  • Affects HybridGP historical snapshot staging tables

AL objects touched

Context

Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).