MGCWardenSimulationRun
One simulation of a policy version against a window of its own family's documents: purchase orders created in the window for a guard control policy (planned purchase orders due to be ordered in it for a planned-order firming policy), inventory journals posted in it for a journal governance policy, and trade agreement price journals posted in it for a price guard policy. How many it would have blocked, routed or logged, how many another policy outranks or ties with, and the basis of the run, which says what the simulation models and what it does not. Written when a user selects Simulate on the policy's page; shown on Policy simulation results. Guard control runs are exposed as WardenGuardPolicySimulationRuns.
Fields
| Name | Type | Mandatory | Description |
|---|---|---|---|
Policy | RefRecId | Yes | |
PolicyFamily | MGCWardenPolicyFamily | No | The family of the policy simulated, which says whose table Policy refers to. Runs made before journal and price guard policies could be simulated are guard control runs. |
PolicyVersion | MGCWardenPolicyVersionNum | No | Effective-dated policy version number; read-only counter incremented by New version. |
WindowFrom | TransDate | No | |
WindowTo | TransDate | No | |
DocumentsEvaluated | int | No | |
RoutedCount | int | No | Documents whose edits would have stood but placed a governance hold and routed for approval. The user is delayed, not refused. For a planned-order firming policy, the planned purchase orders whose purchase order firming would hold and route for approval. For a journal or price guard policy, the journals that would be held for a review or an approval before posting. |
LoggedCount | int | No | Documents in scope whose changes would only have been logged, with no gate: log-only posture, or a matrix with nothing classified above Log only. For a price guard policy, journals with a breach under an Annotate posture; always zero for a journal policy. |
BlockedCount | int | No | Documents with a Block-class field in this policy's matrix under blocking posture: the save is refused, with no hold and no approval path. For a journal policy, journals missing a mandatory attachment; for a price guard policy, a breach under a Block posture. Routed documents are counted separately. |
OutrankedCount | int | No | Documents in this version's scope that another policy's version in force would govern instead (a more specific scope, or a lower priority number at equal specificity). Not counted as blocked, routed or logged; ties are counted separately. |
TiedCount | int | No | Documents in scope where this version and another policy tie on specificity and priority, so database order would decide which governs. Counted on their own; Submit for activation refuses a version that ties. |
ResolvedOn | TransDate | No | The day whose policies this version was resolved against: its Effective from date, or the run date if that is blank or past. Versions in force or queued for that day compete; ones ended by then do not. |
TieRefusal | Notes | No | Blank unless this version ties with another policy's Active version: then it states the refusal Submit for activation would give, naming that version and the shared scope. It covers the whole version, not just orders in the window. |
CoverageNote | Notes | No | What the counts mean and what the simulation cannot decide yet, written by the run so nobody reads a figure as more than it is. |