CostBook

Represents the cost book that contains multiple cost book entries. This object is available in API version 61.0 and later.

Supported Calls 

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

Fields 

EffectiveFrom 

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

EffectiveTo 

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

IsDefault 

  • Type: boolean
  • Properties: Create, Defaulted on create, Filter, Group, Sort, Update
  • Description: Indicates whether the cost book is default (true) or not (false).

The default value is true.

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: Create, Filter, Group, idLookup, Sort, Update
  • Description: Name of the cost book.

OwnerId 

  • Type: reference
  • Properties: Create, Defaulted on create, Filter, Group, Sort, Update
  • Description: ID of the user who created the record.

This field is a polymorphic relationship field.

  • Relationship Name: Owner
  • Relationship Type: Lookup
  • Refers To: Group, User

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.

CostBookFeed: Feed tracking is available for the object.

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

CostBookShare: Sharing is available for the object.