Carry out requisition actions through the standard workflow
A requisition/planning line is a pending change to a supply/demand network, not just a template for a purchase line.
- microsoftlayer
- scmdomain
- 2examples
- 2pull requests
Rule on GitHub · microsoft layer · scm · BC all · tier official · derived
Description
A requisition/planning line is a pending change to a supply/demand network, not just a template for a purchase line. Carry-out interprets New, change-quantity, reschedule, and cancel actions, preserves referenced supply and planning flexibility, and moves reservation/tracking ownership before finalizing the proposal. Creating a plausible purchase order and deleting the requisition line can leave new supply unrelated to the demand that caused it.
Best Practice
Requisition batch carry-out initializes "Req. Wksh.-Make Order" with Set and invokes CarryOutBatchAction on the intended accepted lines. Order/posting/receipt defaults are separate from the ending-order-date cutoff, and worksheet/batch/line filters define the selection. A plain Run or a single order-line insertion helper is not a replacement for this batch initialization and finalization.
The standard "Carry Out Action" dispatch handles broader planning output and its configured purchase, transfer, assembly, or manufacturing choices. Each action’s supply change and source-specific reservation transfer precede proposal finalization; not every action creates a new purchase order.
Ordinary manual purchase creation that does not consume planning output is outside this rule. Users may reject or delete unwanted proposals without creating supply; temporary planning simulations, pre-carry-out enrichment, and engine-owned cleanup are also legitimate. Delete(true) on a requisition line is not intrinsically a defect.
The samples select an existing accepted New/Purchase item proposal with sales-demand context. Dates are explicit, the source selection remains bounded, and the clean sample leaves order creation and reservation handoff to the standard workflow; it is not a complete planning-run generator.
See sample: carry-out-requisition-actions-through-the-standard-workflow.good.al.
Anti Pattern
Manually creating or changing supply from a subset of an accepted persistent "Requisition Line", then deleting or marking that proposal handled, skips the standard carry-out/source-reservation handoff. Purchase-field validation and the requisition delete trigger do not first move the proposal’s demand links to the new purchase line.
Deleting an unwanted suggestion or creating an ordinary purchase order without consuming planning output is a separate operation. The standard carry-out engine’s own insert/delete sequence participates in the source handoff rather than replacing it.
See sample: carry-out-requisition-actions-through-the-standard-workflow.bad.al.
References
- Perform planning action messages
- Planning functionality
- Reservation, order tracking, and action messaging
- BaseApp carry-out caller and date defaults
- Batch initialization and selection
- Reservation handoff before supply finalization
Examples
- Good: carry-out-requisition-actions-through-the-standard-workflow.good.al
- Bad: carry-out-requisition-actions-through-the-standard-workflow.bad.al
Names
- codeunit 333 “Req. Wksh.-Make Order” (possibly related: a code span names it)
- codeunit 99000813 “Carry Out Action” (possibly related: a code span names it)
- table 246 “Requisition Line” (possibly related: a code span names it)
Changed by
- #192 Add SCM functional knowledge domain, 2026-09-21
- #57 Add source-verified Finance knowledge and review domain, 2026-09-21
From microsoft/BCQuality at a4593a1, MIT License, Copyright (c) 2026 Microsoft Corporation (license).