issue #22155: Tweaks to get calculations working. No editing of closed POs.
issue #22155: Add support for purchasing configuration