Summary: Support partial consumption, returning unused material to stock, and reclassifying material, so real shop-floor behaviour (over-issue, leftovers, regrading) is reflected accurately.
Requirements: Allow declaring partial consumption against a work order; allow returning unused quantity back to a stock location; allow reclassifying material (e.g. to a different grade/status); record each as an auditable stock movement.
Acceptance Criteria: Partial consumption updates the work order and stock correctly; returns increase stock at the chosen location; reclassification moves material between classes/statuses; all movements are auditable; tests cover partial consumption, a return and a reclassification.
Summary: Support partial consumption, returning unused material to stock, and reclassifying material, so real shop-floor behaviour (over-issue, leftovers, regrading) is reflected accurately.
Requirements: Allow declaring partial consumption against a work order; allow returning unused quantity back to a stock location; allow reclassifying material (e.g. to a different grade/status); record each as an auditable stock movement.
Acceptance Criteria: Partial consumption updates the work order and stock correctly; returns increase stock at the chosen location; reclassification moves material between classes/statuses; all movements are auditable; tests cover partial consumption, a return and a reclassification.