code change · fixAL Developmentofficial - Microsoftreviewed - checked by Opus

#9365 [SOA] Prevent translated username token and remove dead GetAgent helpers

Sales Order Agent usernames are now prevented from being translated by marking the label as locked, and unused GetAgent overloads and SetAgentDefaults helper are removed from the setup codeunit.

Pull request · merged into main (BC30) on 2026-07-22 by qasimikram · 1 file (+1 -34), 1 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • SalesOrderAgentNameLbl marked as Locked = true to ensure usernames stay consistent across languages
  • Unused GetAgent method overloads removed from SOA setup codeunit
  • SetAgentDefaults helper method removed as dead code
  • Reduces code complexity in the Sales Order Agent setup module
  • Behaviour changes for users or extensions.

AL objects touched

Context

  • Work items: AB#626062
  • Labels: AL: Apps (W1), Team: SCM
  • Systems: development
  • From the description: “mark SalesOrderAgentNameLbl as Locked = true so generated SOA usernames are not translation”

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