code change · fixSustainabilityofficial - Microsoftreviewed - checked by Opus

#10293 [Master] - Bug 641309: [Sustainability][Value Chain] Item Reclassification (location move) uses average emissions instead of Specific carbon tracking (lot/serial)

Item reclassifications now track specific carbon emissions (by lot/serial) instead of using average emissions, and Carbon Tracking Method validation is enforced in all contexts including non-UI operations.

Pull request · merged into main (BC30) on 2026-08-20 by v-rohangarg20 · 5 files (+196 -220), 2 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • Carbon Tracking Method validation now blocks as an error instead of just warning when item lacks serial/lot tracking
  • Validation fires in both UI and non-UI contexts, removing GuiAllowed() guard
  • Sales after location transfers now resolve CO2e from transfer-out counterparts when no sustainability value entry exists for the transfer-in
  • Reclassification transfers properly maintain lot/serial-specific carbon tracking through subsequent sales
  • Behaviour changes for users or extensions.

AL objects touched

Context

  • Work items: AB#641049, AB#641309
  • Labels: AL: Apps (W1), Team: Finance
  • Systems: sustainability
  • From the description: “Sales after reclassification uses average CO2e instead of specific lot CO2e”

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