Material Database Object Class
- Last UpdatedJul 26, 2018
- 1 minute read
The highest object class is the material database (wwMaterialDB). You must define an object of this type to access the AVEVA Batch Management Material database. From this object, you can add and query materials, and you can query all the units in the process model that are available for assignment.
A property of the material database object class is the material defined in the database (wwMaterials). This is a collection object from which you can determine the total number of materials. The materials collection contains one-to-many individual material objects (wwMaterial).
Each material object (wwMaterial) contains properties that enable you to query material details, such as the material ID, name, description, unit of measure, deviations, and total quantity. In addition to the properties, each material object provides methods for defining one-to-many default characteristics and assigning the material to one-to-many units.