Skip to main content

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​

  1. Architecture at a glance
  2. Data model
  3. Data entities
  4. Custom services
  5. Business events
  6. Security model
  7. Dependencies
  8. Design decisions and what they mean for you
  9. Building around Ballast
  10. 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.

ComponentWhat it isWhere you meet it
BundlesFourteen, 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 tablesOne 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 tablesOne 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 lockExtensions 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 engineA 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 registryOne row per bundle and company: the version last applied there. The engine compares against it, not against live values.The BallastAppliedVersions data entity.
Publish runsA 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 trailAn append-only table of events: draft edits, version lifecycle, publishes, changes made outside Ballast, retention.System administration > Setup > Configuration audit.
Approval workflowOne 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 reportingAn 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 captureData 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 eventsThree events: a version published, a version's window ended, a change made outside Ballast.System administration > Setup > Business events > Business events catalog.
Custom servicesFive services in one service group, for integrations and automated tests.https://<environment>/api/services/MGCBallastServiceGroup/...
Data entitiesA 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 HelpBallast 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 nameLabelScopeVersion tableCovered tables
SystemSystemGlobalMGCBallastSystemParametersVersion6
CustAccounts receivablePer companyMGCBallastCustParametersVersion8
VendAccounts payablePer companyMGCBallastVendParametersVersion5
LedgerGeneral ledgerPer companyMGCBallastLedgerParametersVersion10
SrmProcurement and sourcingPer companyMGCBallastSrmParametersVersion7
InventInventory and warehouse managementPer companyMGCBallastInventParametersVersion6
SmmSales and marketingPer companyMGCBallastSmmParametersVersion1
WHSWarehouse managementPer companyMGCBallastWHSParametersVersion1
RetailCommercePer companyMGCBallastRetailParametersVersion7
ProjProject management and accountingPer companyMGCBallastProjParametersVersion10
EcoResProductProduct information managementGlobalMGCBallastEcoResProductParametersVersion2
AssetFixed assetsPer companyMGCBallastAssetParametersVersion3
ProdProduction controlPer companyMGCBallastProdParametersVersion5
ReqMaster planningPer companyMGCBallastReqParametersVersion1

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​

TableLabelPer companyWhat a row is
MGCBallast<Bundle>ParametersVersion (fourteen)for example Customer parameters versionYes, except System and Product information managementOne version of the bundle.
MGCBallast<Table>Values (72)Same as its bundleA 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.
MGCBallastAppliedVersionBallast applied versionNoThe version applied for one bundle in one company. Unique per bundle and company.
MGCBallastPublishRunBallast publish runNoOne run of the publish engine.
MGCBallastPublishRunLineBallast publish run lineNoOne table written, or one bundle and company that failed, in a run.
MGCBallastExecutionExceptionBallast execution exceptionNoA failure or a hold the engine raised in a run.
MGCBallastAuditEventBallast audit eventNoOne audit event.
MGCBallastParametersBallast parametersNoThe single row of Ballast's own settings.
MGCBallastChangeReasonBallast change reasonNoOne 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.
MGCBallastBundleApprovalSettingBallast approval settingNoWhether one bundle approves through the approval workflow (ApprovalWorkflow). One row per bundle, created when Ballast parameters opens.
MGCBallastVersionApprovalBallast version approvalYesOne 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.
MGCBallastApprovalDecisionBallast approval decisionNoOne 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.
MGCBallastTmpApprovalSummaryBallast approval summaryNoIn 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:

