MGCBallastApprovalDecision
Approval reporting: one row per decision on a version, recorded by MGCBallastAuditWriter::logEvent in the same transaction as the audit event it comes from: ActivatedApproved: through the workflow when the version's last approval event before it is a Submitted, otherwise with Approve. RejectedRejected, with the approver's comment. SubmissionCanceledCanceled (the submission was recalled). WithdrawnWithdrawn, with the reason. A decision that closes a submission carries the submitter, the submit time and the turnaround in hours. The submission is found on the audit trail, not on MGCBallastVersionApproval, because Resubmit reuses the submission row and keeps only the last submit. The audit events are matched by bundle, version and company, in event time order with the record ID breaking a tie, because record IDs from different servers do not follow time. Global, with a Company field, like the audit trail, so the report spans companies. Append-only: update() and delete() are blocked; the audit retention task purges it with the audit events (purge). Recorded from the release that added it on; earlier decisions are on the audit trail only. Emergency approvals are not built. Read by MGCBallastApprovalReport (the page and its summary) and MGCBallastApprovalDecisionEntity.
Fields
| Name | Type | Mandatory | Description |
|---|---|---|---|
Company | DataAreaId | No | |
Bundle | MGCBallastBundle | No | |
VersionRecId | RefRecId | No | The record ID of the submitted version. |
VersionName | Name | No | |
Outcome | MGCBallastDecisionOutcome | No | |
ThroughWorkflow | NoYes | No | Yes: the decision closed a submission to the Ballast version approval workflow. No: the version was approved with Approve, or withdrawn. |
DecidedBy | UserId | No | Who approved, rejected or canceled the submission, as the workflow history records it. |
DecidedDateTime | TransDateTime | No | |
DecidedDate | TransDate | No | The date of the decision in the company time zone. |
DecidedMonth | TransDate | No | The first day of the month of the decision, in the company time zone. |
SubmittedBy | UserId | No | |
SubmittedDateTime | TransDateTime | No | |
TurnaroundHours | real | No | Hours from the submit to the decision, for a decision through the workflow. Zero for a version approved with Approve or withdrawn. |
PriorRejections | int | No | How many times the version was rejected before this decision. |
Comment | Notes | No | The approver's comment on a rejection, or the reason for a withdrawal. |
AuditEvent | RefRecId | No | The record ID of the configuration audit event the decision was recorded from. |
ReasonCode | MGCBallastChangeReasonCode | No | The reason code given with this submit, rejection, withdrawal or emergency approval. |
TicketReference | MGCBallastTicketReference | No | The ticket reference given with this submit, rejection, withdrawal or emergency approval. |
Emergency | NoYes | No | Yes when the version was approved as an emergency, without the approval workflow's routing. |