Ballast technical reference
How Ballast is built and how it connects to the rest of Dynamics 365 Finance and Operations: its components, the data it keeps, the services, data entities and business events you can integrate with, the security model, its dependencies, and the design decisions that shape its behavior. Written for technical architects, integration developers and system administrators.
For what Ballast does from a user's point of view, read the User guide. For the jobs that run without anyone clicking, read Automated processes. For every setting and its default, read the Configuration reference.
Contents
- Architecture at a glance
- Data model
- Data entities
- Custom services
- Business events
- Security model
- Dependencies
- Design decisions and what they mean for you
- Building around Ballast
- What this reference does not cover
1. Architecture at a glance
Ballast puts a versioning layer between people and the standard parameter tables. A change is staged in a version of a bundle (one bundle per module), reviewed, approved with a date window, and then published: written to the live tables by the publish engine. Everything in between is recorded.
| Component | What it is | Where you meet it |
|---|---|---|
| Bundles | Fourteen, one per module: System, Accounts receivable, Accounts payable, General ledger, Procurement and sourcing, Inventory and warehouse management, Sales and marketing, Warehouse management, Commerce, Project management and accounting, Product information management, Fixed assets, Production control, Master planning. Each covers a fixed set of standard tables. | The Setting finder lists every setting each bundle covers. |
| Version tables | One per bundle. A row is a version: its name, description, status (Draft, Approved or Withdrawn), date window and lineage. | The module's version page, for example Accounts receivable > Setup > Accounts receivable parameter versions. |
| Snapshot tables | One per covered standard table (72 in all). A snapshot row holds a version's copy of the standard table's fields, matched to them by field name. | The tabs of the version page. |
| Page lock | Extensions of the standard pages that edit covered tables. They make every field of a covered table read-only on those pages while the module's feature is on. | The standard parameter pages, read-only. |
| Publish engine | A batch-capable job that finds each bundle's effective version, in each company for a per-company bundle, and writes it to the live tables when it is not applied yet. | System administration > Setup > Ballast publish engine, and Publish now on a version page. |
| Applied-version registry | One row per bundle and company: the version last applied there. The engine compares against it, not against live values. | The BallastAppliedVersions data entity. |
| Publish runs | A record of each engine run, its lines (one per table and company written) and its execution exceptions. | System administration > Setup > Ballast publish runs. |
| Configuration audit trail | An append-only table of events: draft edits, version lifecycle, publishes, changes made outside Ballast, retention. | System administration > Setup > Configuration audit. |
| Approval workflow | One workflow type for every module, where a module's setting is on. Its document is the submission, which records what publishing the version would change and its pre-flight warnings, for conditions to route on. | System administration > Setup > Ballast version approvals, and the workflow configurations. |
| Approval reporting | An append-only table of decisions on versions (approved, rejected, canceled, withdrawn), recorded from the audit trail as it is written, and a page that summarizes them per month, module and company. | System administration > Setup > Ballast approval reporting, and the BallastApprovalDecisions data entity. |
| Change capture | Data event handlers on the snapshot tables and on the covered standard tables. They write Draft edited and Direct changed events. | The audit trail, and the business event for direct changes. |
| Business events | Three events: a version published, a version's window ended, a change made outside Ballast. | System administration > Setup > Business events > Business events catalog. |
| Custom services | Five services in one service group, for integrations and automated tests. | https://<environment>/api/services/MGCBallastServiceGroup/... |
| Data entities | A version entity per bundle, a values entity per covered table, and six read-only entities over the publish history, the audit trail and the approval decisions. | Data management and OData. |
| Licensing and Help | Ballast checks its license and shows a Help icon on its pages. | System administration > Setup > Magicite. |
The two ways a covered table changes
Ballast does not block writes to the standard tables. It distinguishes the governed path from everything else, and records both. This is the boundary to keep in mind when you design an integration.
The standard pages cannot take the second path for a governed module, because they are locked. An import, an OData client or your own code can. See Catch a change made outside the governed path.
2. Data model
Bundles
The bundle is an enumeration, Bundle. The services and data entities use the value name; the pages show the label.
| Value name | Label | Scope | Version table | Covered tables |
|---|---|---|---|---|
System | System | Global | MGCBallastSystemParametersVersion | 6 |
Cust | Accounts receivable | Per company | MGCBallastCustParametersVersion | 8 |
Vend | Accounts payable | Per company | MGCBallastVendParametersVersion | 5 |
Ledger | General ledger | Per company | MGCBallastLedgerParametersVersion | 10 |
Srm | Procurement and sourcing | Per company | MGCBallastSrmParametersVersion | 7 |
Invent | Inventory and warehouse management | Per company | MGCBallastInventParametersVersion | 6 |
Smm | Sales and marketing | Per company | MGCBallastSmmParametersVersion | 1 |
WHS | Warehouse management | Per company | MGCBallastWHSParametersVersion | 1 |
Retail | Commerce | Per company | MGCBallastRetailParametersVersion | 7 |
Proj | Project management and accounting | Per company | MGCBallastProjParametersVersion | 10 |
EcoResProduct | Product information management | Global | MGCBallastEcoResProductParametersVersion | 2 |
Asset | Fixed assets | Per company | MGCBallastAssetParametersVersion | 3 |
Prod | Production control | Per company | MGCBallastProdParametersVersion | 5 |
Req | Master planning | Per company | MGCBallastReqParametersVersion | 1 |
None is the empty value. A global bundle keeps one set of versions for the environment and publishes once; a
per-company bundle keeps versions in each legal entity and publishes in each one. The covered tables of each
bundle are listed in Coverage.
Tables
| Table | Label | Per company | What a row is |
|---|---|---|---|
MGCBallast<Bundle>ParametersVersion (fourteen) | for example Customer parameters version | Yes, except System and Product information management | One version of the bundle. |
MGCBallast<Table>Values (72) | Same as its bundle | A version's copy of one standard table: one row for a single-record table, one row per list row for the twenty-one list tables. | |
MGCBallastAppliedVersion | Ballast applied version | No | The version applied for one bundle in one company. Unique per bundle and company. |
MGCBallastPublishRun | Ballast publish run | No | One run of the publish engine. |
MGCBallastPublishRunLine | Ballast publish run line | No | One table written, or one bundle and company that failed, in a run. |
MGCBallastExecutionException | Ballast execution exception | No | A failure or a hold the engine raised in a run. |
MGCBallastAuditEvent | Ballast audit event | No | One audit event. |
MGCBallastParameters | Ballast parameters | No | The single row of Ballast's own settings. |
MGCBallastChangeReason | Ballast change reason | No | One reason code (ReasonCode, 10 characters, unique) with its Description and the actions it is offered for: Submit, Reject, Withdraw, Emergency. Maintained under Change reasons on Ballast parameters. Once a code is offered for an action, that action requires one. |
MGCBallastBundleApprovalSetting | Ballast approval setting | No | Whether one bundle approves through the approval workflow (ApprovalWorkflow). One row per bundle, created when Ballast parameters opens. |
MGCBallastVersionApproval | Ballast version approval | Yes | One submission of a version to the approval workflow, and the workflow's document: Bundle, VersionRecId, VersionName, FromDate, ToDate, Status (Approval status), SubmittedBy, SubmittedDateTime, DecidedBy, DecidedDateTime, WorkflowCorrelationId, and the impact recorded at Submit and Resubmit: LegalEntity, ChangedFieldCount (Changed values), ChangedTableCount (Changed tables), ChangedTables (Changed table names), WarningCount (Warnings), Warnings (Warnings at submit); the reasons: SubmitReasonCode, SubmitTicketReference, DecisionReasonCode, DecisionTicketReference; and Emergency (Emergency approval). Written by Ballast only. |
MGCBallastApprovalDecision | Ballast approval decision | No | One decision on a version: an approval, a rejection, a cancellation of a submission or a withdrawal. Append-only, with a Company field, like the audit trail. |
MGCBallastTmpApprovalSummary | Ballast approval summary | No | In memory: one row of the approval reporting summary, for one month, bundle and company. Computed when the page opens and each time its period changes; never stored. |
Version fields, the same on all fourteen version tables:
| Field | Label | Notes |
|---|---|---|
Name | Name | Required. The key of the version entity, so it is how a version is matched between environments. |
Description | Description | Free text: the reason for the change, a change reference. |
Status | Status | Draft, Approved, Withdrawn or Submitted (enum values Draft, Active, Withdrawn and Submitted). Not editable; Approve, Withdraw, Submit and the approval workflow set it. |
FromDate, ToDate | From date, To date | The window in which the version is effective. A blank From date marks the baseline. |
Version | Version | The version number, assigned by Ballast. |
SequenceNumber | The order in which versions were created; it breaks ties between versions with the same From date. | |
RestoredFrom | Restored from | The version a restore cloned. |
RestoreReason | Restore reason | Why the restore was made. |
WithdrawReason | Withdrawal reason | Why the version was withdrawn before it took effect. Set by Withdraw, never editable, up to 255 characters. |
ReasonCode, TicketReference | Reason code, Ticket reference | The reason code (MGCBallastChangeReasonCode, related to MGCBallastChangeReason) and ticket reference (60 characters) of the version's latest submit, rejection, withdrawal or emergency approval. Never editable. |
EmergencyApproval | Emergency approval | Yes when the version was approved as an emergency. Never editable. |
Publish run fields: ExecutedDateTime, Outcome (Run outcome), IsManual (Manual run), Message,
ScheduledDateTime (Scheduled start), BatchJobId (Batch job), StartedUtcMs and FinishedUtcMs (Started
(Unix ms), Finished (Unix ms)).
Publish run line fields: PublishRun, Bundle, TargetTableName (Table), Company, BeforeVersion,
AfterVersion, RowsAffected (Rows affected), Outcome (Line outcome), RecordedUtcMs.
Execution exception fields: PublishRun, Bundle, TargetTableName (Table), Company, ReasonCode
(Reason code), Message (Error message), Status (Exception status).
Audit event fields: EventType (Event type), Source, Bundle, CoveredTableName (Table), FieldName
(Field), OldValue, NewValue, Actor (Changed by), EventDateTime, Company, VersionRecId, PublishRun,
CorrelationId (Correlation ID), ReasonCode and TicketReference (the reason given with a submit,
rejection, withdrawal or emergency approval), Emergency (Emergency approval, on the Approved event of an
emergency approval).
Registry fields: Bundle, Company, AppliedVersionRecId, AppliedDateTime, PublishRun.
Submission impact. ChangedFieldCount, ChangedTableCount and ChangedTables come from the same comparison
Compare shows: the version against the live parameter values in the legal entity at submit. A list row that
publishing would add or delete counts as one changed value. ChangedTables (extended data type
MGCBallastChangedTables, 1,000 characters) lists the standard table names, each in square brackets and separated
by a space, for example [LedgerParameters] [LedgerParametersAccountStructure], so a workflow condition's
contains matches one table exactly. WarningCount and Warnings hold the pre-flight warnings at submit; the
display method currentWarnings (Warnings now) recomputes them for a Pending submission.
Approval decision fields: Company, Bundle, VersionRecId, VersionName (Version), Outcome (Decision),
ThroughWorkflow (Through the workflow), DecidedBy (Decided by), DecidedDateTime (Decided), DecidedDate
(Decision date) and DecidedMonth (Month), both in the company time zone, SubmittedBy (Submitted by),
SubmittedDateTime (Submitted), TurnaroundHours (Turnaround (hours)), PriorRejections (Earlier
rejections), Comment (the rejection comment, the withdrawal reason or the emergency approval's reason),
ReasonCode, TicketReference, Emergency (Emergency approval), and AuditEvent (the record ID of the
audit event it was recorded from). An emergency approval follows a Submitted event but is not through the
workflow: it keeps the submitter and the turnaround, and the summary counts it in EmergencyApprovals.
A decision is written by the audit writer in the same transaction as its audit event: an Approved (Activated),
Rejected, Submission canceled or Withdrawn event on a version. A decision is through the workflow when the
version's last approval event before it is a Submitted event; that event gives the submitter, the submit time
and the turnaround. The submission is found on the audit trail rather than on MGCBallastVersionApproval, because
Resubmit reuses the submission row and keeps only the last submit. Decisions made before Ballast recorded them are on
the audit trail only.
The page Ballast approval reporting is the form MGCBallastApprovalReport, opened by the display menu item of the
same name. The class MGCBallastApprovalReport computes its summary into MGCBallastTmpApprovalSummary: the
decisions in the period, by their DecidedMonth, and the Direct changed audit events of the same period, counted
by the month of their event time in the company time zone, under the module that owns the changed table.
Enumerations
| Enumeration | Values (name: label) |
|---|---|
| Status | Draft: Draft, Active: Approved, Withdrawn: Withdrawn, Submitted: Submitted |
| Effective state | Unknown, Draft, Scheduled: Planned, Effective: Current, Expired, Superseded: Replaced, Withdrawn: Withdrawn, Submitted: Submitted |
| Approval status | Pending, Approved, Rejected, Canceled |
| Decision | Approved, Rejected, Canceled, Withdrawn |
| Run outcome | NoOp: No changes, Success: Success, Partial: Partial, Failed: Failed |
| Line outcome | Pending, Success, Skipped, Failed |
| Exception status | Open, Retried, Dismissed, Resolved |
| Event type | DraftEdited: Draft edited, VersionCreated: Version created, Activated: Approved, Published, Restored, Imported, DirectChanged: Direct changed, RetentionCleaned: Retention cleaned, Expired, SnapshotRepaired: Snapshot repaired, RetentionChanged: Retention changed, Withdrawn: Withdrawn, ReminderSent: Reminder sent, Submitted, Rejected, SubmissionCanceled: Submission canceled, ApprovalSettingChanged: Approval setting changed |
| Source | Governed, Direct, System |
| Bundle scope | Global, PerCompany: Per company |
Status is what a person sets; Effective state is what Ballast derives from the status, the dates and the other
versions. Only the Current version publishes, and exactly one version per bundle (per company for a per-company
bundle) is current at any time. Status vs. Effective state explains the
difference. OData, the data entities and the services return value names, not labels: an approved version's status
reads Active there, and a current version's effective state (from the services) reads Effective.
3. Data entities
Every Ballast data entity is public, so it is available over OData as well as in Data management.
| Entities | Public collection names | Read or write | Data management |
|---|---|---|---|
| A version entity per bundle (13) | SystemParametersVersions, CustParametersVersions, VendParametersVersions, LedgerParametersVersions, SrmParametersVersions, InventParametersVersions, SmmParametersVersions, WHSParametersVersions, RetailParametersVersions, ProjParametersVersions, EcoResProductParametersVersions, AssetParametersVersions, ProdParametersVersions | Read and write. Key: Name. | Yes |
| A values entity per covered table (72) | Mostly the standard table's name followed by Values, without underscores: CustParametersValues, ASOHHoldsDefaultValues, AgreementParametersRUValues. Three differ: CustSalesParametersValues (SalesParameters), SmmParametersValues (smmParametersTable) and InvoicePurchaseOrderMatchingPSNValues (DimensionAttributeInvoicePurchaseOrderMatching_PSN). | Read and write. Key: VersionName, plus the list row's key fields for a list table. | Yes |
| Publish runs, lines, exceptions, registry | BallastPublishRuns, BallastPublishRunLines, BallastExecutionExceptions, BallastAppliedVersions | Read only | No |
| Audit trail | BallastAuditEvents | Read only | No |
| Approval decisions | BallastApprovalDecisions | Read only. Key: ApprovalDecisionRecId. | No |
What to know before you write through them:
- A version cannot arrive approved. Status is read-only on the version entity, so an import or an OData insert always creates a Draft. Take it live through Approve and a publish, on the page or through the services.
- An approved version refuses writes through its entities: its header, its values and its list rows.
- A module whose feature is off refuses imports into its entities.
- A values entity takes the standard table's configuration key. Where that key is off, the entity is not available, as the standard table is not.
- Some fields do not travel between environments. References held as record ids, financial dimension fields, and fields stored as arrays or containers keep the target's own value. See Moving configuration between environments.
- Production control rows travel by site and unit symbol.
ProdParametersDimValuesis keyed by VersionName and InventSiteId (the company row has an empty site),ProdStatusParametersValuesby VersionName, InventSiteId, FromProdStatus and ToProdStatus, andProdTimeUnitOfMeasureValuesby VersionName and TimeUnitType, with the unit asUnitOfMeasureSymbol. A site or unit the target does not have refuses the row. - No Ballast role carries the entity privileges. Assign them through a role of your own: see Data-entity privileges are separate.
The procedures are in the Data management consultant guide.
4. Custom services
The service group MGCBallastServiceGroup holds five services. Call an operation with an HTTP POST to:
https://<environment>/api/services/MGCBallastServiceGroup/<service>/<operation>
Authenticate as you would for any Finance and Operations service: a Microsoft Entra application registered on
System administration > Setup > Microsoft Entra ID applications against a user who holds a Ballast integration
role. Send the operation's request under the parameter name _request:
{
"_request": {
"RequestId": "6f1c2a1e-0000-4000-8000-000000000001",
"Bundle": "Cust",
"LegalEntityId": "usmf",
"Name": "Raise the credit hold threshold",
"Description": "Requested by credit control",
"FromDate": "2026-12-01T00:00:00"
}
}
- Member names are exact. Finance and Operations ignores a key it does not recognize, so a misspelled member arrives as its default instead of failing.
- Enumerations are sent and returned by value name:
"Cust","Draft". LegalEntityIdis the company to act in for a per-company bundle. Blank means the calling user's current company. System and Product information management ignore it.- Every response says whether it worked. Every response carries
SuccessandMessage. All butgetDeploymentInfo's also carryErrorCode, and returnRequestIdandCorrelationIdas you sent them. A refusal comes back in the response, not as an HTTP error; authentication and authorization failures are still HTTP errors.
Operations
| Service | Operation | Does | Privilege |
|---|---|---|---|
MGCBallastVersionService | getVersion | Reads a version: its fields, Status and Effective state. | View |
getEffectiveVersion | Reads the bundle's current version in the company. NotFound when there is none. | View | |
getVersionValue | Reads one stored value of a version. | View | |
createVersion | Creates a Draft, seeded as on the page. | Maintain | |
updateVersion | Changes a Draft's name, description or dates. | Maintain | |
updateVersionValue | Changes one stored value of a Draft. | Maintain | |
addVersionValueRow, deleteVersionValueRow | Adds or deletes a row of a list table on a Draft. | Maintain | |
restoreVersion | Clones a version into a new Draft, with a reason. | Maintain | |
deleteVersion | Deletes a Draft. | Maintain | |
activateVersion | Approves a Draft: its status becomes Active (shown as Approved). On success, Message carries any approval warnings: a gap before or after the version, or an overlap with a Planned version. They never refuse it. | Go-live | |
withdrawVersion | Withdraws a Planned version (approved, From date still ahead, never published), with a required Reason: its status and effective state become Withdrawn, and it never publishes. Never refused by the license. | Go-live | |
MGCBallastSnapshotService | compareVersionToLive | Lists what differs between a version and the live tables. | View |
compareVersions | Lists what differs between two versions. | View | |
MGCBallastPublishService | publishNow | Runs the publish engine now, for one bundle or for all (None), optionally with Force, and reports the run. | Go-live |
schedulePublish | Creates a batch job that runs the engine once, at or after StartDateTime (UTC; blank means now). | Go-live | |
MGCBallastDeploymentService | getDeploymentInfo | Reports the deployed Ballast and licensing module versions, the application and platform versions, the license status and the environment's date. Takes no request. | View |
MGCBallastMaintenanceService | findBlankSnapshots, countBatchGlobalDirectChanges, findOrphanSnapshots | Report what the maintenance operations below would act on. | View |
repairBlankSnapshots, purgeBatchGlobalDirectChanges, purgeOrphanSnapshots | One-off maintenance: see Automated processes. | Maintain |
Privileges. View is MGCBallastIntegrationServiceView, Maintain is MGCBallastIntegrationServiceMaintain,
and Go-live is MGCBallastIntegrationServiceGoLive. The Ballast integration role holds all three; Ballast
integration (staging) holds View and Maintain. See Security model.
Requests and responses
| Contract | Members |
|---|---|
| Version request | RequestId, CorrelationId, Bundle, LegalEntityId, VersionRecId, Name, Description, FromDate, ToDate, Reason |
| Version response | Success, Message, ErrorCode, RequestId, CorrelationId, Bundle, LegalEntityId, VersionRecId, Name, Description, VersionId, Status, EffectiveState, FromDate, ToDate, SequenceNumber, RestoredFromRecId |
| Value request | RequestId, CorrelationId, Bundle, LegalEntityId, VersionRecId, TableName, RowKey, FieldName, Value |
| Value response | Success, Message, ErrorCode, RequestId, CorrelationId, Bundle, LegalEntityId, VersionRecId, TableName, RowKey, FieldName, Value, PreviousValue |
| Compare request | RequestId, CorrelationId, Bundle, LegalEntityId, VersionRecId, OtherVersionRecId, MaxDifferences |
| Compare response | Success, Message, ErrorCode, RequestId, CorrelationId, Comparison, TableCount, DifferenceCount, Truncated, Tables (each TableName, VersionRows, ComparedRows, DifferenceCount), Differences (each TableName, RowKey, FieldName, VersionValue, ComparedValue) |
| Publish request | RequestId, CorrelationId, Bundle, Force, StartDateTime |
| Publish response | Success, Message, ErrorCode, RequestId, CorrelationId, PublishRunRecId, Outcome, LineCount, FailedLineCount, ExceptionCount, BatchJobId, ScheduledDateTime |
| Deployment information | Success, Message, ModelName, ModelVersion, ModelVersionFound, the licensing module's version, ApplicationVersion, ApplicationBuildVersion, PlatformBuildVersion, LicenseStatus, ServerDate |
| Maintenance request | RequestId, CorrelationId |
| Maintenance response | Success, Message, ErrorCode, RequestId, CorrelationId, Found, Repaired, Unchanged, EventCount, Purged, Rows |
Error codes
ErrorCode | Means |
|---|---|
| (blank) | The operation succeeded. |
ValidationFailed | The request was incomplete or the change was refused: a missing request, bundle, version, table, row key or field; a value the field cannot hold; a change to an approved or withdrawn version; a version that cannot be withdrawn, or a blank withdrawal reason. Message carries the reason, including the text the page would show. |
NotFound | The version does not exist in that company, or the bundle has no current version there. |
FeatureDisabled | The bundle's feature is off in Feature management. |
ApprovalRequired | activateVersion was refused because the bundle approves through the approval workflow. Submit the version from its page instead (Approving through a workflow). |
LicenseNotValid | The license blocks the operation: activateVersion, restoreVersion, publishNow and schedulePublish are refused in a production environment past its block date. withdrawVersion never returns it. |
PublishNotComplete | publishNow ran, but the run's outcome is Partial or Failed. Read its lines and exceptions through BallastPublishRunLines and BallastExecutionExceptions. |
Failed | The publish or the scheduling failed for another reason; Message has the error. |
publishNow is synchronous and runs across every company for a per-company bundle, so allow a long HTTP
timeout. A publish the license refuses still records a Failed run, which the response names in
PublishRunRecId.
5. Business events
Ballast ships five business events in the catalog under the System administration module. None is active until you activate it and give it an endpoint (I want to send the Ballast business events where people look).
| Event (catalog name) | Business event ID | Raised when | How often |
|---|---|---|---|
| Ballast version published | MGCBallastVersionPublished | The publish engine applies a version to a company (or once, globally, for a Global bundle). | Once per bundle and company that the run publishes. Not raised when a run adopts the baseline or has nothing to do. |
| Ballast version window ended | MGCBallastVersionExpired | The version applied to a company has passed its To date. The engine either reverted the company to the version now effective, or is holding because only the baseline is left. | Once per revert. Once per hold while its WindowEnded exception stays Open; see Version window expiry. |
| Ballast version reminder | MGCBallastVersionReminderDue | A version date that needs attention is no more than Reminder lead time (days) away (Ballast parameters): an approved version takes effect, or the version in force ends with no approved successor. Off while the lead time is 0, as shipped. | Once per version and reminder kind, from the publish engine's run. Each is recorded as a Reminder sent audit event. |
| Ballast emergency approval | MGCBallastVersionEmergencyApproved | A pending submission is approved with Emergency approve on Ballast version approvals, without the workflow's routing. | Once per emergency approval, after it commits. |
| Ballast direct (ungoverned) change detected | MGCBallastDirectChangeDetected | A covered table is written outside a publish, while its module's feature is on. | Once per saved record with at least one changed field, and once per list-table row inserted or deleted. It is not raised per field: the audit trail has the fields. |
Payloads. Besides the standard business event header, each event carries:
| Event | Field (label) | Content |
|---|---|---|
| Version published | Bundle (Bundle) | The bundle, MGCBallastBundle. |
Company (Company) | The company the version was applied to. Blank for a Global bundle. | |
VersionRecId (Version RecId) | The version applied. | |
PublishRunRecId (Publish run RecId) | The run that applied it: read it through BallastPublishRuns. | |
AppliedDateTime (Applied date and time) | When it was applied, UTC. | |
| Version window ended | Bundle, Company | As above. |
ExpiredVersionRecId, ExpiredVersionName | The version whose window ended. | |
SuccessorVersionRecId, SuccessorVersionName | The version the engine applied instead. 0 and blank on a hold. | |
SuccessorApplied (Successor applied) | Yes for a revert, No for a hold. | |
PublishRunRecId | The run that noticed it. | |
EventDateTime (Event date and time) | When, UTC. | |
| Version reminder | Bundle, Company | As above. |
ReminderKind | StartingSoon or EndingWithoutSuccessor. | |
VersionRecId, VersionName | The version the reminder is about. | |
ReminderDate | Its From date (starting soon) or its To date (ending without a successor). | |
DaysAhead | Days from the run's date to ReminderDate. | |
EventDateTime | When it was raised, UTC. | |
| Emergency approval | Bundle, Company | As above. Company is the legal entity the version was submitted in. |
VersionRecId, VersionName | The version approved. | |
ApprovedBy, SubmittedBy | Who approved it as an emergency, and who submitted it. | |
ReasonCode, TicketReference, Reason | The reason code and ticket reference, if any, and the emergency reason. | |
EventDateTime | When it was approved, UTC. | |
| Direct change detected | CoveredTableName (Covered table) | The standard table written, for example PurchParameters. |
Company (Company) | The session's company when the write was made. | |
Actor (Actor) | The user, or the service account, that made the write. |
What the events do not carry. The direct-change event names no bundle and no field: join to the audit trail
(BallastAuditEvents, Source Direct) on the table, the company and the time. A publish event names the run,
not the tables; the run's lines (BallastPublishRunLines) list them.
6. Security model
Six roles ship with Ballast. Each holds one duty.
| Role | Duty | Privileges |
|---|---|---|
| Ballast administrator | Administer Ballast | MGCBallastVersionView, MGCBallastVersionMaintain, MGCBallastVersionActivate, MGCBallastVersionSubmit, MGCBallastVersionApprovalDecide, MGCBallastVersionEmergencyApprove, MGCBallastPublishNowRun, MGCBallastExecutionExceptionMaintain, MGCBallastAuditRetentionRun, MGCBallastConfigAuditView, MGCBallastParametersMaintain, and the standard BatchJobView |
| Ballast preparer | Prepare Ballast changes | MGCBallastVersionView, MGCBallastVersionMaintain, MGCBallastVersionSubmit, MGCBallastConfigAuditView |
| Ballast approver | Approve Ballast changes | MGCBallastVersionView, MGCBallastVersionActivate, MGCBallastVersionApprovalDecide, MGCBallastPublishNowRun, MGCBallastExecutionExceptionMaintain, MGCBallastConfigAuditView, BatchJobView |
| Ballast auditor | Inquire into Ballast configuration audit | MGCBallastConfigAuditView |
| Ballast integration | Operate Ballast integration services | MGCBallastIntegrationServiceView, MGCBallastIntegrationServiceMaintain, MGCBallastIntegrationServiceGoLive |
| Ballast integration (staging) | Stage Ballast changes through services | MGCBallastIntegrationServiceView, MGCBallastIntegrationServiceMaintain |
Privileges that no role carries, for you to assign through roles of your own:
- for each bundle,
MGCBallast<Bundle>ParametersVersionEntityView,MGCBallast<Bundle>ParametersVersionEntityMaintainandMGCBallast<Bundle>ValueEntitiesMaintain: the version and values entities; MGCBallastPublishHistoryEntityView: the four publish-history entities.
MGCBallastConfigAuditView grants the BallastAuditEvents entity as well as the Configuration audit page, the
BallastApprovalDecisions entity as well as the Ballast approval reporting page, and opens Ballast version
approvals read-only. MGCBallastVersionSubmit grants Submit and the work item's
Resubmit and Cancel; MGCBallastVersionApprovalDecide grants the work item's Approve, Reject and
Delegate. The workflow still decides who is assigned a work item.
The page menu items are hidden from anyone without the privilege for them, and members of the system administrator role see every menu item whatever else they hold. Test a role signed in as a user who holds only that role. What each role sees, and how to split preparing from approving, is in Security roles.
7. Dependencies
| Dependency | What Ballast needs |
|---|---|
| Finance and Operations | The versions in Supported Finance and Operations versions. Ballast references these application packages: AdvancedQualityManagement, ApplicationCommon, ApplicationFoundation, ApplicationPlatform, ApplicationSuite, ApplicationWorkspaces, Calendar, CaseManagement, CDSVirtualEntity, ContactPerson, CreditManagement, Currency, Dimensions, Directory, ElectronicReporting, EngineeringChangeManagement, EnterpriseAssetManagementAppSuite, FieldServiceIntegration, FiscalBooks, GeneralLedger, GlobalUnifiedPricing, InboundTransportationManagement, Ledger, PersonnelCore, Project, ProjectMobile, ProjectOperations, PublicSector, Retail, SourceDocumentation, SourceDocumentationTypes, Subledger, Tax, UnitOfMeasure, UserSecGov. |
| Licensing module | Ships in the Ballast zip. Deploy it with Ballast and do not change it. |
| Licensing service | Outbound access from the environment to the Magicite licensing service, which Ballast calls. Without a verdict Ballast keeps working; see Licensing. |
| Usage counts | Optional. Ballast counts how often its features are used and the licensing module sends the daily totals to the licensing service, under Usage telemetry enabled on License parameters. See Usage counts. |
Usage counts
Ballast counts how often its features are used, by day, and the licensing module sends the totals to Magicite once a day with its
other reports, tagged with the environment they were counted in. Every name is product metadata: a class or
operation name, a module (bundle) name, an enum value, or a word from a fixed list. Nothing else is sent: no
company, user, record ID, version name, parameter value, reason code, ticket reference, reason or message. A value
outside a fixed list is sent as Other. Turning off Usage telemetry enabled on System administration >
Setup > Magicite > License parameters stops the counting and the report; licensing works the same either way.
| Counter | Broken down by | Counted |
|---|---|---|
service:Call | Service, operation and outcome: Success, the response's ErrorCode (ValidationFailed, NotFound, LicenseNotValid, PublishNotComplete, Failed, FeatureDisabled, ApprovalRequired), or Other | Once per call of a service operation |
version:Event | The step (VersionCreated, Imported, Activated, Restored, Withdrawn, Expired, Submitted, Rejected, SubmissionCanceled, ReminderSent) and the module | Once per version created, imported, approved, restored, withdrawn or expired, submitted, rejected, canceled or reminded about, however it happened |
approval:Emergency | Module | Once per emergency approval, which also counts as an approval |
version:Compared | Module | Once per comparison, on the page or through the snapshot service |
publish:Run | How it started (Manual or Batch) and its outcome, or LicenseNotValid when refused | Once per publish run |
license:Blocked | The refused action: approve, restore, Publish now, submit, resubmit or emergency approve, or Other | Once per refusal on a page. A refused service call counts only as its outcome |
Edits to drafts, changes to the live parameter tables and changes to settings are not counted. X++ tests running in the environment are not counted either.
Daily state. Where the licensing module collects a daily state, it also asks Ballast, once a day, how it is set up. These are counts across all companies, never the records behind them:
| State | Broken down by | Value |
|---|---|---|
state:Versions | Module and version status (Draft, Active, Withdrawn, Submitted) | How many versions there are |
state:AppliedVersions | Module | How many companies run a published version of it |
state:BundleEnabled | Module | 1 when its feature is on in Feature management, else 0 |
state:ApprovalWorkflow | Module | 1 when its versions are approved through a workflow, else 0 |
state:ReasonCodes | Action (Submit, Reject, Withdraw, Emergency) | How many reason codes are offered for it. The codes themselves are never sent |
The same switch turns the daily state off.
| Batch processing | A running batch service for the scheduled publish, the audit purge, schedulePublish, and Data management imports. |
| Feature management | One feature per module, from Ballast parameter versioning: System to Ballast parameter versioning: Master planning, on after installation. |
| Database synchronize | Every installation and update adds or changes tables, so it always runs with a database synchronize. |
8. Design decisions and what they mean for you
| Decision | Why | What it means for you |
|---|---|---|
| Changes are staged in separate snapshot tables, and the standard pages are locked. | A change can be reviewed, dated and rolled back before it touches live configuration. | Find a setting's version page with the Setting finder. Do not expect to edit a governed setting on its standard page. |
| Writes outside Ballast are recorded, not blocked. | Failing an import or an integration in the middle of its work does more harm than recording it. | Route the Ballast direct (ungoverned) change detected event to someone, and move integrations to the version entities or the services. |
| Publishing is an explicit step: a batch run or Publish now, never a side effect of reading a parameter. | Predictable timing, and one place that records every write. | Schedule the publish engine, or a future-dated version never goes live by itself. |
| The engine compares versions with its registry, not with live values. | It stays cheap and idempotent: a run with nothing to do writes nothing. | A plain run does not see a direct change. Use Compare to find drift and Force republish to undo it. |
| A module can approve through a workflow, one workflow type for every module. | Approval routing, delegation and escalation are the standard workflow's, and one configuration can route every module, with conditions on the submission's Bundle field and on what the version would change (Changed values, Changed tables, Changed table names) and its Warnings. | Turn it on per module on Ballast parameters, and set up the Ballast version approval workflow in each legal entity first. Who may approve is the workflow configuration's decision; Ballast adds no rule of its own. Approving through a workflow |
| Approve and publish are separate. | Choosing what goes live and putting it live can be given to different people. | Give preparers and approvers different roles, and integrations Ballast integration (staging) when people should take their changes live. |
| A rollback is a new version. | A restore goes through review, dating and audit like any change, and no version is ever overwritten. | History only moves forward. An approved version cannot be deleted. |
| Versions are matched between environments by name. | Record ids differ between environments; a name does not. | Name versions for their purpose, and keep the name stable. The version number is not carried over. |
| Each standard table belongs to exactly one bundle. | Two bundles writing one table would overwrite each other. | A setting shown on one module's page can be staged on another module's version page. The Setting finder says where. |
| Fields are copied by name, and only between compatible types. | One generic mechanism covers every table, with no per-field code. | A field that exists only on the live table is not in any version, and a publish leaves it alone. |
| A list table is published as a whole list, and only when the version holds rows for it. | The version owns the list; an empty snapshot must never empty the live list. | Deleting a row from a version removes it from live. To keep a list as it is, keep its rows in the version. |
| The baseline is adopted, not published, and a lapsed window holds. | Writing a snapshot of live back onto live can only do nothing or undo a later edit. | When a version's To date passes with no successor, live keeps its values and the engine raises a WindowEnded exception. |
| Each bundle and company publishes in its own transaction. | One failure must not undo the work that succeeded. | A run can be Partial. Work its exceptions; a retry publishes only what is still missing. |
| The audit trail is append-only. | Evidence that can be edited is not evidence. | Only the retention purge removes events, and it records that it did. Set the retention before it first runs. |
| Approval decisions are recorded from the audit trail, as it is written, in their own append-only table. | A report needs one row per decision with its submitter and turnaround, which a submission row cannot give: Resubmit reuses it. | Decisions made before Ballast recorded them are on the audit trail only. The retention purge deletes decisions with the events they come from, so both are kept for the same period. |
| The license gates only taking changes live, and only in production. | A licensing problem must not stop day-to-day work or the changes already approved. | Pages, drafts, Compare, the audit trail and the scheduled publish keep working whatever the license says. |
9. Building around Ballast
- Integrations that change parameters. Write to the version and values entities, or call the services, rather than to the standard tables or their standard data entities. A write to the standard tables is recorded as a direct change and is undone by the next Force republish. See I want to move an integration from the live parameters to the version entities.
- Monitoring and reporting. Read
BallastPublishRuns,BallastPublishRunLines,BallastExecutionExceptions,BallastAppliedVersions,BallastAuditEventsandBallastApprovalDecisionsover OData, or subscribe to the business events. Correlate a service call with what it caused throughCorrelationId, which the audit events carry, and a decision with its audit event throughAuditEvent. - Your own extensions of covered tables. A field that your extension, or another product, adds to a covered standard table is read-only on the locked page like every other field of that table, and no version holds it, so a publish leaves it alone. Plan where that field is maintained before you turn the module's feature on. See Which fields a version actually holds.
- Your own security roles. Build preparer, approver and integration roles from the privileges in Security model; the shipped roles are a starting point.
- Automated deployments. Call
getDeploymentInfoto wait until an environment reports the Ballast version you deployed before you run tests against it.ModelVersionis the version in the download's name without its leading 10.0.
10. What this reference does not cover
- Changing Ballast's own code. Ballast is delivered as compiled code. Which standard tables a release covers, and how it publishes them, are fixed by that release.
- Performance figures. Publish time depends on the number of companies, bundles and list rows in your environment; no figures are published.
- Standard behavior. Authentication, Data management, OData and business events work as Finance and Operations documents them; this reference describes only what Ballast adds.