Skip to main content

MGCWardenAuditLeaverIntakeEntity

A leaver record from an HR system outside Dynamics 365: who left (personnel number or user ID) and when, keyed by source system and source reference, per company. Import or send it through OData; Warden evaluates it at once and records the outcome. A resend that agrees changes nothing, one that disagrees is refused, and rows cannot be deleted.

  • Public collection name: WardenAuditLeaverIntakes
  • Primary key: SourceSystem, SourceReference

Fields​

NameTypeMandatoryDescription
SourceSystemstrYesThe 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.
SourceReferencestrYesThe 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.
PersonnelNumberstrNoThe 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.
UserIdUserIdNoThe leaver's D365 user id as the HR system sent it. Evidence: written once. When it is sent, it is the account Warden evaluates.
LeavingDateTransDateYesThe 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.
ImportedByMGCWardenUserRefNoThe 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.
ImportedDateTimeTransDateTimeNo
StatusMGCWardenAuditLeaverIntakeStatusNoWhat 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.
StatusReasonstrNoWhy the record has its status, in words for the importer. A quarantined record says what did not match and what to resend.
StatusDateTimeTransDateTimeNo
MatchedUserUserIdNoThe D365 account the record resolved to. Operational: Warden's current reading, re-derived while the record is open.
MatchedPersonnelNumberstrNoThe D365 worker the record resolved to, when one has the personnel number sent. Operational, as Matched account.
DeprovisioningEntryRecordIdRefRecIdNoThe deprovisioning queue entry this record raised (Raised) or was linked to (Linked).

Mappings​

Entity fieldData sourceField
SourceSystemMGCWardenAuditLeaverIntakeSourceSystem
SourceReferenceMGCWardenAuditLeaverIntakeSourceReference
PersonnelNumberMGCWardenAuditLeaverIntakePersonnelNumber
UserIdMGCWardenAuditLeaverIntakeUserId
LeavingDateMGCWardenAuditLeaverIntakeLeavingDate
ImportedByMGCWardenAuditLeaverIntakeImportedBy
ImportedDateTimeMGCWardenAuditLeaverIntakeCreatedDateTime
StatusMGCWardenAuditLeaverIntakeStatus
StatusReasonMGCWardenAuditLeaverIntakeStatusReason
StatusDateTimeMGCWardenAuditLeaverIntakeStatusDateTime
MatchedUserMGCWardenAuditLeaverIntakeMatchedUser
MatchedPersonnelNumberMGCWardenAuditLeaverIntakeMatchedPersonnelNumber
DeprovisioningEntryRecordIdMGCWardenAuditLeaverIntakeDeprovisioningEntry