code change · fixSustainabilityofficial - Microsoftreviewed - checked by Opus

#11359 [Master] - Bug 648886: [Sustainability][Value Chain] Transfer Order uses average emissions instead of Specific carbon tracking (lot/serial)

Sustainability posting now correctly tracks specific emissions for lots and serial numbers across transfer orders, preventing the use of average emissions on later sales.

Pull request · merged into main (BC30) on 2026-09-15 by v-rohangarg20 · 2 files (+123 -2), 1 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • Transfer shipment application traversal is restricted to entries with the same Lot No. and Serial No. as the transfer entry
  • Prevents emissions from other lots or serials in the same transfer from being aggregated
  • Later sales of Specific-tracked items use the selected tracking emission instead of an average
  • Added a posting test covering the scenario
  • Behaviour changes for users or extensions.

AL objects touched

Context

  • Work items: AB#648886
  • Labels: AL: Apps (W1), Team: Finance
  • Systems: sustainability
  • From the description: “Restrict the recursive transfer-shipment application traversal to entries with the same Lot No. and Serial No.”

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