MGCLatticeInboundOrderPolicyParameters
Singleton parameters controlling the inbound order guardrail policy: master switch, price tolerance, hold reason, auto-confirm, and post-confirmation edit-lock window.
Fields
| Name | Type | Mandatory | Description |
|---|---|---|---|
ParmKey | ParametersKey | No | Internal key used to keep a single parameters row per legal entity. |
PolicyEnabled | NoYes | No | Master switch for the inbound order guardrail policy. |
PriceTolerancePercent | Percent | No | Maximum allowed percentage deviation of an inbound line price from the item base sales price before the order is held. |
PriceHoldReason | MGCLatticeHoldReason | No | Optional fixed reason recorded on the inbound order policy hold when an order breaches the price tolerance. Leave blank to record which line breached instead (line, item, price and base price). |
PriceHoldCode | MCRHoldCode | No | Standard order hold code placed on an order whose price exceeds the tolerance. The order is held until the hold is cleared through the standard Order holds process. Leave blank to only flag the order for review without holding it. |
AutoConfirmEnabled | NoYes | No | When enabled, the evaluation batch confirms policy-eligible orders that were not held. |
EditLockMinutes | Minutes | No | Minutes after confirmation during which order lines cannot be edited or deleted. Zero disables the lock. |