Database Table LogEntry accr |
[This is preliminary documentation and is subject to change.]
The table LogEntry is a part of the "core" data model - see LogEntry ("core" version).
When the accreditation data model add-on is installed, the LogEntry table is extended with fields referring to the objects, that are managed in the accreditation sub-system.
The table of fields below list only the fields added as result of accreditation data model add-on - refer to LogEntry ("core" version) to get the original fields.
Field name | Type | Note | Description |
---|---|---|---|
StandardCode | VARCHAR(20) | Foreign key to Standard | Code of standard associated with the event. |
VersionNumber | INT | Partial foreign key to StandardVersion | Edition number of standard associated to the event. |
IndicatorCode | VARCHAR(20) | Partial foreign key to Indicator | Code of indicator assoicated with the event. |
RoundNumber | INT | Partial foreign key to SelfevaluationRound combine with OrgUnitType and OrgUnitKey to get full key | Sequence number of selfevaluation round associated to the event. |
RecordAuditId | INT | Foreign key to RecordAudit | Id of the record audit associated to the event. |
RecordAuditRecordId | INT | Foreign key to RecordAuditRecord | Id of the record audit record associated to the event. |
RecordAuditParticipantId | INT | Foreign key to RecordauditParticipant | Id paticipant of record audit associated to the event. |
SurveyId | INT | Foreign key to Survey | Id of the survey associated to the event. |
SurveyIteration | INT | Partial foreign key to SurveyIterationBody | Id of the survey iteration body associated to the event. |
SurveyAccreditationBody | INT | Foreign key to AccreditationBody. Partial foreign key to SurveyIterationBody, combine with fields SurveyId and SurveyIteration to get the full key. | Accreditationbody of the survey iteration body associated to the event. |
StandardGroupCode | VARCHAR(20) | Foreign key to StandardGroup | Code of the standard group associated to the event. |
TracerId | INT | Foreign key to Tracer | Id of the tracer associated to the event. |
AssessmentId | INT | Foreign key to Assessment | Id of the assessment associated to the event. |
FindingId | INT | Foreign key to Finding | Id of the finding associated to the event. |
Table | Key field(s) | Description |
---|---|---|
StandardCode | Identifies a standard | |
StandardCode, VersionNumber | Identifies standard edition | |
StandardCode, VersionNumber, IndicatorCode | Identifies indicator | |
OrgUnitType, OrgUnitCode, RoundNumber | Identifies self evaluation round | |
RecordAuditId | Identifies record audit | |
RecordAuditRecordId | Identifies record audit record (= instance of form) | |
RecordAuditParticipantId | Identifies record audit participant | |
SurveyId | Identifies survey | |
SurveyID, SurveyIteration, SurveyAccreditationBody | Identifies iteration and body specific information in survey | |
StandardGroupCode | Identifes standard group (theme, category) | |
TracerId | Identifies tracer | |
AssessmentId | Identifes assessment | |
FindingId | Identifies finding |