code change · fixInventoryofficial - Microsoftreviewed - checked by Opus

#12469 [main] carry out overwrites changed req wksh direct unit cost

Preserve manually entered direct unit costs in requisition worksheets when carrying out to purchase orders instead of replacing them with active purchase prices.

Pull request · merged into main (BC30) on 2026-10-16 by Shikhverma · 6 files (+166 -5), 3 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • Manual Direct Unit Cost values are now kept when requisition lines are converted to purchase orders
  • Root cause was Order Date validation recalculating costs from active price lists
  • Solution preserves the requisition line’s direct unit cost during validation
  • Added regression test confirming manual overrides survive the carry-out process
  • Affects multiple localization layers (IT, NA, W1)
  • Behaviour changes for users or extensions.

AL objects touched

Context

  • Work items: AB#652545
  • Labels: Team: SCM
  • Systems: inventory
  • From the description: “Preserve the requisition line’s Direct Unit Cost across Order Date validation.”

No source states these links: they share an object, a model read them, or a person found the same subject.

  • About unit cost calculation — possibly related: Documents unit cost calculation methods and how direct unit costs are determined in purchase orders. (model-linked)

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