Skip to content

[feat] Consumption deduction from workshop stock by location #97

Description

@jakub-przepiora

Summary: Deduct consumed components from workshop stock by location, so stock levels at each workshop/storage location reflect what production has used.

Requirements: Track stock per location; when consumption is recorded, deduct from the correct workshop location; prevent negative stock or flag it according to policy; keep an auditable movement record per deduction.

Acceptance Criteria: Recording consumption decreases stock at the correct location; movements are auditable; stock cannot silently go negative (blocked or flagged per policy); tests cover deduction, location selection and an insufficient-stock case.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

Status
Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions