#10225 [Master]-When we run the Order Planning Worksheet by Project, a supply suggestion is created for items that are already received but not invoiced in Purchase Orders, but only after updating Order and Posting Dates on Purchase Order.
Fixes Order Planning Worksheet run by project creating supply suggestions for items already received but not invoiced on purchase orders, which happened after the order and posting dates on the purchase order were updated. The change is in the Get Unplanned Demand codeunit.
- 2files
- 1AL files
- 1objects
Pull request · merged into main (BC30) on 2026-08-14 by neeleshsinghal · 2 files (+88 -16), 1 AL · fix · tier official · reviewed (checked by Opus)
What changed
- Get Unplanned Demand codeunit adjusted
- No supply suggestion for received but not invoiced purchase order items when planning by project
- Issue appeared after updating Order and Posting Dates on the purchase order
- Order planning tests updated
- Behaviour changes for users or extensions.
AL objects touched
- Codeunit 5520 “Get Unplanned Demand”, Base Application: modified
Context
- Work items: AB#646661
- Labels: Team: SCM
- Systems: inventory
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).