Every receipt line references an RMA line or is explicitly UNEXPECTED — there is no silent third state — and the disposition is an immutable pure function of grade, classification and policy version.
warehouse-systems · WMS tier · Supporting subdomain
The reverse flow: authorize returns against shipped order lines, receive and grade the goods, decide RESTOCK, REFURBISH, LIQUIDATE, DISPOSE or RTV from a versioned policy, and hand restockable units back to the ledger. A WMS-tier Supporting context.
Three aggregates — the ReturnAuthorization (RMA), the ReturnReceipt and the Disposition — plus a versioned DispositionPolicy that decides every inspected line. Authorization reads event-fed local copies of what was allocated, shipped and classified; a RESTOCK disposition hands the goods to inventory-storage as a staged line, and every other outcome stays an auditable fact here.
Every receipt line references an RMA line or is explicitly UNEXPECTED — there is no silent third state — and the disposition is an immutable pure function of grade, classification and policy version.