some inventory enhancements
moved to rex-io-integration repo