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

Field Details
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.
Possible values are:
  • ProductRequest—Product Request
The default value is ProductRequest.
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
Possible values are:
  • ProductFulfillmentLocation—Product Fulfillment Location
  • ReplenishmentSourceLocation—Replenishment Source Location
The default value is ReplenishmentSourceLocation.
Status
Type
picklist
Properties
Create, Defaulted on create, Filter, Group, Restricted picklist, Sort, Update
Description
Specifies the status of the inventory replenishment policy.
Possible values are:
  • Active
  • Draft
  • Inactive
The default value is Draft.