CostBookEntry

Represents the total cost of a product or service that’s determined based on various factors that affect a product’s price. For example, when a product is manufactured, the weight of the raw material can be a cost factor based on the amount of material required and its shipping cost. This object is available in API version 61.0 and later.

Where possible, we changed noninclusive terms to align with our company value of Equality. We maintained certain terms to avoid any effect on customer implementations.

Important

Supported Calls 

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

Fields 

Cost 

  • Type: currency
  • Properties: Create, Filter, Sort, Update
  • Description: Total cost of the product.

CostBookId 

  • Type: reference
  • Properties: Create, Filter, Group, Sort
  • Description: ID of the Cost Book record with which this record is associated.

This field is a relationship field.

  • Relationship Name: CostBook
  • Relationship Type: Master-detail
  • Refers To: CostBook (the master object)

CurrencyIsoCode 

  • Type: picklist
  • Properties: Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update
  • Description: ISO code for any currency allowed by the organization. Available only for organizations with the multicurrency feature enabled. Valid values are BHD—Bahraini Dinar, JPY—Japanese Yen, or USD—U.S. Dollar.

The default value is USD.

Description 

  • Type: textarea
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: Description of this cost book entry record.

EffectiveFrom 

  • Type: dateTime
  • Properties: Create, Filter, Sort, Update
  • Description: Date and time when the cost book entry comes into effect.

EffectiveTo 

  • Type: dateTime
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: Date and time till when the cost book entry is no longer in effect.

LastReferencedDate 

  • Type: dateTime
  • Properties: Filter, Nillable, Sort
  • Description: Timestamp for when the current user last referred to this record.

LastViewedDate 

  • Type: dateTime
  • Properties: Filter, Nillable, Sort
  • Description: Timestamp for when the current user last viewed a record related to this record.

Name 

  • Type: string
  • Properties: Autonumber, Defaulted on create, Filter, idLookup, Sort
  • Description: Name of the cost book entry.

ProductId 

  • Type: reference
  • Properties: Create, Filter, Group, Sort
  • Description: Required. ID of the Product2 record with which this record is associated. This field must be specified when creating Product2 records. This field can’t be changed in an update.

This field is a relationship field.

  • Relationship Name: Product
  • Relationship Type: Lookup
  • Refers To: Product2

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.

CostBookEntryFeed: Feed tracking is available for the object.

CostBookEntryHistory: History is available for tracked fields of the object.