MGCBallastVersionApproval
One submission of a version to the version approval workflow: the workflow document. Every bundle's versions go through this one table, so one workflow type (MGCBallastVersionApprovalType) serves all bundles and Bundle is a field the workflow editor can put conditions on. Written by MGCBallastVersionApprovalProcess only: a row is created Pending on Submit and closed Approved, Rejected or Canceled by the workflow. A version submitted again after a rejection reopens its row (Resubmit) or gets a new one (Submit on the version page). Per company, like the workflow configuration that routes it; a version of a global bundle is submitted in the company the user works in. Submit and Resubmit record the version's impact for workflow conditions: LegalEntity, ChangedFieldCount, ChangedTableCount, ChangedTables ("[LedgerParameters] [LedgerParametersAccountStructure]"), and its pre-flight warnings: WarningCount and Warnings, as they were at submit.
Fields
| Name | Type | Mandatory | Description |
|---|---|---|---|
Bundle | MGCBallastBundle | No | |
VersionRecId | RefRecId | No | The record ID of the submitted version. |
VersionName | Name | No | |
FromDate | FromDate | No | |
ToDate | ToDate | No | |
Status | MGCBallastApprovalStatus | No | |
SubmittedBy | UserId | No | |
SubmittedDateTime | TransDateTime | No | |
DecidedBy | UserId | No | Who approved, rejected or canceled the submission, as the workflow history records it. |
DecidedDateTime | TransDateTime | No | |
WorkflowCorrelationId | WorkflowCorrelationId | No | |
LegalEntity | DataAreaId | No | The legal entity the version was submitted in. A version of a module whose parameters all legal entities share is submitted in the legal entity of the person who submits it. |
ChangedFieldCount | int | No | How many parameter values publishing this version would change in this legal entity, compared with the live values when it was submitted, as Compare shows them. A list row that publishing adds or deletes counts as one. |
ChangedTableCount | int | No | How many parameter tables publishing this version would change in this legal entity, compared with the live values when it was submitted. |
ChangedTables | MGCBallastChangedTables | No | The parameter tables publishing this version would change, each name in square brackets, for example [LedgerParameters]. In a workflow condition, test it with contains and the bracketed name, so that a table name is not matched inside a longer one. |
WarningCount | int | No | How many pre-flight warnings the version had when it was submitted: a gap before or after it, or an overlap with another approved version. |
Warnings | Notes | No | The pre-flight warnings when the version was submitted: a gap before or after it, or an overlap with another approved version. Warnings never stop a submission. |
SubmitReasonCode | MGCBallastChangeReasonCode | No | The reason code given when the version was submitted. Workflow conditions can route on it. |
SubmitTicketReference | MGCBallastTicketReference | No | The ticket reference given when the version was submitted. |
DecisionReasonCode | MGCBallastChangeReasonCode | No | The reason code given when the submission was rejected or approved as an emergency. |
DecisionTicketReference | MGCBallastTicketReference | No | The ticket reference given when the submission was rejected or approved as an emergency. |
Emergency | NoYes | No | Yes when this submission was approved as an emergency, without the approval workflow's routing. |