TerritoryProdtQtyAllocation

Represents the quantity allocation of a product to a given territory so that the system validates against the remaining quantity or maximum disbursement limit. This object is available in API version 65.0 and later.

Supported Calls

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

Fields

Field Details
AdjustmentQuantity
Type
double
Properties
Create, Filter, Nillable, Sort, Update
Description
Adjustment quantity to the allocated quantity.
AllocatedQuantity
Type
double
Properties
Create, Filter, Sort, Update
Description
Required. Allocated quantity to the territory.
AllocationType
Type
picklist
Properties
Create, Defaulted on create, Filter, Group, Restricted picklist, Sort, Update
Description
Required. Type of allocation.
Possible values are:
  • Drop
  • Ship
DebitedQuantity
Type
double
Properties
Create, Filter, Nillable, Sort, Update
Description
Debited quantity for the territory.
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.

MaxDisbursementLimitQty
Type
double
Properties
Create, Filter, Nillable, Sort, Update
Description
Maximum disbursement quantity for a given transaction.
Name
Type
string
Properties
Autonumber, Defaulted on create, Filter, idLookup, Sort
Description
Required. Name of territory product quantity allocation record.
OwnerId
Type
reference
Properties
Create, Defaulted on create, Filter, Group, Sort, Update
Description
ID of the owner or creator of this object.
This field is a polymorphic relationship field.
Relationship Name
Owner
Refers To
Group, User
ProductId
Type
reference
Properties
Create, Filter, Group, Sort, Update
Description
Required. Product allocated to a territory.
This field is a relationship field.
Relationship Name
Product
Refers To
Product2
RemainingQuantity
Type
double
Properties
Filter, Nillable, Sort
Description
Remaining quantity for the territory.
This field is a calculated field.
TerritoryId
Type
reference
Properties
Create, Filter, Group, Sort, Update
Description
Required. Territory to which the product quantity is allocated.
This field is a relationship field.
Relationship Name
Territory
Refers To
Territory2
TimePeriodId
Type
reference
Properties
Create, Filter, Group, Sort, Update
Description
Effective period for the allocation.
This field is a relationship field.
Relationship Name
TimePeriod
Refers To
TimePeriod