Documents
Workflows for the flat, polymorphic attachment surface shared by purchase orders, work orders, and sales orders. A document belongs to exactly one parent (entityType + entityId); because the parent is no longer in the URL path, authorization moves into the workflow — the pair must resolve to a row in the caller's org.
Components composed across this domain: Documents, PurchaseOrders, WorkOrders, SalesOrders.