#10213 Bug 8845 Old Prices Calculated in Req. Worksheet
When other fields on a Requisition Line are validated, Order Date is no longer set to a date before the work date, so prices are calculated correctly. Starting Date is now only updated through validation, so validating Order Date from code no longer sets it directly.
- 10files
- 2AL files
- 1objects
Pull request · merged into main (BC30) on 2026-09-24 by Dan-Karlsson (community contribution) · 10 files (+158 -62), 2 AL · fix · tier official · reviewed (checked by Opus)
What changed
- Validating other Requisition Line fields no longer sets Order Date earlier than the work date
- Fixes outdated prices calculated in the requisition worksheet
- Starting Date is only set through validation, keeping Starting Date-Time in sync
- New test in SCMPlanReqWksht and existing tests adjusted that relied on past order dates
- Behaviour changes for users or extensions.
AL objects touched
- Table 246 “Requisition Line”, Base Application: modified
src/Layers/IT/BaseApp/Inventory/Requisition/RequisitionLine.Table.al: modified, not in the BC30 snapshot
Context
- Fixes: #8845 [Bug]: Old Prices Calculated in Req. Worksheet (closed)
- Work items: AB#634061
- Labels: ADO: Sync, From Fork, Team: SCM
- Systems: inventory
- From the description: “Does not set Order Date in Requisition Line to an older date than workdate when validating other fields, to make the price calculations correct.”
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).