MGCWardenSalesGovSweepRun
One run of the Sales governance policy sweep, which re-evaluates sales orders and quotations against the active sales governance policies: its scope (policy set, customer filter, document cap), status, and how many documents it examined, routed, found compliant, skipped and failed. Per company, shown on the Sales governance sweep runs page. Exposed as WardenSalesGovernanceSweepRuns.
Fields
| Name | Type | Mandatory | Description |
|---|---|---|---|
RunId | str | Yes | |
StartedDateTime | TransDateTime | No | |
EndedDateTime | TransDateTime | No | |
Status | MGCWardenSweepRunStatus | No | |
PolicySignature | str | No | Fingerprint of the active, effective sales governance policy set this run evaluated against. Documents stamped with this value were already decided under the policy in force and were out of scope. |
CustomerFilter | CustAccount | No | Blank = every customer. A filter narrows the run's scope and is stated on the run so a narrow run is never mistaken for a full one. |
MaxDocuments | int | No | Ceiling on documents examined in one run. Reaching it makes the run Partial, never a silent truncation. |
IncludedUnstamped | NoYes | No | Whether this run treated documents whose verdict has no policy fingerprint (it predates policy stamping) as stale and re-evaluated them. |
DocumentsExamined | int | No | |
DocumentsRouted | int | No | Documents that breached under the current policy and were held and routed for approval by this run. |
DocumentsCompliant | int | No | Documents re-evaluated under the current policy and found compliant. Recorded because "examined and clean" is the assertion the sweep exists to support. |
DocumentsSkippedHeld | int | No | Stale documents already carrying a Warden hold. They are skipped before the cap is charged and are left unstamped, so a later run examines them once the hold is resolved. |
DocumentsFailed | int | No | |
ParameterSnapshot | Notes | No | Run parameters recorded verbatim so the run's scope is reproducible. |
OutputSummary | Notes | No |