EventLogRecId | RefRecId | No | |
DocumentType | MGCEarmarkDocumentType | No | |
DocumentRecId | RefRecId | Yes | The record reference of the document the act was recorded against. It is the join to the document and, with the document type, the key the timeline FactBox, the timeline inquiry and the retention purge all read. |
DocumentNaturalKey | MGCEarmarkNaturalKey | No | The readable identifier of the document - the deal ID, the claim reference, the inventory transaction - stored beside the record reference so the row stays explicable in an export and after the document itself has been archived or migrated. A timeline row outlives what it describes, which is exactly why both halves are kept. |
EventType | MGCEarmarkEventType | No | |
Actor | UserId | Yes | The user who actually performed the act. It is the real executing user in every case, including engine, batch and post-commit writes, where the question worth answering is who ran the batch. An automated write says so through the Automation column rather than by putting an automation identity here. |
AutomationWrite | NoYesId | No | Whether the act was performed by an engine, a batch or a post-commit step rather than directly by a person. When it is set, the timeline FactBox and the timeline inquiry present the act as automation while the Actor column still records who ran it. Two facts, two columns - collapsing them would lose the only answer to the audit question. |
EventDateTime | TransDateTime | Yes | When the act was recorded, in UTC. It is stamped by the timeline service rather than supplied by the caller, and it is the column the timeline retention purge and every date filter read. |
Detail | Notes | No | What the act changed, in words - which column moved, which targeting row was added, which cap was reached. It carries the context that the event type alone cannot, and it is the column a support engineer reads first when reconstructing what happened. |
BeforeValue | MGCEarmarkReasonNote | No | The value as it stood before the act, where a before and after pair is meaningful - a status, an amount, a cap, a targeting row. It is blank for acts that changed nothing, such as a submission or a copy. |
AfterValue | MGCEarmarkReasonNote | No | The value as it stands after the act, where a before and after pair is meaningful. |