code change · fixSales & Receivablesofficial - Microsoftreviewed - checked by Opus

#9374 [master] Contact No. Lookup on Sales Quote returns All Customers instead of related Contacts after Updating to v28.2 - regression.

Fixed a regression in the Contact No. lookup on Sales Quotes that was showing all contacts instead of filtering to only the related customer's contacts.

Pull request · merged into main (BC30) on 2026-07-15 by neeleshsinghal · 16 files (+44 -15), 15 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • Contact lookup on Sales Quote documents now correctly filters to show only contacts related to the selected customer
  • The issue was caused by a condition that excluded Quote document type from contact filtering logic
  • The fix removes the Quote exclusion while preserving the prospect flow for quotes without a customer
  • Same fix applied across all localization layers to ensure consistent behavior
  • Test coverage added to prevent future regressions
  • Behaviour changes for users or extensions.

AL objects touched

  • Table 36 “Sales Header”, Base Application: modified
  • src/Layers/CZ/BaseApp/Sales/Document/SalesHeader.Table.al: modified, not in the BC30 snapshot
  • src/Layers/FI/BaseApp/Sales/Document/SalesHeader.Table.al: modified, not in the BC30 snapshot
  • src/Layers/GB/BaseApp/Sales/Document/SalesHeader.Table.al: modified, not in the BC30 snapshot

Context

  • Work items: AB#642199
  • Labels: Team: SCM
  • Systems: sales
  • From the description: “Contact No. Lookup on Sales Quote returns All Customers instead of related Contacts after Updating to v28.2”

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).