Skip to main content

MGCWardenCountPolicyEntity

Count governance policy versions, keyed by policy code and version, for export and import between environments. An import cannot activate a version or submit it for activation: import it as Draft and submit it through the count policy activation workflow. A recount loop cap above 100 is refused; zero uses the count parameters default.

  • Public collection name: WardenCountPolicies
  • Primary key: PolicyCode, PolicyVersion

Fields​

NameTypeMandatoryDescription
PolicyCodeMGCWardenPolicyCodeYesGuard control policy identifier. One active version per policy code.
PolicyVersionMGCWardenPolicyVersionNumNoEffective-dated policy version number; read-only counter incremented by New version.
DescriptionDescription255No
WarehouseSelectorMGCWardenScopeSelectorNoHow the policy picks warehouses: Table means the one warehouse in Warehouse selection, All means every warehouse. Group is not supported for warehouses and matches nothing, so the policy governs no counts; it is listed on Setup gaps.
WarehouseValuestrNoWarehouse (Table); blank for All. Not read when the selector is Group, which matches no warehouse.
ItemSelectorMGCWardenScopeSelectorNo
ItemValuestrNoItem number (Table) or item group (Group); blank for All.
StatusMGCWardenPolicyStatusNo
EffectiveFromTransDateNoFirst day this version governs (blank: the day its activation is approved); it must be on or before Effective to, or the version is refused, and it is frozen once the version is pending activation.
EffectiveToTransDateNoLast day this version governs, inclusive (blank: no end date); it must be on or after Effective from, or the version is refused. Frozen once pending activation; then only Warden moves it, when a later version takes over.
AutoAcceptQtyrealNoLargest quantity difference that needs no review. With Strict review on, a count outside this band or Auto-accept value is held for review on the device, and zero sends every difference to review; with it off, the bands change nothing.
AutoAcceptValueAmountMSTNoLargest value difference, in accounting currency, that needs no review. With Strict review on, a count outside this band or Auto-accept quantity is held for review on the device; with it off, the bands change nothing.
RecountDifferentWorkerNoYesNoWhen Yes, a recount must be done by a different worker than the one who did the original count; Different-worker enforcement decides whether a breach is refused or only logged.
RecountEnforcementMGCWardenRecountEnforcementNoHow the different-worker rule is applied when a recount is taken on the device: Strict refuses the same worker, Advisory allows it and logs the breach. Advisory is the default.
RecountLoopCapintNoRecounts allowed on one discrepancy before the case escalates instead of recounting again. From 0 to 100; zero does not mean unlimited, it means the default recount loop cap on Count parameters applies.
StrictReviewNoYesNoWhen Yes, a count outside the auto-accept bands is held for native review on the device instead of being accepted under the counter's own count limits. Off by default; work users flagged as count supervisors bypass it.
MissingLocationstrNoLocation that unexplained shortages are moved to by transfer journal, as quarantine, instead of being written off at once. Blank means no quarantine move is made and an execution exception is logged.
QuarantineJournalNamestrNoTransfer journal name used to move stock to the MISSING location. Blank uses the first transfer journal name by journal name ID; a named journal that is missing or not a transfer journal stops the move.
MissingSlaDaysintNoDays quarantined stock may stay in the MISSING location before it moves to the write-off queue and alerts; zero means no grace period. A change affects only later quarantines; new policies start at 14.
ConsolidationWindowHoursintNoWindow length for grouping accepted adjustments, one counting journal per warehouse per window: 1 to 23 splits the day into blocks of that many hours, from midnight UTC; zero, or 24 and above, means one window per day.
ConsolidationJournalNamestrNoCounting journal name used for the consolidation journals. Blank, or a name that is not a counting journal, makes consolidation fail for the window and is listed on Setup gaps.
ConsolidationAutoPostNoYesNoWhen Yes, consolidation counting journals post automatically; when No (the default) they wait for native approval and posting. A failed automatic post leaves the journal for native posting.
ESignaturePerStageNoYesNoWhen Yes, every reviewer disposition of a count case (accept, recount, quarantine, write-off, return to stock) needs a native electronic signature. If e-signature setup is missing it proceeds unsigned as a control outage; changeable only on a draft version.
ESignatureOnActivationNoYesNoWhen Yes, activating a version of this policy needs a native electronic signature (count dispositions are not affected). Changeable only on a draft version; submit for activation is refused while the activation workflow would approve it by escalation.

Mappings​

Entity fieldData sourceField
PolicyCodeMGCWardenCountPolicyPolicyCode
PolicyVersionMGCWardenCountPolicyPolicyVersion
DescriptionMGCWardenCountPolicyDescription
WarehouseSelectorMGCWardenCountPolicyWarehouseSelector
WarehouseValueMGCWardenCountPolicyWarehouseValue
ItemSelectorMGCWardenCountPolicyItemSelector
ItemValueMGCWardenCountPolicyItemValue
StatusMGCWardenCountPolicyStatus
EffectiveFromMGCWardenCountPolicyEffectiveFrom
EffectiveToMGCWardenCountPolicyEffectiveTo
AutoAcceptQtyMGCWardenCountPolicyAutoAcceptQty
AutoAcceptValueMGCWardenCountPolicyAutoAcceptValue
RecountDifferentWorkerMGCWardenCountPolicyRecountDifferentWorker
RecountEnforcementMGCWardenCountPolicyRecountEnforcement
RecountLoopCapMGCWardenCountPolicyRecountLoopCap
StrictReviewMGCWardenCountPolicyStrictReview
MissingLocationMGCWardenCountPolicyMissingLocation
QuarantineJournalNameMGCWardenCountPolicyQuarantineJournalName
MissingSlaDaysMGCWardenCountPolicyMissingSlaDays
ConsolidationWindowHoursMGCWardenCountPolicyConsolidationWindowHours
ConsolidationJournalNameMGCWardenCountPolicyConsolidationJournalName
ConsolidationAutoPostMGCWardenCountPolicyConsolidationAutoPost
ESignaturePerStageMGCWardenCountPolicyESignaturePerStage
ESignatureOnActivationMGCWardenCountPolicyESignatureOnActivation