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.