---
schema_version: "1"
id: 077253870f3e604d91e295933c3ce2cf94e9e18e24adb32d4cdec6afbafc04da
title: InventoryReplenishmentPolicy
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/mfg_api_devguide/sforce_api_objects_inventoryreplenishmentpolicy.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.mfg_api_devguide.meta/mfg_api_devguide/sforce_api_objects_inventoryreplenishmentpolicy.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 7b42d625fd0ef9be28316c5a6fdecc8efa65a4eef8343c9067fb97743cea419e
description: Represents a policy for replenishing inventory when the inventory quantity reaches a minimum level. This object is available in API version 63.0 and later.
---
# InventoryReplenishmentPolicy

Represents a policy for replenishing inventory when the inventory quantity reaches a minimum level. This object is available in API version 63.0 and later.

## Supported Calls

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()

## Special Access Rules

Inventory Replenishment must be enabled.

## Fields

### Description

- **Type**: textarea
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: The description of the inventory replenishment policy.

### EffectiveEndDate

- **Type**: date
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The date the inventory replenishment policy is no longer effective.

### EffectiveStartDate

- **Type**: date
- **Properties**: Create, Filter, Group, Sort, Update
- **Description**: The date on which the inventory replenishment policy becomes effective.

### LastReferencedDate

- **Type**: dateTime
- **Properties**: Filter, Nillable, Sort
- **Description**: The timestamp when the current user last accessed this record indirectly, for example, through a list view or related record.

### LastViewedDate

- **Type**: dateTime
- **Properties**: Filter, Nillable, Sort
- **Description**: The timestamp when the current user last viewed this record or list view. If this value is null, and LastReferenceDate is not null, the user accessed this record or list view indirectly.

### LocationReferenceRecordId

- **Type**: reference
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The location associated with the inventory replenishment policy.
    
    This field is a polymorphic relationship field.
- **Relationship Name**: LocationReferenceRecord
- **Refers To**: Location

### MaximumInventoryQuantity

- **Type**: double
- **Properties**: Create, Filter, Sort, Update
- **Description**: The maximum quantity for the inventory.

### MinimumInventoryQuantity

- **Type**: double
- **Properties**: Create, Filter, Sort, Update
- **Description**: The minimum quantity of the inventory at which the inventory is replenished.

### Name

- **Type**: string
- **Properties**: Create, Filter, Group, idLookup, Sort, Update
- **Description**: The name of the inventory replenishment policy.

### OwnerId

- **Type**: reference
- **Properties**: Create, Defaulted on create, Filter, Group, Sort, Update
- **Description**: ID of the owner of this object.
    
    This field is a polymorphic relationship field.
- **Relationship Name**: Owner
- **Refers To**: Group, User

### ProductReferenceRecordId

- **Type**: reference
- **Properties**: Create, Filter, Group, Sort, Update
- **Description**: The product or the product classification associated with the inventory replenishment policy.
    
    This field is a polymorphic relationship field.
- **Relationship Name**: ProductReferenceRecord
- **Refers To**: Product2, ProductCategory

### ReplenishmentAction

- **Type**: picklist
- **Properties**: Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- **Description**: Specifies the action taken to replenish inventory.
- **Default value**: ProductRequest
- **Possible values**:
    - ProductRequest—Product Request

### ReplenishmentQuantityFormula

- **Type**: textarea
- **Properties**: Create, Filter, Sort, Update
- **Description**: The formula to calculate the replenishment quantity. For example, MaximumQuantity - ProductItem.QuantityOnHand.

### ReplenishmentSourceLocationId

- **Type**: reference
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The location from which the product is replenished.
    
    This field is a relationship field.
- **Relationship Name**: ReplenishmentSourceLocation
- **Refers To**: Location

### ReplenishmentSrcLocCriterion

- **Type**: picklist
- **Properties**: Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- **Description**: Specifies the criterion of determining the replenishment source location
- **Default value**: ReplenishmentSourceLocation
- **Possible values**:
    - ProductFulfillmentLocation—Product Fulfillment Location
    - ReplenishmentSourceLocation—Replenishment Source Location

### Status

- **Type**: picklist
- **Properties**: Create, Defaulted on create, Filter, Group, Restricted picklist, Sort, Update
- **Description**: Specifies the status of the inventory replenishment policy.
- **Default value**: Draft
- **Possible values**:
    - Active
    - Draft
    - Inactive

## Associated Objects

This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version and later.

**[InventoryReplenishmentPolicyHistory](https://developer.salesforce.com/docs/atlas.en-us.mfg_api_devguide.meta/mfg_api_devguide/sforce_api_associated_objects_history.htm "StandardObjectNameHistory is the model for all history objects associated with standard objects. These objects represent the history of changes to the values in the fields of a standard object."):** History is available for tracked fields of the object.

**[InventoryReplenishmentPolicyOwnerSharingRule](https://developer.salesforce.com/docs/atlas.en-us.mfg_api_devguide.meta/mfg_api_devguide/sforce_api_associated_objects_ownersharingrule.htm "StandardObjectNameOwnerSharingRule is the model for all owner sharing rule objects associated with standard objects. These objects represent a rule for sharing a standard object with users other than the owner."):** Sharing rules are available for the object.

**[InventoryReplenishmentPolicyShare](https://developer.salesforce.com/docs/atlas.en-us.mfg_api_devguide.meta/mfg_api_devguide/sforce_api_associated_objects_share.htm "StandardObjectNameShare is the model for all share objects associated with standard objects. These objects represent a sharing entry on the standard object."):** Sharing is available for the object.