---
id: change/bcapps/12469
type: change
title: "#12469 [main] carry out overwrites changed req wksh direct unit cost"
summary: Preserve manually entered direct unit costs in requisition worksheets when carrying out to purchase orders instead of replacing them with active purchase prices.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - codeunit req. wksh.-make order
system: inventory
review:
  state: reviewed
  by: opus
  at: "2026-10-18T00:55:29.182Z"
  flags: []
generated:
  at: "2026-11-25T00:13:20.045Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 10d7f10eb5d4103e11c422f320435e78f71404f9
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/12469
    title: "microsoft/BCApps#12469: [main] carry out overwrites changed req wksh direct unit cost"
    date: "2026-10-16"
    commit: 10d7f10eb5d4103e11c422f320435e78f71404f9
    t: null
    quote: Preserve the requisition line's Direct Unit Cost across Order Date validation.
links:
  learn: []
  objects:
    - object/codeunit/333
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
  related:
    - to: https://learn.microsoft.com/dynamics365/business-central/finance-about-calculating-unit-cost
      title: About unit cost calculation
      label: possibly related
      why: Documents unit cost calculation methods and how direct unit costs are determined in purchase orders.
      by: model
number: 12469
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/12469
kind: pr
base_branch: main
major: "30"
merged_at: "2026-10-16T11:35:42Z"
author: Shikhverma
author_type: User
community_contribution: false
labels:
  - "Team: SCM"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 6
  additions: 166
  deletions: 5
  al: 3
apps:
  - Base Application
objects_touched:
  - key: codeunit/333
    page: codeunit/333
    type: codeunit
    id: 333
    name: Req. Wksh.-Make Order
    app: Base Application
    status: modified
objects_unjoined:
  - path: src/Layers/IT/BaseApp/Inventory/Requisition/ReqWkshMakeOrder.Codeunit.al
    status: modified
    reason: not-in-snapshot
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 652545
systems:
  - inventory
quote: Preserve the requisition line's Direct Unit Cost across Order Date validation.
joined_against:
  major: "30"
  commit: d2abc1d2ceae394331716c8183ef60e1534c2ce0
---

# #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](https://github.com/microsoft/BCApps/pull/12469) · 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

- [Codeunit 333 "Req. Wksh.-Make Order"](../../objects/codeunit/333.md), Base Application: modified
- `src/Layers/IT/BaseApp/Inventory/Requisition/ReqWkshMakeOrder.Codeunit.al`: modified, not in the BC30 snapshot

## 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."

## Possibly related

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

- [About unit cost calculation](https://learn.microsoft.com/dynamics365/business-central/finance-about-calculating-unit-cost) — 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).
