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:

BitNameDescription
0 (0x01)PERSISTEDThe entity is persisted to the database.
1 (0x02)OKThe data quality of the entity is ok.
2 (0x04)BADThe data quality of the entity is bad.
4 (0x10)FICTITIOUSThe entity is forced into the database manually and waiting for the tracker to load it into the tracker application.
5 (0x20)INTERTRACKEROPERATIONThe 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)TESTBITThe entity is a test entity. All normal clients shall handle this entity as if it was not found in the database.
14 (0x4000)INVALIDBITThe entity is "deleted". All clients shall handle this entity as if it was not found in the database.