issue #22155: Big chunk of work for Purchase Orders and Activity management.

This does not complete 22155, but we should probably start getting this work in.
Make sure to pull in private-extensions for this issue at the same time or breakage will occur.