PDSQuality
The PDSQuality concept is a general concept used in Apis Click&Trace in order to indicate the data quality of the entities. The PDSQuality is a bit pattern where the separate bits have different meaning, and the total quality is the combination of all the bits. Several Apis Click&Trace entities implements the PDS quality concept. Examples are:
- TrackingMaterial (TraMaQualityCode)
- MaterialLot (QualityCode)
- ProcessUnitRun (QualityCode)
- Batch (QualityCode)
The following table describes the bits of the PDSQuality:
Bit | Name | Description |
---|---|---|
0 (0x01) | PERSISTED | The entity is persisted to the database. |
1 (0x02) | OK | The data quality of the entity is ok. |
2 (0x04) | BAD | The data quality of the entity is bad. |
4 (0x10) | FICTITIOUS | The entity is forced into the database manually and waiting for the tracker to load it into the tracker application. |
5 (0x20) | INTERTRACKEROPERATION | The entity is a result of an operation between two tracker application. This is typically used to indicate that there has been material moves between two ore more tracker applications. |
13 (0x2000) | TESTBIT | The entity is a test entity. All normal clients shall handle this entity as if it was not found in the database. |
14 (0x4000) | INVALIDBIT | The entity is "deleted". All clients shall handle this entity as if it was not found in the database. |