Inventory Facility (Tools/APIs)
The Inventory facility is provided to enumerate and catalog the file and routine components of a Caché system. Inventories are run during installation and upgrade, and can be used to identify changes in a Caché system over time.
InterSystems uses this facility to identify changes systematically between releases, and it is available for your use as well.
Enables you to create a catalog of your code. Inventory.ScanOpens in a new tab is a persistent class that represents the results of scanning the installation and examining its components. Other persistent classes contain additional details.
Inventory.ScannerOpens in a new tab is a utility class for initializing and manipulating inventory scans.
In advanced cases, you can customize this system to scan your own new kinds of "components" or your application code.
See the class reference for these classes and other classes in the Inventory package.
Availability: %SYS namespace.