Skip to content

CON-COM-ORD-006Purchase Order

Markdown

CON-COM-ORD-006

Purchase Order

Markdown
  • DocumentDraft
  • Product intentProposed
  • ImplementationObserved

Planning

Feature
FEAT-COM-ORD-07
Owned by
MOD-COM-ORD
Acted on by
CAP-COM-ORD-017, CAP-COM-ORD-018
Visible to
ACT-COM-019, ACT-COM-015
Not to be confused with
Order — the customer sale created by placement, Purchase order number — the customer’s reference for their purchase, Inventory item — the stock identity managed by inventory

Design

Specified by
DOM-COM-ORD-006

KindKey conceptProduct areaCommerceModuleCustomer purchases, purchased benefits and vendor stockRevision1

Read atservices-commerce c8b66a98react-console baf6dae3

The Formal Contract

The narrative above explains; the sections below are authoritative — the rules, scenarios and tests this document binds.

Definition
A purchase order records stock requested from a vendor and its receipt progress; related receipt and cost records explain the value of the acquired stock.
Synonyms
POstock purchase

Relationships

ToStatementProvenance
CON-COM-ORD-002Incoming stock can satisfy waiting customer backorders; shipment removes the corresponding layer cost.test
services-commerce:modules/purchasing/tests/integration/services/receiving/purchasing-flow.integration.spec.js#fills the two backorders at the first receipt, oldest first, converting them to committed; the shelf shows 58 available after
CON-COM-ORD-005A return restores inventory at the cost originally relieved for those goods.test
services-commerce:modules/purchasing/tests/integration/services/receiving/purchasing-flow.integration.spec.js#restores 5 returned units at the relieved cost and place: a restore row naming the relief it reverses, a layer at that cost dated with the original layer, a restore_cogs fact of 5 × that cost

Lifecycle

StateMeaningHow it changes
DraftStaff can still edit the purchasing request.A buyer creates the draft.
IssuedThe purchasing request awaits vendor delivery.A buyer issues the purchase order.
Partially receivedA receipt satisfies only part of the request.Recording a partial delivery advances receipt progress.
ReceivedReceipts satisfy the requested quantities.The final required delivery completes receipt progress.
ClosedThe purchase is concluded and any remainder is cancelled.Staff close the order after receiving stock.
CancelledThe request is withdrawn before receipt.Staff cancel it before any delivery is received.

The Markdown files under specs/ in rhythmsoftware/rhythm-v2-docs are the canonical source of truth. This reader is a generated, read-only projection of them.