Skip to main content

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​

NameTypeMandatoryDescription
CompanyDataAreaIdNo
BundleMGCBallastBundleNo
VersionRecIdRefRecIdNoThe record ID of the submitted version.
VersionNameNameNo
OutcomeMGCBallastDecisionOutcomeNo
ThroughWorkflowNoYesNoYes: the decision closed a submission to the Ballast version approval workflow. No: the version was approved with Approve, or withdrawn.
DecidedByUserIdNoWho approved, rejected or canceled the submission, as the workflow history records it.
DecidedDateTimeTransDateTimeNo
DecidedDateTransDateNoThe date of the decision in the company time zone.
DecidedMonthTransDateNoThe first day of the month of the decision, in the company time zone.
SubmittedByUserIdNo
SubmittedDateTimeTransDateTimeNo
TurnaroundHoursrealNoHours from the submit to the decision, for a decision through the workflow. Zero for a version approved with Approve or withdrawn.
PriorRejectionsintNoHow many times the version was rejected before this decision.
CommentNotesNoThe approver's comment on a rejection, or the reason for a withdrawal.
AuditEventRefRecIdNoThe record ID of the configuration audit event the decision was recorded from.
ReasonCodeMGCBallastChangeReasonCodeNoThe reason code given with this submit, rejection, withdrawal or emergency approval.
TicketReferenceMGCBallastTicketReferenceNoThe ticket reference given with this submit, rejection, withdrawal or emergency approval.
EmergencyNoYesNoYes when the version was approved as an emergency, without the approval workflow's routing.