--- alias: resourcereplenishmentcontext-st description: "Defines replenishment contexts with associated fields for inventory management and ordering" --- # ResourceReplenishmentContext ## Description Used to define Resource Replenishment Context. ## Fields The **ResourceReplenishmentContext** table has the following fields: | Field | Description | Key | Mandatory | Comments | | --- | ----- | -- | -- | ---- | | **Area** | Area where this replenishment context applies | Yes | No | | | **Resource** | Resource where this replenishment context applies | Yes | No | | | **ResourceType** | ResourceType where this replenishment context applies | Yes | No | not to be confused with the *Type* property of the **Resource** | | **Model** | ResourceModel where this replenishment context applies | Yes | No | | | **Product** | Product where this replenishment context applies | Yes | No | | | **ProductGroup** | ProductGroup where this replenishment context applies | Yes | No | | | **TargetInventory** | The planned target inventory. If defined | No | No | | | **ReorderMode** | Defines the reorder mode | No | Yes |Automatic or Manual| | **ReorderPoint** | Threshold that if reached will trigger a material reorder | No | Yes | | | **ReorderQuantity** | Quantity to be reordered if the reorder point is reached | No | Yes | | | **Units** | Units which apply to the reorder point and reorder quantity | No | Yes | | Table: ResourceReplenishmentContext fields !!! info Even though **Resource**, *Resource Type* and *Model* are listed as optional, one of them and only one of them must be defined for each data collection context row. !!! info There can be multiple **Replenishments** per context, but it is not possible to duplicate the same **Replenishment** for the same context. ## Precedence Keys The search precedence rules are the following: 1. Resource, Product 2. Resource, ProductGroup 3. ResourceType, Product 4. ResourceType, ProductGroup 5. Model, Product 6. Model, ProductGroup 7. Area, Product 8. Area, ProductGroup 9. Resource 10. ResourceType 11. Model 12. Area