FieldLabelNotes
NameNameRequired. The key of the version entity, so it is how a version is matched between environments.
DescriptionDescriptionFree text: the reason for the change, a change reference.
StatusStatusDraft, Approved, Withdrawn or Submitted (enum values Draft, Active, Withdrawn and Submitted). Not editable; Approve, Withdraw, Submit and the approval workflow set it.
FromDate, ToDateFrom date, To dateThe window in which the version is effective. A blank From date marks the baseline.
VersionVersionThe version number, assigned by Ballast.
SequenceNumberThe order in which versions were created; it breaks ties between versions with the same From date.
RestoredFromRestored fromThe version a restore cloned.
RestoreReasonRestore reasonWhy the restore was made.
WithdrawReasonWithdrawal reasonWhy the version was withdrawn before it took effect. Set by Withdraw, never editable, up to 255 characters.
ReasonCode, TicketReferenceReason code, Ticket referenceThe reason code (MGCBallastChangeReasonCode, related to MGCBallastChangeReason) and ticket reference (60 characters) of the version's latest submit, rejection, withdrawal or emergency approval. Never editable.
EmergencyApprovalEmergency approvalYes 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​

EnumerationValues (name: label)
StatusDraft: Draft, Active: Approved, Withdrawn: Withdrawn, Submitted: Submitted
Effective stateUnknown, Draft, Scheduled: Planned, Effective: Current, Expired, Superseded: Replaced, Withdrawn: Withdrawn, Submitted: Submitted
Approval statusPending, Approved, Rejected, Canceled
DecisionApproved, Rejected, Canceled, Withdrawn
Run outcomeNoOp: No changes, Success: Success, Partial: Partial, Failed: Failed
Line outcomePending, Success, Skipped, Failed
Exception statusOpen, Retried, Dismissed, Resolved
Event typeDraftEdited: 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
SourceGoverned, Direct, System
Bundle scopeGlobal, 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.

EntitiesPublic collection namesRead or writeData management
A version entity per bundle (13)SystemParametersVersions, CustParametersVersions, VendParametersVersions, LedgerParametersVersions, SrmParametersVersions, InventParametersVersions, SmmParametersVersions, WHSParametersVersions, RetailParametersVersions, ProjParametersVersions, EcoResProductParametersVersions, AssetParametersVersions, ProdParametersVersionsRead 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, registryBallastPublishRuns, BallastPublishRunLines, BallastExecutionExceptions, BallastAppliedVersionsRead onlyNo
Audit trailBallastAuditEventsRead onlyNo
Approval decisionsBallastApprovalDecisionsRead 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. ProdParametersDimValues is keyed by VersionName and InventSiteId (the company row has an empty site), ProdStatusParametersValues by VersionName, InventSiteId, FromProdStatus and ToProdStatus, and ProdTimeUnitOfMeasureValues by VersionName and TimeUnitType, with the unit as UnitOfMeasureSymbol. 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".
  • LegalEntityId is 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 Success and Message. All but getDeploymentInfo's also carry ErrorCode, and return RequestId and CorrelationId as you sent them. A refusal comes back in the response, not as an HTTP error; authentication and authorization failures are still HTTP errors.

Operations​

ServiceOperationDoesPrivilege
MGCBallastVersionServicegetVersionReads a version: its fields, Status and Effective state.View
getEffectiveVersionReads the bundle's current version in the company. NotFound when there is none.View
getVersionValueReads one stored value of a version.View
createVersionCreates a Draft, seeded as on the page.Maintain
updateVersionChanges a Draft's name, description or dates.Maintain
updateVersionValueChanges one stored value of a Draft.Maintain
addVersionValueRow, deleteVersionValueRowAdds or deletes a row of a list table on a Draft.Maintain
restoreVersionClones a version into a new Draft, with a reason.Maintain
deleteVersionDeletes a Draft.Maintain
activateVersionApproves 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
withdrawVersionWithdraws 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
MGCBallastSnapshotServicecompareVersionToLiveLists what differs between a version and the live tables.View
compareVersionsLists what differs between two versions.View
MGCBallastPublishServicepublishNowRuns the publish engine now, for one bundle or for all (None), optionally with Force, and reports the run.Go-live
schedulePublishCreates a batch job that runs the engine once, at or after StartDateTime (UTC; blank means now).Go-live
MGCBallastDeploymentServicegetDeploymentInfoReports the deployed Ballast and licensing module versions, the application and platform versions, the license status and the environment's date. Takes no request.View
MGCBallastMaintenanceServicefindBlankSnapshots, countBatchGlobalDirectChanges, findOrphanSnapshotsReport what the maintenance operations below would act on.View
repairBlankSnapshots, purgeBatchGlobalDirectChanges, purgeOrphanSnapshotsOne-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​

