SourceSystem | str | Yes | The HR system of record that sent this leaver record, as the importer names it. Evidence: written once with the record and never changed. With Source reference it identifies the record. |
SourceReference | str | Yes | The HR system's own identifier for this leaver event. Evidence: written once. A record is received once per source system and reference; a resend with the same reference changes nothing, and a correction is sent under a new reference. |
PersonnelNumber | str | No | The leaver's personnel number as the HR system sent it. Evidence: written once. Matched against D365 workers; when a user id is also sent it need not be one. |
UserId | UserId | No | The leaver's D365 user id as the HR system sent it. Evidence: written once. When it is sent, it is the account Warden evaluates. |
LeavingDate | TransDate | Yes | The leaver's last day of employment, the date an ended D365 employment carries. Evidence: written once. The first deprovisioning scan on a later day raises the entry, as it would for a D365 leaver. |
ImportedBy | MGCWardenUserRef | No | The account that imported the record, taken from the session and never from the import file. Shown as a subject reference; older records keep the user ID, because the record's tamper seal covers it. |
ImportedDateTime | TransDateTime | No | |
Status | MGCWardenAuditLeaverIntakeStatus | No | What Warden made of the record. Received, Pending, Nothing to revoke and Hired again are evaluated again by every deprovisioning scan; Raised, Linked, Quarantined and Withdrawn are final. |
StatusReason | str | No | Why the record has its status, in words for the importer. A quarantined record says what did not match and what to resend. |
StatusDateTime | TransDateTime | No | |
MatchedUser | UserId | No | The D365 account the record resolved to. Operational: Warden's current reading, re-derived while the record is open. |
MatchedPersonnelNumber | str | No | The D365 worker the record resolved to, when one has the personnel number sent. Operational, as Matched account. |
DeprovisioningEntryRecordId | RefRecId | No | The deprovisioning queue entry this record raised (Raised) or was linked to (Linked). |