Magidoc

FinanceAuditEvent
Object

Fields

#

_id

ID !
Non-null

workspaceId

ID !
Non-null

operation

Non-null

sourceType

sourceId

sectionKey

previousState

nextState

reason

createdAt

Non-null

createdBy

ID !
Non-null

createdByName

Acting user's display name, resolved server-side from createdBy. Null when the user record no longer exists — render a labeled fallback, never the raw id.

sourceLabel

The record this event is about, as the product names it — a document number, a chart number and name, a rate's currency pair. Resolved from sourceId the way createdByName is resolved from createdBy. Null when the type has no such name or the record is gone — render no identity, never the raw sourceId.

changeSummary

What the event's own snapshots say changed — "Prefix EST- → INV-". Composed server-side from previousState/nextState the way sourceLabel is composed from sourceId, so no surface has to put whole record states on the wire to describe an update. Null when the states record no change or cannot be compared — render the surface's own fallback copy, never an invented sentence.

Usages

#

References

#

  • Field getFinanceAuditEvents from Query