ContractMembers
Version requestRequestId, CorrelationId, Bundle, LegalEntityId, VersionRecId, Name, Description, FromDate, ToDate, Reason
Version responseSuccess, Message, ErrorCode, RequestId, CorrelationId, Bundle, LegalEntityId, VersionRecId, Name, Description, VersionId, Status, EffectiveState, FromDate, ToDate, SequenceNumber, RestoredFromRecId
Value requestRequestId, CorrelationId, Bundle, LegalEntityId, VersionRecId, TableName, RowKey, FieldName, Value
Value responseSuccess, Message, ErrorCode, RequestId, CorrelationId, Bundle, LegalEntityId, VersionRecId, TableName, RowKey, FieldName, Value, PreviousValue
Compare requestRequestId, CorrelationId, Bundle, LegalEntityId, VersionRecId, OtherVersionRecId, MaxDifferences
Compare responseSuccess, Message, ErrorCode, RequestId, CorrelationId, Comparison, TableCount, DifferenceCount, Truncated, Tables (each TableName, VersionRows, ComparedRows, DifferenceCount), Differences (each TableName, RowKey, FieldName, VersionValue, ComparedValue)
Publish requestRequestId, CorrelationId, Bundle, Force, StartDateTime
Publish responseSuccess, Message, ErrorCode, RequestId, CorrelationId, PublishRunRecId, Outcome, LineCount, FailedLineCount, ExceptionCount, BatchJobId, ScheduledDateTime
Deployment informationSuccess, Message, ModelName, ModelVersion, ModelVersionFound, the licensing module's version, ApplicationVersion, ApplicationBuildVersion, PlatformBuildVersion, LicenseStatus, ServerDate
Maintenance requestRequestId, CorrelationId
Maintenance responseSuccess, Message, ErrorCode, RequestId, CorrelationId, Found, Repaired, Unchanged, EventCount, Purged, Rows

Error codes​

ErrorCodeMeans
(blank)The operation succeeded.
ValidationFailedThe 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.
NotFoundThe version does not exist in that company, or the bundle has no current version there.
FeatureDisabledThe bundle's feature is off in Feature management.
ApprovalRequiredactivateVersion was refused because the bundle approves through the approval workflow. Submit the version from its page instead (Approving through a workflow).
LicenseNotValidThe license blocks the operation: activateVersion, restoreVersion, publishNow and schedulePublish are refused in a production environment past its block date. withdrawVersion never returns it.
PublishNotCompletepublishNow ran, but the run's outcome is Partial or Failed. Read its lines and exceptions through BallastPublishRunLines and BallastExecutionExceptions.
FailedThe 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 IDRaised whenHow often
Ballast version publishedMGCBallastVersionPublishedThe 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 endedMGCBallastVersionExpiredThe 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 reminderMGCBallastVersionReminderDueA 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 approvalMGCBallastVersionEmergencyApprovedA 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 detectedMGCBallastDirectChangeDetectedA 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:

