Quantity Validation Rule:

The total quantity of any item in the current invoice, combined with all previously invoiced quantities associated with the same purchase order, must not exceed the specified line-item limit in the original purchase order and the same for sales invoice.

I support a feature/report that reports when total quantity exceeds agreed Purchase order over a validation rule.