AlmondTill/G3N API

ReplenishmentConfig

object type

A replenishment config — ONE cell of the multi-axis planning parameter matrix: a set of AXES naming a scope (absent = all — the sparse matrix; Location = organizationId XOR logicalFacilityId · Merchandise = categoryId XOR styleId · seasonId · brandId, each SINGULAR) + a SPARSE block of parameters (at least one — the substance rule). Group-scoped like a Brand (parent = the org group). The AXES are the cell identity — IMMUTABLE at birth (re-target = create + doom); parameter VALUES stay editable (nothing clears — removing a parameter = doom + create). the collision rule: an ACTIVE sibling with the SAME normalized axis tuple AND an intersecting SET-parameter set refuses CONFLICT/IDENTITY_TAKEN naming the holder + the intersecting parameters (same-tuple DISJOINT-parameter cells are legal — per-parameter semantics; an inactive cell neither resolves nor collides, so REACTIVATE re-runs the gate). Specificity (the.2 per-parameter resolution): count of set axes, then the locked axis order Location > Merchandise > Season > Brand. A NON-doomed cell blocks its axis targets dooms (LF/Organization/Category/Style/Season/Brand); deactivate stays FREE.

Fields

FieldTypeNotes
idID ID!The record’s id — a UUID the platform assigned when the record was created; every reference to this record uses it.
sysIdString String!The group-scoped human-facing system id (RP-…).
typeString String!The kind of record — always ReplenishmentConfig here.
captionString String!The record’s display name — what people see it called.
statusString String!The FSM state: active | inactive | doomed.
parentIdID ID!The parent org group; for a ReplenishmentConfig parentId === rootId.
rootIdID ID!The org-group family root.
createdAtString String!When the record was created, as a UTC timestamp.
updatedAtString String!When the record last changed, as a UTC timestamp.
revisionNumInt Int!How many times this record has been edited; the first save is 0.
revisionID ID!The OCC revision token — supply it on every mutation of this record; rotates on every write.
refCaptionsRefCaption [RefCaption!]!The server-composed captions of this record's declared references (the referenced-caption rule) — one row per referenced id; see RefCaption.
organizationIdIDThe Location axis, org level (XOR logicalFacilityId; absent = group-wide). IMMUTABLE at birth.
logicalFacilityIdIDThe Location axis, LF level (XOR organizationId). IMMUTABLE at birth.
categoryIdIDThe Merchandise axis, category level (XOR styleId; matches the subtree). IMMUTABLE at birth.
styleIdIDThe Merchandise axis, style level (XOR categoryId; outranks ANY category depth). IMMUTABLE at birth.
seasonIdIDThe Season axis (absent = all seasons). IMMUTABLE at birth.
brandIdIDThe Brand axis (absent = all brands). IMMUTABLE at birth.
replenishEnabledBooleanThe master switch for the.2 replenishment suggester over this scope. Editable.
minUnitsStringThe band floor (stock units, the 12-digit/4-dp quantity grammar); minUnits must not exceed maxUnits. Editable.
maxUnitsStringThe band ceiling (stock units). Editable.
daysOfSupplyTargetIntVelocity-consuming days-of-supply target (1..3650 — the velocity boundary is disclosed in provenance, -i). Editable.
safetyStockUnitsStringFIXED safety stock (stock units) — a service-level METHOD is the named registry-extensible successor. Editable.
reorderMultipleUnitsStringThe FORCE reorder-multiple override (stock units, strictly positive) — DEFAULT = the pack/MOQ derivation. Editable.
reviewCadenceDaysIntReview cadence (1..3650) — a PARAMETER consumed by derived reads; nothing fires by itself. Editable.
abcClassOverrideAbcClassPin this scope to an ABC class regardless of the computed cut lines. Editable.
buyVsTransferReplenishmentBuyVsTransferThe buy-vs-transfer-and-backfill thresholds. Editable.
reserveFloorUnitsStringStock a donor NEVER gives up (stock units) — the genuine-excess floor. Editable.
transferableExcessBooleanMay this scope DONATE excess at all. Editable.
allocationWeightIntThe fair-share weight for the.2 allocation suggester (1..10000). Editable.

Used by