EventField (label)Content
Version publishedBundle (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 endedBundle, CompanyAs above.
ExpiredVersionRecId, ExpiredVersionNameThe version whose window ended.
SuccessorVersionRecId, SuccessorVersionNameThe version the engine applied instead. 0 and blank on a hold.
SuccessorApplied (Successor applied)Yes for a revert, No for a hold.
PublishRunRecIdThe run that noticed it.
EventDateTime (Event date and time)When, UTC.
Version reminderBundle, CompanyAs above.
ReminderKindStartingSoon or EndingWithoutSuccessor.
VersionRecId, VersionNameThe version the reminder is about.
ReminderDateIts From date (starting soon) or its To date (ending without a successor).
DaysAheadDays from the run's date to ReminderDate.
EventDateTimeWhen it was raised, UTC.
Emergency approvalBundle, CompanyAs above. Company is the legal entity the version was submitted in.
VersionRecId, VersionNameThe version approved.
ApprovedBy, SubmittedByWho approved it as an emergency, and who submitted it.
ReasonCode, TicketReference, ReasonThe reason code and ticket reference, if any, and the emergency reason.
EventDateTimeWhen it was approved, UTC.
Direct change detectedCoveredTableName (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.

RoleDutyPrivileges
Ballast administratorAdminister BallastMGCBallastVersionView, MGCBallastVersionMaintain, MGCBallastVersionActivate, MGCBallastVersionSubmit, MGCBallastVersionApprovalDecide, MGCBallastVersionEmergencyApprove, MGCBallastPublishNowRun, MGCBallastExecutionExceptionMaintain, MGCBallastAuditRetentionRun, MGCBallastConfigAuditView, MGCBallastParametersMaintain, and the standard BatchJobView
Ballast preparerPrepare Ballast changesMGCBallastVersionView, MGCBallastVersionMaintain, MGCBallastVersionSubmit, MGCBallastConfigAuditView
Ballast approverApprove Ballast changesMGCBallastVersionView, MGCBallastVersionActivate, MGCBallastVersionApprovalDecide, MGCBallastPublishNowRun, MGCBallastExecutionExceptionMaintain, MGCBallastConfigAuditView, BatchJobView
Ballast auditorInquire into Ballast configuration auditMGCBallastConfigAuditView
Ballast integrationOperate Ballast integration servicesMGCBallastIntegrationServiceView, MGCBallastIntegrationServiceMaintain, MGCBallastIntegrationServiceGoLive
Ballast integration (staging)Stage Ballast changes through servicesMGCBallastIntegrationServiceView, MGCBallastIntegrationServiceMaintain

Privileges that no role carries, for you to assign through roles of your own:

  • for each bundle, MGCBallast<Bundle>ParametersVersionEntityView, MGCBallast<Bundle>ParametersVersionEntityMaintain and MGCBallast<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​

DependencyWhat Ballast needs
Finance and OperationsThe 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 moduleShips in the Ballast zip. Deploy it with Ballast and do not change it.
Licensing serviceOutbound access from the environment to the Magicite licensing service, which Ballast calls. Without a verdict Ballast keeps working; see Licensing.
Usage countsOptional. 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.

CounterBroken down byCounted
service:CallService, operation and outcome: Success, the response's ErrorCode (ValidationFailed, NotFound, LicenseNotValid, PublishNotComplete, Failed, FeatureDisabled, ApprovalRequired), or OtherOnce per call of a service operation
version:EventThe step (VersionCreated, Imported, Activated, Restored, Withdrawn, Expired, Submitted, Rejected, SubmissionCanceled, ReminderSent) and the moduleOnce per version created, imported, approved, restored, withdrawn or expired, submitted, rejected, canceled or reminded about, however it happened
approval:EmergencyModuleOnce per emergency approval, which also counts as an approval
version:ComparedModuleOnce per comparison, on the page or through the snapshot service
publish:RunHow it started (Manual or Batch) and its outcome, or LicenseNotValid when refusedOnce per publish run
license:BlockedThe refused action: approve, restore, Publish now, submit, resubmit or emergency approve, or OtherOnce 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:

StateBroken down byValue
state:VersionsModule and version status (Draft, Active, Withdrawn, Submitted)How many versions there are
state:AppliedVersionsModuleHow many companies run a published version of it
state:BundleEnabledModule1 when its feature is on in Feature management, else 0
state:ApprovalWorkflowModule1 when its versions are approved through a workflow, else 0
state:ReasonCodesAction (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​

DecisionWhyWhat 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, BallastAuditEvents and BallastApprovalDecisions over OData, or subscribe to the business events. Correlate a service call with what it caused through CorrelationId, which the audit events carry, and a decision with its audit event through AuditEvent.
  • 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 getDeploymentInfo to wait until an environment reports the Ballast version you deployed before you run tests against it. ModelVersion is 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.