Newer Version Available

This content describes an older version of this product. View Latest

cgcloud__Inventory__c

Stores the details of the inventory object. This object is available in API version 54.0 and later.

Supported Calls

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

Fields

Field Details
LastReferencedDate
Type
dateTime
Properties
Filter, Nillable, Sort
Description
Most recent date on which a user referenced this record.
LastViewedDate
Type
dateTime
Properties
Filter, Nillable, Sort
Description
Most recent date on which a user viewed this record.
Name
Type
string
Properties
Autonumber, Defaulted on create, Filter, idLookup, Sort
Description
Unique identification of the record.
OwnerId
Type
reference
Properties
Create, Defaulted on create, Filter, Group, Sort, Update
Description
ID of the record owner.
This is a polymorphic relationship field.
Relationship Name
Owner
Relationship Type
Lookup
Refers To
Group, User
RecordTypeId
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Stores the Record Type.
This is a relationship field.
Relationship Name
RecordType
Relationship Type
Lookup
Refers To
RecordType
cgcloud__Account__c
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Reference to the account.
This is a relationship field.
Relationship Name
cgcloud__Account__r
Relationship Type
Lookup
Refers To
Account
cgcloud__Balance__c
Type
double
Properties
Filter, Nillable, Sort
Description
Balance of the inventory.
This is a calculated field.
cgcloud__Currency__c
Type
picklist
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Relevant currency of the inventory.
Possible values are:
  • CAD
  • CHF
  • EUR
  • GBP
  • JPY
  • NOK
  • RUB
  • USD
cgcloud__Description_Language_1__c
Type
string
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Stores the description of language 1.
cgcloud__Description_Language_2__c
Type
string
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Stores the description of language 2.
cgcloud__Description_Language_3__c
Type
string
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Stores the description of language 3.
cgcloud__Description_Language_4__c
Type
string
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Stores the description of language 4.
cgcloud__Description__c
Type
string
Properties
Filter, Nillable, Sort
Description
Description based on the user-specified language.
This is a calculated field.
Formula
1CASE($User.cgcloud__Language_Postfix__c,
2"Language1", cgcloud__Description_Language_1__c,
3"Language2", BLANKVALUE(cgcloud__Description_Language_2__c,cgcloud__Description_Language_1__c),
4"Language3", BLANKVALUE(cgcloud__Description_Language_3__c,cgcloud__Description_Language_1__c),
5"Language4", BLANKVALUE(cgcloud__Description_Language_4__c,cgcloud__Description_Language_1__c),
6cgcloud__Description_Language_1__c)
cgcloud__Initial_Inventory__c
Type
double
Properties
Create, Filter, Nillable, Sort, Update
Description
Attribute that controls whether the system automatically creates an initial transaction for this inventory.
cgcloud__Invalid__c
Type
boolean
Properties
Create, Defaulted on create, Filter, Group, Sort, Update
Description
Determines whether the Inventory is valid.
The default value is false.
cgcloud__Inventory_Control_Measure__c
Type
string
Properties
Filter, Nillable, Sort
Description
Inventory control measure of the inventory control template.
This is a calculated field.
Formula
1TEXT(cgcloud__Inventory_Template__r.cgcloud__Inventory_Control_Measure__c)
cgcloud__Inventory_Template__c
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Reference to the inventory control template.
This is a relationship field.
Relationship Name
cgcloud__Inventory_Template__r
Relationship Type
Lookup
Refers To
cgcloud__Inventory_Control_Template__c
cgcloud__Phase__c
Type
picklist
Properties
Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update
Description
Specifies the phase of the inventory.
Possible values are:
  • Active
  • Closed
The default value is Active.
cgcloud__Product__c
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Reference to the product.
This is a relationship field.
Relationship Name
cgcloud__Product__r
Relationship Type
Lookup
Refers To
Product2
cgcloud__Quota_Type__c
Type
string
Properties
Filter, Nillable, Sort
Description
Quote type of the inventory control template.
This is a calculated field.
Formula
1TEXT(cgcloud__Inventory_Template__r.cgcloud__Quota_Type__c)
cgcloud__Sales_Org__c
Type
picklist
Properties
Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
Description
Sales org of the template.
Possible values are:
  • 0000
  • 0001
  • 0002
  • 0003
cgcloud__Tour__c
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Reference to the tour.
This is a relationship field.
Relationship Name
cgcloud__Tour__r
Relationship Type
Lookup
Refers To
cgcloud__Tour__c
cgcloud__User__c
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Reference to the user.
This is a relationship field.
Relationship Name
cgcloud__User__r
Relationship Type
Lookup
Refers To
User
cgcloud__Valid_From__c
Type
date
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Inventory valid from date.
cgcloud__Valid_Thru__c
Type
date
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Inventory valid thru date.
cgcloud__Vehicle__c
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Reference to the vehicle.
This is a relationship field.
Relationship Name
cgcloud__Vehicle__r
Relationship Type
Lookup
Refers To
cgcloud__Vehicle__c

Associated Objects

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

cgcloud__Inventory__cChangeEvent
Change events are available for the object.
cgcloud__Inventory__cFeed
Feed tracking is available for the object.
cgcloud__Inventory__cHistory
History is available for the tracked fields of the object.
cgcloud__Inventory__cOwnerSharingRule
Sharing rules are available for the object.
cgcloud__Inventory__cShare
Sharing is available for the object.